Problem :
--------
1)I am able to connect to DIIOP service of dominoR5.0.4 from my local client machine as well as from AS400 - 270 if it is a standalone java Application, but i am unable to connect, if it is a servlet.
Environment :
-------------
VisualAge for java 4.0 with Websphere Test Environment 3.5.3 (localhost)
Lotus Domino Server 5.0.4 (OS - Windows NT)
AS400 i-series 270 - with JVM 1.2.2 and Websphere Application Server 3.5.5
Program Source code :
---------------------
Standalone Java Application works fine for NotesSession with and without IOR.But i am unable to open NotesSession for Java Servlets.
try {
without IOR :
Session s = NotesFactory.createSession("Domino IP Address","Internet userid", "Internetpassword"
With IOR :
String IOR= NotesFactory.getIOR("Domino IP Address"
session = NotesFactory.createSessionWithIOR(IOR, "Internet userid", "Internetpassword"
Error : 4062 Could not open Notes Session.
-----
Stack Trace :
-----------
lotus.domino.NotesException lotus/domino/NotesException.(ILjava/lang/StringV+0 (NotesException.java:0) lotus/domino/cso/Session.OREFtoSession(Ljava/lang/String;Ljava/applet/Applet;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/corba/SessionData;+0 (Session.java:775) lotus/domino/cso/Session.(Ljava/lang/String;[Ljava/lang/String;Lorg/omg/CORBA/ORB;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringV+0 (Session.java:65) lotus/domino/cso/Session.createSession(Ljava/lang/String;[Ljava/lang/String;Lorg/omg/CORBA/ORB;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/Session;+0 (Session.java:41) lotus/domino/NotesFactory.createSessionWithIOR(Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/Session;+0 (NotesFactory.java:150) servletexamples/RemoteNotes.performTask(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (RemoteNotes.java:85) servletexamples/RemoteNotes.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (RemoteNotes.java:36) javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+32 (HttpServlet.java:740) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEventV+186 (ServletManager.java:371) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+993 (WebAppRequestDispatcher.java:632) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443 (WebAppRequestDispatcher.java:290) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1050 (InvokerServlet.java:255) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEventV+186 (ServletManager.java:371) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+993 (WebAppRequestDispatcher.java:632) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443 (WebAppRequestDispatcher.java:290) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+4 (WebAppInvoker.java:61) com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/ObjectV+130 (WebAppInvoker.java:133) com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/ObjectV+25 (CachedInvocation.java:67) com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnectionV+839 (ServletRequestProcessor.java:155) com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnectionV+95 (OSEListener.java:300) com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155 (SQEventListenerImp.java:230) com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEventV+184 (SQEventListenerImp.java:104) com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImpV+40 (SQEventSource.java:216) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116 (SQWrapperEventSource.java:354) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124 (SQWrapperEventSource.java:221) com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104 (OutOfProcThread.java:248) java/lang/Thread.run()V+11 (Thread.java:479)
Domino DIIOP settings :
-----------------------
1)Lotus server is mapped in the hostfile of WindowsNT with valid Internetdomain name.
2)In Security Tab of Domino Server Document, the values set are
Access Server :GroupID
Run restricted :GroupID
java/javascript/com
3)In Port->Internet Protocol -> IIOP of Domino Server Document
TCP/IP port by default) 63148
Port Status : Enabled
Name and Password : yes
Anonymous : No
4)In notes.ini file, JavaUserClasses : path\NCSO.jar was added.
** with this setting we started DIIOP service and DIIOP task is ready.
WebSphere settings :
--------------------
1)Added NCSOW.jar in classpath.(also tried adding either NCSO.jar or NCSOW.jar or BOTH in classpath.
--------
1)I am able to connect to DIIOP service of dominoR5.0.4 from my local client machine as well as from AS400 - 270 if it is a standalone java Application, but i am unable to connect, if it is a servlet.
Environment :
-------------
VisualAge for java 4.0 with Websphere Test Environment 3.5.3 (localhost)
Lotus Domino Server 5.0.4 (OS - Windows NT)
AS400 i-series 270 - with JVM 1.2.2 and Websphere Application Server 3.5.5
Program Source code :
---------------------
Standalone Java Application works fine for NotesSession with and without IOR.But i am unable to open NotesSession for Java Servlets.
try {
without IOR :
Session s = NotesFactory.createSession("Domino IP Address","Internet userid", "Internetpassword"
With IOR :
String IOR= NotesFactory.getIOR("Domino IP Address"
session = NotesFactory.createSessionWithIOR(IOR, "Internet userid", "Internetpassword"
Error : 4062 Could not open Notes Session.
-----
Stack Trace :
-----------
lotus.domino.NotesException lotus/domino/NotesException.(ILjava/lang/StringV+0 (NotesException.java:0) lotus/domino/cso/Session.OREFtoSession(Ljava/lang/String;Ljava/applet/Applet;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/corba/SessionData;+0 (Session.java:775) lotus/domino/cso/Session.(Ljava/lang/String;[Ljava/lang/String;Lorg/omg/CORBA/ORB;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringV+0 (Session.java:65) lotus/domino/cso/Session.createSession(Ljava/lang/String;[Ljava/lang/String;Lorg/omg/CORBA/ORB;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/Session;+0 (Session.java:41) lotus/domino/NotesFactory.createSessionWithIOR(Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringLlotus/domino/Session;+0 (NotesFactory.java:150) servletexamples/RemoteNotes.performTask(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (RemoteNotes.java:85) servletexamples/RemoteNotes.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+0 (RemoteNotes.java:36) javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+32 (HttpServlet.java:740) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEventV+186 (ServletManager.java:371) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+993 (WebAppRequestDispatcher.java:632) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443 (WebAppRequestDispatcher.java:290) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+1050 (InvokerServlet.java:255) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEventV+186 (ServletManager.java:371) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+993 (WebAppRequestDispatcher.java:632) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443 (WebAppRequestDispatcher.java:290) com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponseV+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseV+4 (WebAppInvoker.java:61) com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/ObjectV+130 (WebAppInvoker.java:133) com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/ObjectV+25 (CachedInvocation.java:67) com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnectionV+839 (ServletRequestProcessor.java:155) com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnectionV+95 (OSEListener.java:300) com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155 (SQEventListenerImp.java:230) com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEventV+184 (SQEventListenerImp.java:104) com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImpV+40 (SQEventSource.java:216) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116 (SQWrapperEventSource.java:354) com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124 (SQWrapperEventSource.java:221) com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104 (OutOfProcThread.java:248) java/lang/Thread.run()V+11 (Thread.java:479)
Domino DIIOP settings :
-----------------------
1)Lotus server is mapped in the hostfile of WindowsNT with valid Internetdomain name.
2)In Security Tab of Domino Server Document, the values set are
Access Server :GroupID
Run restricted :GroupID
java/javascript/com
3)In Port->Internet Protocol -> IIOP of Domino Server Document
TCP/IP port by default) 63148
Port Status : Enabled
Name and Password : yes
Anonymous : No
4)In notes.ini file, JavaUserClasses : path\NCSO.jar was added.
** with this setting we started DIIOP service and DIIOP task is ready.
WebSphere settings :
--------------------
1)Added NCSOW.jar in classpath.(also tried adding either NCSO.jar or NCSOW.jar or BOTH in classpath.