You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sa...@Vanguard.com on 2002/01/10 22:36:12 UTC
Documentation - Class Loader Info
All,
My apologies if this email is not appropriate for this list. While going
through the documentation for configuring Tomcat 4.0.1, I came across a couple
of discrepancies:
In the document for "Class Loader Info", I noticed that under Class Loader
Definitions - System section mentions the CLASSPATH environment variable is
initialized using two jars, namely $CATALINA_HOME/lib/bootstrap.jar and
$JAVA_HOME/lib/tools.jar. On the standard installation of Tomcat 4.0.1, the
bootstrap.jar file is present in the $CATALINA_HOME/bin directory rather than
the $CATALINA_HOME/lib directory.
I presume this was probably an oversight. If this was not the case then perhaps
do we need to copy the file from the $CATALINA_HOME/bin directory to the
$CATALINA_HOME/lib directory.
The other is also in the same document in the section discussing the order in
which the class or resource loader looks for the various classes.
$CATALINA_HOME/common/classes or $CATALINA_HOME/common do not contain any jar
files, but the jars are present in $CATALINA_HOME/common/lib. I was wondering
if we need to copy all the files from the $CATALINA_HOME/common/lib directory to
either the $CATALINA_HOME/common/classes directory or to the
$CATALINA_HOME/common directory.
I found this out when I was trying to compile the "HelloWorld" servlet example
and kept on getting the "class not found error" again and again.
Any pointers on this will be helpful.
Thanks in advance,
Samarth
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Documentation - Class Loader Info
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Thu, 10 Jan 2002 Samarth_Kumar@Vanguard.com wrote:
> Date: Thu, 10 Jan 2002 16:36:12 -0500
> From: Samarth_Kumar@Vanguard.com
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: Documentation - Class Loader Info
>
>
> All,
>
> My apologies if this email is not appropriate for this list. While going
> through the documentation for configuring Tomcat 4.0.1, I came across a couple
> of discrepancies:
>
> In the document for "Class Loader Info", I noticed that under Class Loader
> Definitions - System section mentions the CLASSPATH environment variable is
> initialized using two jars, namely $CATALINA_HOME/lib/bootstrap.jar and
> $JAVA_HOME/lib/tools.jar. On the standard installation of Tomcat 4.0.1, the
> bootstrap.jar file is present in the $CATALINA_HOME/bin directory rather than
> the $CATALINA_HOME/lib directory.
>
> I presume this was probably an oversight. If this was not the case then perhaps
> do we need to copy the file from the $CATALINA_HOME/bin directory to the
> $CATALINA_HOME/lib directory.
>
Nope ... that is typo in the docs. The files are in the right place.
>
> The other is also in the same document in the section discussing the order in
> which the class or resource loader looks for the various classes.
> $CATALINA_HOME/common/classes or $CATALINA_HOME/common do not contain any jar
> files, but the jars are present in $CATALINA_HOME/common/lib. I was wondering
> if we need to copy all the files from the $CATALINA_HOME/common/lib directory to
> either the $CATALINA_HOME/common/classes directory or to the
> $CATALINA_HOME/common directory.
>
That's another typo -- that entry should really be:
$CATALINA_HOME/common/lib/*.jar
> I found this out when I was trying to compile the "HelloWorld" servlet example
> and kept on getting the "class not found error" again and again.
>
> Any pointers on this will be helpful.
>
> Thanks in advance,
>
> Samarth
>
I will check in the documentation fixes today. Thanks!
Craig
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>