question

Upvotes
Accepted
21 0 2 5

RFA WIndows event log description cab't be found

We have Windows event logging enabled for our application build on RFA 8 C++ libraries but all entries in the Windows event log have the same error message e.g.

"The description for Event ID 10105 from source RSSL_Adapter cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer."

The Windows registry values for this component are
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\CLS_RFA_GW1\Logger\ComponentLoggers\RSSL_Adapter messageFile = RFA8_RSSL_Adapter
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\RSSL_Adapter EventMessageFile = RFA8_RSSL_Adapter120.dll

RFA8_RSSL_Adapter120.dll is installed in our applicaiton distribution directory

Is this correct? The error above suggests the Windows Event log can't locate the RSSL_Adapter dll RFA8_RSSL_Adapter120.dll.

Please advise if our configuration is correct or other investigation to determine why the description for the event ID can't be found.

treprfarfa-apiwindows-os
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@mike.ford,

Please be informed that the question has been moved to TREP APIs/RFA forum.

Hello @mike.ford

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,


AHS

@mike.ford

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
7.6k 15 6 9

@mike.ford

Below is an additional information about the logger setting provided by RFA C++ development team.

For setting up Windows Event Logs for RFA8 RSSL OMM Consumer, the following registry entries need to be in place considering that the Visual Studio 2017 DLLs are present in ‘C:\Release’ directory as an example.


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Connections]

"messageFile"="C:\Release\RFA8_Connections150_x64.dll"


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\SessionCore]

"messageFile"="C:\Release\RFA8_SessionLayer150_x64.dll"


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Adapter]

"messageFile"="C:\Release\RFA8_RSSL_Adapter150_x64.dll"


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Cons_Adapter]

"messageFile"="C:\Release\RFA8_RSSL_Cons_Adapter150_x64.dll"


For setting up Windows Event Logs for RFA8 RSSL OMM Provider, add the following entry.


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Prov_Adapter]

"messageFile"="C:\Release\RFA8_RSSL_Prov_Adapter150_x64.dll"


If in case of using a static version of RFA libraries, please add the following entry.


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Static]

"messageFile"=" C:\Release\RFA8_MsgFile150_x64.dll"


The following registry entry is not required to be added.


[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Adapter]

"messageFile"="RFA8_Adapter"


Hence, the component RFA8_Adapter has to be removed and the component RFA8_RSSL_Adapter has to be added to table 13 of RFA Configuration Guide. Also, the references of RFA7 has to be replaced with RFA8 in the document. Moreover, for the components like SessionCore and Connections, any one of the DLLs [RFA8_Connections150_x64.dll/ RFA8_Connections_OMM150_x64.dll] can be used as both of those libraries are expected to support Windows Event Logs.


They will update the document and hope this can help.



icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
7.6k 15 6 9

@mike.ford

You might need to set messageFile to the absolute path of the Dll file.
For example,

I have the dll in D:\Release_MD. The path should be.

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\CLS_RFA_GW1\Logger\ComponentLoggers\RSSL_Adapter messageFile ="D:\\Release_MD\\RFA8_RSSL_Adapter150_x64.dll"

It seems to work for me.


even-log.png (61.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
21 0 2 5

Thanks we have this working now. From the config_guide documentation for RFA 8 in table 13 there is no RSSL_Adapter component. Can you advise for a RSSL OMM consumer what component loggers should be setup and their corresponding messagFile dll. From the delivered dlls there are some OMM/RSSL options, I am unsure of which ones to use?
A similat question has been asked by my colleague https://community.developers.refinitiv.com/questions/64310/is-the-loggercomponentloggersadaptor-setting-still.html

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
7.6k 15 6 9

@mike.ford

From my understanding, based on the document, the Dlls seems to be the following list. Anyway, it does not clear about the RFA8_Adapter and DLL name. It looks like the document is not updated.

I would suggest you open a new API support case so the support team can discuss with RFA Development to clarify regarding the Dlls and update the document.



[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Connections]
"messageFile"="D:\\RFADLLs\\RFA8_Connections150_x64.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\SessionCore]
"messageFile"="D:\\RFADLLs\\RFA8_SessionLayer150_x64.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\Adapter]
"messageFile"="D:\\RFADLLs\\RFA8_Adapter"

[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Adapter]
"messageFile"="D:\\RFADLLs\\RFA8_RSSL_Adapter150_x64.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Cons_Adapter]
"messageFile"="D:\\RFADLLs\\RFA8_RSSL_Cons_Adapter150_x64.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default\Logger\ComponentLoggers\RSSL_Prov_Adapter]
"messageFile"="D:\\RFADLLs\\RFA8_RSSL_Prov_Adapter150_x64.dll"
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.