Stuck in Session.Acquire() when running an existing program under a new service account

Hi,
When I try to run an existing old program using a new service account. It gets stuck in
Session.Acquire("OUR_APPNAME")
When I run the same program using the old service account, it runs successfully.
The new service account is set up having the same read/write access on the server folders.
What could cause the issue? This is very urgent.
I didn't write this program and am completely new to RFA. So I'm completely lost. Our internal RFA support cannot answer any dev problems so they direct me to this Forum.
Please help me.
Many Thanks.
Jude
Best Answer
-
solution from below post solves it
0
Answers
-
@jude.x.jin you didn't mention the programming language, but I assume it is C++. RFA C++ can read the configuration settings from a flat file or from registry. In your case, it seems like the new service account does not have the RFA configuration properly set in registry. Try to import the settings from old account into the new account. A sample RFA configuration registry file is also provided with the SDK examples.
0 -
HI, Gurpreet.
I'm using C#. Could you please give me more detailed steps of how to export configuration from registry in old account and import into new account?
I'm totally new to RFA. I wasn't the one who set up RFA on the server.
Many Thanks,
Jude
0 -
@Gurpreet I cannot access the link you give me.
0 -
You can also get the sample RFA configuration from your SDK installation. Firstly, you will need to verify that the application is indeed using configuration from registry. In the code, you are looking for how staging database is loaded -- something along the lines of:
fileConfig:
RFA_String exampleRfaCfgFilePath = new RFA_String("./ExampleRFA.cfg");
stgCfgDataBase.Load(ConfigRepositoryTypeEnum.flatFile, exampleRfaCfgFilePath);
registry:
RFA_String exampleRfaCfgRegPath = new RFA_String("HKEY_LOCAL_MACHINE\\SOFTWARE\\Reuters\\RFA\\Default");
stgCfgDataBase.Load(ConfigRepositoryTypeEnum.windowsRegistry, exampleRfaCfgRegPath);Here you can also see the path to the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default) which your new system account should be able to access.
0 -
@Gurpreet Following your suggestion, the code is showing that it is using RFA.cfg file. So it is not based on registry setting. RFA.cfg is readable by everyone. So is it weird that Session.Acquire() is stuck under new service account?
0 -
Can you enable the logger entries in the configuration file and check RFA log for more information. Configuration settings are explained in the RFANET_ConfigGuide.pdf file available in the docs directory in the SDK.
0 -
Thanks for your prompt reply. Could you please tell me how to configure the log in RFA.cfg, probabaly just one line, right?
I don't have the SDK nor the SDK doc. I have applied to the API membership just now.
Could you please email the doc to jude.x.jin@us.hsbc.com ?
Thanks a lot!
Jude
0 -
Sent the config guide.
Please see this thread for information on RFA logging -
0 -
below is the content of the RFA.cfg file. i masked the host name
RFA.cfg
\Sessions\VolFitterSession\connectionList = "ElektronEdge"
\Connections\ElektronEdge\connectionType = "RSSL"
\Connections\ElektronEdge\serverList = "*******.hsbc"
\Connections\ElektronEdge\rsslPort = "21100"0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 623 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 688 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 105 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 91 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛