tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jesus.cha...@neoris.com
Subject Tomcat 3.2.3 issue with Domino 5.0.8
Date Fri, 02 Nov 2001 21:39:22 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message