tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Agrawal <agra...@lucent.com>
Subject Re: CLASSPATH and Load-on-startup related issue - bug ??
Date Thu, 01 Mar 2001 02:03:39 GMT
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Actually, i believe tomcat does pick up the jars from the WEB-INF/lib directory.&nbsp;
You might want to try looking in the jasper.log file in the logs directory.&nbsp;
It should show something like:
<p>Classpath according to the Servlet Engine is:
<br>&lt;list of jar files in WEB-INF/lib dir>
<p>I'm using tomcat 3.2.1 - not sure if that makes a diff.&nbsp; 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.
<p>Hope that helps.
<br>Anuj.
<p>Srinivas Kurella wrote:
<blockquote TYPE=CITE>&nbsp;<span class=109040701-01032001><font face="Arial"><font
color="#0000FF"><font size=-1>i
am reposting this. I didn't get any responses. Does anybody have an answer
??&nbsp;</font></font></font></span><span class=109040701-01032001><font
face="Arial"><font color="#0000FF"><font size=-1>Thanks
in advance.</font></font></font></span><span 
class=109040701-01032001><font face="Arial"><font color="#0000FF"><font
size=-1>Srini</font></font></font></span>
<blockquote style="MARGIN-RIGHT: 0px">
<div class="OutlookMessageHeader" dir="ltr"><font face="Tahoma"><font size=-1>-----Original
Message-----</font></font>
<br><font face="Tahoma"><font size=-1><b>From:</b> Srinivas
Kurella</font></font>
<br><font face="Tahoma"><font size=-1><b>Sent:</b> Wednesday,
February
28, 2001 1:04 PM</font></font>
<br><font face="Tahoma"><font size=-1><b>To:</b> 'tomcat-user@jakarta.apache.org'</font></font>
<br><font face="Tahoma"><font size=-1><b>Subject:</b> RE: CLASSPATH
and
Load-on-startup related issue - bug ??</font></font>
<br>&nbsp;</div>
<font size=-1>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 ???</font>
<p><font size=-1>Srini</font>
<p><font size=-1>-----Original Message-----</font>
<br><font size=-1>From: Srinivas Kurella</font>
<br><font size=-1>Sent: Wednesday, February 28, 2001 12:32 PM</font>
<br><font size=-1>To: 'tomcat-user@jakarta.apache.org'</font>
<br><font size=-1>Subject: CLASSPATH and Load-on-startup related issue
??</font>
<br>&nbsp;
<p><font size=-1>I have an application which is running under tomcat. However
i donot use the</font>
<br><font size=-1>2.2 spec directory structure. I have a servlet that is
loaded on startup. I</font>
<br><font size=-1>explicitly set the CLASSPATH with all the jars needed.</font>
<br><font size=-1>I am trying to move to the webapps/ directory structure
where i can put all</font>
<br><font size=-1>the jars under WEB-INF/lib.</font>
<br><font size=-1>However the startup servlet fails with some class not
found exception. Is</font>
<br><font size=-1>the CLASSPATH variable ignored in this case ?? What could
be the problem ??</font>
<br><font size=-1>The startup servlet is a class in a jar in WEB-INF/lib.</font>
<p><font size=-1>Thanks</font>
<p><font size=-1>Srini</font>
<p><font size=-1>---------------------------------------------------------------------</font>
<br><font size=-1>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org</font>
<br><font size=-1>For additional commands, email: tomcat-user-help@jakarta.apache.org</font></blockquote>
</blockquote>
</html>


Mime
View raw message