Here's the message in the archives.
http://www.geocrawler.com/lists/3/SourceForge/10767/125/5433593/
On Thu, 29 Mar 2001, Patrick Buchinger wrote:
> hi dan!
>
> > A While back Ken Jenks posted a message on some changes you may need to
> > make to application.xml to allow the servlet to see the EJB classes. Have
> > you seen this and tried it? It seemed to work for the person he was
> > helping at the time.
> >
> i couldn't remember that i've seen this message. would it be possible
> for you to post this message again??
>
> many thanks,
>
> patrick
>
> >
> >> 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
> >>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)
Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.
---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user