aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Accessing Notes NAB from JAVA using Domino Java API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Accessing Notes NAB from JAVA using Domino Java API" Watch "Accessing Notes NAB from JAVA using Domino Java API" New topic
Author

Accessing Notes NAB from JAVA using Domino Java API

Harshil Mehta
Ranch Hand

Joined: Mar 17, 2005
Posts: 64

My Code is not printing Session Created. What setting should be done so that this code will be able to create a session of Domino Server?

As such i have done:
I have included Notes.jar in my classpath and path is been setted to the lotus\notes folder of Lotus Notes Server.

Its giving me a error as:
1. Connection Refused.
2. UnspecifiedLinkError.
Harshil Mehta
Ranch Hand

Joined: Mar 17, 2005
Posts: 64
Hello Ranchers,
In this one I am really confused, please help me sort out it.
I am using Lotus Domino R5 on one machine designamted as 'Server'. My machine has Lotus Notes R6.

From my machine I am trying to connect to the 'Server' and access NAB of it with following code:

I have included 'NCSO.jar' file which I got from 'Server's Lotus Home/domino/data/domino/java/ folder.

I am getting this exception:


I googled a lot for resolving the error and have a lead that the NCSO.jar file which i got may not be the correct one. Even I tried to run the prog with java -noverify option but some other kind of CORBA related exception is thrown.

Can any one please tell me the jar file I am using for Notes R6 as client and Domino R5 as server is correct? Or any other mistake in my code or setting.

p.s. http and diiop task are running correctly on 'Server' and i am also able to get the IOR from 'Server' using getIOR() method.

Hoping for correct reply.
[ July 04, 2006: Message edited by: Harshil Mehta ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing Notes NAB from JAVA using Domino Java API