Hi,
I downloaded the Mar 26th zip file (JBOSS/TOMCAT) from JBOSS site and
deployed our .ear file and it worked.

I have no explanation as to why the .ear file you have work in earlier
version and not the new one. Can you check the Context class loaders in
server.xml in tomcat. 

THanks,
Swami

-----Original Message-----
From: Patrick Buchinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 9:30 AM
To: Jboss (E-mail)
Subject: [JBoss-user] bug in the latest few versions of jBoss 2.1


hi everyone!

i posted this problem a few days ago, but noone responded, so i'm 
triying it again...

when i'm deploying an .ear file in the latest jBoss 2.1, i'm allways 
getting a ClassNotFoundException when i want to access a servlet which 
accesses a (stateless session) bean. the servlet can't find the bean's 
home interface.
you can easily reproduce this error with the tomcat-test.ear.
this bug does _not_   exist in earlier 2.1 releases!! i found a 
cvs-snapshot from 20. or  22.2.2001 on my harddisk, and the 
tomcat-test.ear works as expected (btw, my .ear file, too)
the stack trace produced when trying to access the servlet in 
tomcat-test.ear is attached.

so, please, could someone confirm this bug? and, if possible, could 
someone also fix this bug?

jBoss is amazing, go on with your good work!

tnx,

patrick

stacktrace:

Servlet calling EJB
 
Call failed... Exception:

javax.naming.CommunicationException.  Root exception is 
java.lang.ClassNotFoundException:
org.jboss.test.tomcat.ejb.interfaces.StatelessSessionHome
   at java.lang.Throwable.(Throwable.java:96)
   at java.lang.Exception.(Exception.java:44)
   at java.lang.ClassNotFoundException.(ClassNotFoundException.java:71)
   at javax.management.loading.MLet.findClass(MLet.java:800)
   at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
   at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:212)
   at 
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
206)
   at 
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.ja 
va:988)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:376)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1192)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:392)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
   at java.rmi.MarshalledObject.get(MarshalledObject.java:144)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
   at javax.naming.InitialContext.lookup(InitialContext.java:351)
   at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:62)
   at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:43)
   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:404)
   at org.apache.tomcat.core.Handler.service(Handler.java:286)
   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
   at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
   at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210) 

   at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
   at  
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
   at java.lang.Thread.run(Thread.java:498)

Call failed... Exception:
javax.naming.CommunicationException.  Root exception is  
java.lang.ClassNotFoundException: 
org.jboss.test.tomcat.ejb.interfaces.StatelessSessionHome
   at java.lang.Throwable.(Throwable.java:96)
   at java.lang.Exception.(Exception.java:44)
   at java.lang.ClassNotFoundException.(ClassNotFoundException.java:71)
   at javax.management.loading.MLet.findClass(MLet.java:800)
   at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
   at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:212)
   at 
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
206)
   at 
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
88)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:376)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
   at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1192)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:392)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
   at java.rmi.MarshalledObject.get(MarshalledObject.java:144)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
   at javax.naming.InitialContext.lookup(InitialContext.java:351)
   at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:62)
   at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:44)
   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:404)
   at org.apache.tomcat.core.Handler.service(Handler.java:286)
   at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
   at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
   at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
   at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
   at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
   at  
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
   at java.lang.Thread.run(Thread.java:498)


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to