tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ratz, Peter" <Peter.R...@coc-ag.de>
Subject Tomcat and Sun J2EE
Date Fri, 14 Jul 2000 23:10:58 GMT
Hello,

i try to connect from a servlet to a running EJB on the
J2EE reference impl. from Sun.

Until now i had no success :-(

I added the j2ee.jar to the end of the tomcat classpath.
I added the jndi properties as -d options (copied from the jndi.properties
of j2ee.jar).

I get the following message in the browser when accessing the servlet:

Error: 500

Location:/kurs1/servlet/EJBServlet

Internal Servlet Error:

java.lang.UnsatisfiedLinkError: specialLoadClass
        at
com.sun.corba.ee.internal.util.JDKClassLoader.loadClass(JDKClassLoader.java:
59)
        at
com.sun.corba.ee.internal.util.JDKBridge.loadClassM(JDKBridge.java:269)
        at
com.sun.corba.ee.internal.util.JDKBridge.loadClass(JDKBridge.java:109)
        at javax.rmi.CORBA.Util.loadClass(Util.java:216)
        at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:307)
        at javax.rmi.CORBA.Util.(Util.java:55)
        at
com.sun.corba.ee.internal.corba.ClientDelegate.getServiceContexts(ClientDele
gate.java:245)
        at
com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.
java:314)
        at
com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.
java:330)
        at
com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingCli
ent.java:198)
        at
com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(
InitialNamingClient.java:279)
        at
com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_referenc
es(InitialNamingClient.java:188)
        at
com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:1356
)
        at
com.sun.corba.ee.internal.POA.POAORB.resolve_initial_references(POAORB.java:
482)
        at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:258)
        at
com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:188)
        at com.sun.jndi.cosnaming.CNCtx.(CNCtx.java:75)
        at
com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:39)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
        at com.sun.enterprise.naming.EJBCtx.(EJBCtx.java:44)
        at
com.sun.enterprise.naming.EJBInitialContextFactory.getInitialContext(EJBInit
ialContextFactory.java:62)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
        at javax.naming.InitialContext.init(InitialContext.java:226)
        at javax.naming.InitialContext.(InitialContext.java:202)
        at servlet.EJBServlet.lookup(EJBServlet.java)
        at servlet.EJBServlet.doGet(EJBServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:368)
        at org.apache.tomcat.core.Handler.service(Handler.java:261)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:356)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:71
9)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:665)
        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)


Any help would be appreciaited.

Thanks,

Peter



Mime
View raw message