Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Websphere integration with Domino DIIOP Service

Status
Not open for further replies.

handle14

Programmer
Jul 25, 2002
1
IN
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/String;)V+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/String;)Llotus/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/String;)V+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/String;)Llotus/domino/Session;+0 (Session.java:41) lotus/domino/NotesFactory.createSessionWithIOR(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Llotus/domino/Session;+0 (NotesFactory.java:150) servletexamples/RemoteNotes.performTask(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RemoteNotes.java:85) servletexamples/RemoteNotes.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RemoteNotes.java:36) javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+32 (HttpServlet.java:740) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+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/ServletResponse;)V+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+1050 (InvokerServlet.java:255) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21 (ServletManager.java:644) com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46 (StrictLifecycleServlet.java:160) com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+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/ServletResponse;)V+258 (WebAppRequestDispatcher.java:189) com/ibm/servlet/engine/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+4 (WebAppInvoker.java:61) com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+130 (WebAppInvoker.java:133) com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+25 (CachedInvocation.java:67) com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnection;)V+839 (ServletRequestProcessor.java:155) com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnection;)V+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/ISQEvent;)V+184 (SQEventListenerImp.java:104) com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImp;)V+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.
 
I have some problem familiar with you...

That problem is NCSO.jar..

I tried NCSO.jar using in R5.0.9, R5.0.10, but failed..

Try to change the NCSO.jar file in R6...

I succeeded..

Good Luck...

If you could not get the NCSO.jar in R6, please contact gdkim@kr.ibm.com. I will send you...
 
Hi everybody! I met the same problem.
the problem is package of lotus provided:
NCSO.jar ,NCSOW.jar,Notes.jar

1.use NCSOW.jar on WebSphere.
2.use NCSO.jar on WebLogic,or Local.

3.and if the WebSphere and Domino are on the same physical machine ues Notes.jar

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top