You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by je...@neoris.com on 2001/11/02 22:39:22 UTC

Tomcat 3.2.3 issue with Domino 5.0.8

Hi,

I'm having troubles migrating a bean that I'm currently using under Tomcat
3.1.1 to Tomcat 3.2.3

The bean tries to create a session thru DIIOP using this code on the init
method
     try {
          session = NotesFactory.createSession(Host, User, Password);
     } catch (NotesException une) {
          throw new KpiException("Unable to log to server thru DIIOP");
     }

The Server is running Lotus Domino 5.0.8 with tomcat as the servlet/jsp
engine and I'm invoking the bean from a jsp page, under the webapp
classpath I stored the nsco.jar and the nscoc.jar (needed for CORBA/IIOP
connectivity to Domino) from the latest Java/CORBA toolkit along with my
app jars.

Tomcat and Domino run on the same machine for now, but maybe in the near
future we would like to use two different servers.

So far I have tried to switch between host dns name and 127.0.0.1 for the
host parameter with no luck.

The weirdest thing is that it's working fine with Tomcat 3.1.1 and as soon
as I try to test it with Tomcat 3.2.3 I got the following message.

org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.ibm.CORBA.iiop.ORB  minor code: 0  completed: No
        at org.omg.CORBA.portable.Delegate.releaseReply(Delegate.java:328)
        at org.omg.CORBA.portable.ObjectImpl.
_releaseReply(ObjectImpl.java:260)
        at lotus.domino.corba._IObjectServerStub.createSession
(_IObjectServerStub.java)
        at lotus.domino.cso.Session.OREFtoSession(Session.java:819)
        at lotus.domino.cso.Session.<init>(Session.java:73)
        at lotus.domino.cso.Session.createSession(Session.java:41)
        at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
        at com.ddinsys.kpi.Kchart.init(Kchart.java:624)
        at jsp._0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0._jspService
(_0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0.java, Compiled Code)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
        at
java.lang.Thread.run(Thread.java:479)com.ddinsys.kpi.KpiException: Unable
to log to server thru DIIOP
        at com.ddinsys.kpi.Kchart.init(Kchart.java:626)
        at jsp._0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0._jspService
(_0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0.java, Compiled Code)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java:479)2001-11-02 00:09:00 - Ctx(
/mcharts ): Exception in: R( /mcharts + /jsp/graficaA.jsp + null) -
javax.servlet.ServletException
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
        at jsp._0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0._jspService
(_0002fjsp_0002fgraficaA_0002ejspgraficaA_jsp_0.java, Compiled Code)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java:479)
Root cause:
java.lang.NullPointerException
        at
etc, etc, etc...

Any thoughts?
TIA

PS.
BTW The examples for Tomcat 3.2.3 are running fine under Domino 5.0.8, is
just this app that's giving us some headaches!


____________________________________________________________________________
For your protection, this e-mail message has been scanned for Viruses.
Visit us at http://www.neoris.com/

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>