You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wojciech Sobczuk <so...@freebsd.hbz.pl> on 2001/08/31 10:53:54 UTC

problem

hello,

i have an applicAtion called shop, deployed in tomcat webapps (it has a 
context configured in server.xml too).

i'm having the following problems with tomcat 3.2.3:
- tomcat doesn't see classes which i place in webapps/shop/WEB-INF/lib,
to be precise, i place a .jar there in which there is a class which is  the
parent class of all my servlets - when i try to execute a servlet i geta 
java.lang.NoClassDefFoundError exception and it fails.


- the strange thing is that the error above occurs randomly, and sometimes
it happens that tomcat reads those classes ?  and when it does, another problem occurs.
i'm using tomcat with jboss 2.2.2, which serves as the EJB container.
now when i try to fetch an EJB, i get a failure in the InitialContext.lookup
method, with another NoClassDefFound - this time it can't find the Home
interface of my bean, which is nicely placed in shop/WEB-INF/classes

and again, this error sometimes doesn't occur and it works...

yes, i did check the classes' package names, etc. etc.

i'm running redhat 7.1 with 2.4.9 kernel and jdk 1.3.1 for linux.

any idea what might be causing my problems?  i'm totally clueless..

please reply to this email too, i'm not subscribed to the group.

greetings,
Wojciech Sobczuk


Re: problem

Posted by Chris Beggy <ch...@kippona.com>.
sopel@freebsd.hbz.pl (Wojciech Sobczuk) writes:

> hello,
> 
> i have an applicAtion called shop, deployed in tomcat webapps (it has a 
> context configured in server.xml too).

Is this app available for inspection someplace?

Thanks.

Chris