Initializing Notes from Eclipse RCP

Hello, I have a problem initializing the NotesThread for accessing Notes from within an Eclipse RCP application. We are currently running a java application under JavaSwing\Applet technology and make use of the Notes API to access the Notes Client (send email, import\export into address book, etc.)

Everything worked fine for years. Now we want to switch to a new plattform which is Eclipse RCP. I have tried to run our code from within an Eclipse Plugin and unfortunately it failed due to the “Notes initialization failure - err 421”. I have checked the archive and found out that the reason for this is a missing notes.ini in my notes directory. That is in deed the case. The problem is that in our company the notes ini is located elsewhere on a network drive which is mounted for each user at startup (H:\Notes\Data).

The notes directory itself is not even accessible for a user. From within our former applet approach we never experienced any problem because the network directory was included in the PATH variable of windows. From within Eclipse this does not seem to help. Probably because it uses a more sophisticated bundle class loader. I have tried to add the notes.ini dir to the bundle classpath but that did not help. I have also added the notes.ini dir to the bootstrap of the eclipse launcher - without success.

Does anybody know a solution to this problem?

Help would be much appreciated.

Subject: Initializing Notes from Eclipse RCP

Since you are using R7, why not create a webservice. All the things you would like to accomplish can be written as a web service. Then all you have to do is feed the wsdl file to your eclipse consumer client This would eliminate the *.ini dependency any other possible dependencies that might rear their ugly heads in future releases.