Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing Notes NAB from JAVA using Domino Java API

 
Harshil Mehta
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic