CORBA/IIOP/Java code.
The java code is very simple :
{
System.out.println("Thread Launched");
Session s = NotesFactory.createSession("ServerName", "login",
"password");
String Vers = s.getNotesVersion();
String Plat = s.getPlatform();
String User = s.getCommonUserName();
System.out.println("session established -- Version en cours: " +
Vers + " platform: " +Plat + " UserName: " + User);
Thread.sleep(30000);
System.out.println("Thread end");
}
The result is not the one intended :
C:\JBuilder35\jdk1.2.2\bin\javaw -classpath
"C:\essaicorba\classes;C:\JBuilder35\lib\beandt3.1.jar;C:\Lotus\Notes\Notes.jar;C:\Lotus\Notes\Data\domino\java\NCSO.jar;C:\Lotus\Notes\Data\domino\java\NCSOC.jar;C:\JBuilder35\jdk1.2.2\jre\lib\rt.jar;C:\JBuilder35\jdk1.2.2\jre\lib\i18n.jar;C:\JBuilder35\jdk1.2.2\lib\dt.jar;C:\JBuilder35\jdk1.2.2\lib\tools.jar;C:\JBuilder35\jdk1.2.2\lib\jpda.jar;C:\JBuilder35\jdk1.2.2\jre\lib\ext\iiimp.jar"
-Duser.dir=C:\essaicorba TestDominoConnection
Thread Launched
A NotesException exception occured
lotus.domino.NotesException
lotus.domino.NotesException
at lotus.domino.NotesExceptionHelper.read(NotesExceptionHelper.java)
at lotus.domino.NotesExceptionHolder._read(NotesExceptionHolder.java)
at com.ibm.CORBA.iiop.RepImpl.invoke(RepImpl.java, Compiled Code)
at com.ibm.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:36)
at
lotus.domino.corba._IObjectServerStub.createSession(_IObjectServerStub.java)
at lotus.domino.cso.Session.OREFtoSession(Session.java:813)
at lotus.domino.cso.Session.<init>(Session.java:67)
at lotus.domino.cso.Session.createSession(Session.java:40)
at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
at TestDominoConnection.run(TestDominoConnection.java:34)
at lotus.domino.NotesThread.run(NotesThread.java:200)
The createSession doesn't seem to connect to the server.
But, as the Domino administrator, i'm sure the diiop works and even is
quite open !
Any help will be welcome.
Thanks.
Send mail if you like (remove the [NOSPAM]).