I have a situation where I am getting a ClassNotFoundException.
The code I am trying to run is viewclass.jsp in openejb-tomcat-webapp
module.

Here is what I did:

1. I deployed the openejb-tomcat-webapp.war in tomcat
2. deployed the itests-beans.war inside tomcat
3. went to localhost:8080/openejb/viewjndi.jsp
4. clicked on a Bean to view it
5. Clicked on the BusinessLocal/Remote interface of the EJB to view its
class
6. Thats where I get the ClassNotFoundException

The reason is that viewclass.jsp is not able to find the
BusinessLocal/Remote interface (or any other class ) in the itests webapps
lib directory (which contains several jars which contains the class we need
to find)
I understand that a web module should not be able to find classes in abother
web modules lib or classes directory. But, we still need to find a way to
get that. Does anybody know any Tomcat specific API to allow me to load that
class?



-- 
Karan Singh Malhi

Reply via email to