question

Upvotes
Accepted
13 7 8 9

BackingStoreException at startup

Hi Team,

While starting the application which connects to Reuters services, in my case dIDN_RDF. We could see the below error but the application continue to receive and process the updates :

ERROR [stderr] (ReutersNamespace::ReutersConsumerSession Session EventQueueGroup) BackingStoreException during checkForLink for path: /com/reuters/rfa/_System

Please can you suggest what's the meaning of error and how we can avoid this ?

Thanks in advance !!

treprfarfa-api
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.

monitored by TRDC.

Upvote
Accepted
1.5k 5 6 7

Further to this:

If you dream of avoiding Java Preferences (with all its weird quirks of using Windows Registry , hidden files and what not) and instead just want to have a old-school config file next to your application, but you do not have access to the source code of the application or for whatver reason do not want to mess with it ... then what ??

Answer:

Just add Preferences2Go to your application's startup. It was created for this exact purpose. The change is completely transparent to your application and to the RFA Library.

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.

Thank you very much for the response. Its really helpful :)

Upvotes
1.5k 5 6 7

It is really an error from the Java Preferences sub-system, not from RFA itself. Just google BackingStoreException and Java Preferences. I find that Java Preferences is one of the less intelligent things in Java. It is a fine API but the implementation on Windows - which is to use the Win Registry - just throws most Java devs off. Luckily you can use your own Java Preferences implementation instead of the default one (and this would be completely transparent to the RFA lib) or you could avoid using Java Preferences altogether by using ConfigDb in RFAJ.

You error is likely caused by lack of access to the relevant node in Java Preferences which on Windows would translate into lack of access to the relevant key in the Win Registry.

Unless you really dig Java Preferences - and are familiar with its quircks - I suggest to avoid it.

Best of luck

Lars

Addicticks

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
1 0 2 4

Hi @alokreturns,

Try to run your application using an admin account first, then re-run it in normal user account. That should fix your problem.

Regards,

CM

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.