What Confiuration are u using , i am using jboss2.2.2/tomcat3.2.2 , i also had problems in finding the classes packaged in a jar file Actually when u start jboss-tomcat then its unable to find the jar file ,
i tackled this problem by including the jar file in the classpath this solves the problem
here's hwat i did in the run_with_tomcat.bat
if this also dosent work then try setting the full path of ur jar file
i hope one of the two will work
I am also using jboss 2.2.2-tomcat 3.2.2.
Do you know if there is a definitive document regarding classpaths when dealing with jboss 2.2.2-tomcat 3.2.2. ?
I believe I know what the problem is but I am unsure how to fix it....
I make the following call:
Object tempObj = Beans.instantiate (null,actionDelegateName);
Becuase I pass null as the first argument, a "system classloader" is used.... but that is not necessarily the classloader that has web-inf/classes or web-inf/lib in its classpath...
so the question is how do I get a reference to the classloader that has web-inf/classes and web-inf/lib in its classpath?
I'm dancing a jig as I write this...
I used the following to get the appropriate classloader:
Object tempObj = Beans.instantiate (this.getClass().getClassLoader(),actionDelegateName);
That's the context class loader