[JBoss-user] [EJB/JBoss] - Re: ClassNotFound exception finding Home interface
Make sure you've packaged the class correctly, the directory hierarchy must reflect the java package structure. Also make sure the class package declaration matches what you think it should be. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826517#3826517;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826517Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassNotFound exception finding Home interface
Thanks for the info. I have checked and the servlet which is calling the EJB does have access to all the correct classes so I am pretty sure this is not the case. In the enviroment I am using Tomcat is housed in a different place to the JBoss server so its quite a simple test to ensure that I have got the right interface classes available. Could it be something in the class loader of JBoss? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824015#3824015;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3824015Reply to the post/a --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassNotFound exception finding Home interface
your JSP needs to have a copy of the class too, you should include it in your .war. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823909#3823909;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823909Reply to the post/a --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassNotFound exception finding Home interface
Additionally I have got the complete stacktrace for the error which is listed below: anonymous wrote : javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: RetailWebSystem.WizardHome | at java.net.URLClassLoader$1.run(URLClassLoader.java:199) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:219) | at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:707) | at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651) | at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588) | at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:639) | at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309) | at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:241) | at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) | at java.rmi.MarshalledObject.get(MarshalledObject.java:135) | at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:550) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) | at javax.naming.InitialContext.lookup(InitialContext.java:354) | at RetailWebSystem.EJBHomeFactory.narrowFromJNDI(EJBHomeFactory.java:65) | at RetailWebSystem.EJBHomeFactory.getHome(EJBHomeFactory.java:108) | at CustomerServlet.processRequest(CustomerServlet.java:81) | at CustomerServlet.doGet(CustomerServlet.java:405) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) | at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197) | at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176) | at java.security.AccessController.doPrivileged(Native Method) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) | at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) | at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) | at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) | at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) | at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) | at