Anuj,
Do you have a servlet that is loaded on startup ? I have a feeling that to laod the servlet on startup , tomcat needs all the classes in the classpath, which forces me to put the jars in the classpath. I can't get to the jasper.log stage, if the startup servlet can't be loaded.
Can somebody who knows the specs and the implementation please respond and clarify if this is a known bug .
Thanks,
Srini
-----Original Message-----
From: Anuj Agrawal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 6:04 PM
To: [EMAIL PROTECTED]
Subject: Re: CLASSPATH and Load-on-startup related issue - bug ??

Actually, i believe tomcat does pick up the jars from the WEB-INF/lib directory.  You might want to try looking in the jasper.log file in the logs directory.  It should show something like:

Classpath according to the Servlet Engine is:
<list of jar files in WEB-INF/lib dir>

I'm using tomcat 3.2.1 - not sure if that makes a diff.  Originally i thought i needed to add the jar files to classpath via the wrapper.properties file, but then i found that i didn't need to.

Hope that helps.
Anuj.

Srinivas Kurella wrote:

 i am reposting this. I didn't get any responses. Does anybody have an answer ?? Thanks in advance.Srini
-----Original Message-----
From: Srinivas Kurella
Sent: Wednesday, February 28, 2001 1:04 PM
To: '[EMAIL PROTECTED]'
Subject: RE: CLASSPATH and Load-on-startup related issue - bug ??
 
Actually , it looks as if tomcat doesn't pick up the jars from the web-inf/lib directory. Once i added the jars explicitly to the classpath is worked. Is this a bug ???

Srini

-----Original Message-----
From: Srinivas Kurella
Sent: Wednesday, February 28, 2001 12:32 PM
To: '[EMAIL PROTECTED]'
Subject: CLASSPATH and Load-on-startup related issue ??
 

I have an application which is running under tomcat. However i donot use the
2.2 spec directory structure. I have a servlet that is loaded on startup. I
explicitly set the CLASSPATH with all the jars needed.
I am trying to move to the webapps/ directory structure where i can put all
the jars under WEB-INF/lib.
However the startup servlet fails with some class not found exception. Is
the CLASSPATH variable ignored in this case ?? What could be the problem ??
The startup servlet is a class in a jar in WEB-INF/lib.

Thanks

Srini

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Reply via email to