Hello!

I just started using OpenEJB yesterday. We have an existing project that 
we're adding EJB support to. I got everything working with HelloWorld 
using a standalone client, and now I'm trying to connect with tomcat. I 
decided to try the remote method before attempting to embed openEJB in 
tomcat (baby steps first). I'm getting an error doing the lookup for my 
object. Strangely, it seems the request never makes it to openEJB, 
instead Tomcat complains about classloader issues:

java.lang.IllegalArgumentException: interface 
com.zcm.intranet.ejb.test.HelloHome is not visible from class loader
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:331)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:552)
         at 
org.openejb.client.proxy.Jdk13ProxyFactory.newProxyInstance(Jdk13ProxyFactory.java:218)
         at 
org.openejb.client.proxy.ProxyManager.newProxyInstance(ProxyManager.java:180)
         at 
org.openejb.client.EJBHomeHandler.createEJBHomeProxy(EJBHomeHandler.java:108)
         at 
org.openejb.client.JNDIContext.createEJBHomeProxy(JNDIContext.java:226)
         at org.openejb.client.JNDIContext.lookup(JNDIContext.java:262)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at org.apache.jsp.test$jsp._jspService(test$jsp.java:97)


I have the class files for the remote objects in my WEB-INF/classes 
directory, the same ones I used to build my deployed jar file.

Any ideas?

Thanks.

Rick



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to