On Mon, 19 Mar 2001 [EMAIL PROTECTED] wrote:
> On 18 Mar, Craig R. McClanahan wrote:
> > The only other possibility I can think of is if you have a copy of
> > "servlet.jar" in your system extensions directory
> > ($JAVA_HOME/jre/lib/ext). If so, this will interfere in nasty ways with
> > the class loaders in Tomcat 4.0, because Tomcat expects to use the
> > "servlet.jar" file that is in $TOMCAT_HOME/common/lib (in current nightly
> > builds).
>
> I download last nights build and it still did not work for me. I
> checked my $JAVA_HOME/jre/lib/ext and did not find any servlet.jar file.
> I had to add $TOMCAT_HOME/common/lib to the $CP variable in catalina.sh
> as well as other CLASSPATH information necessary for my serlvets to
> run. Is this the proper way of doing it? Could this be the source of my
> problem?
>
It could well be, although "$TOMCAT_HOME/common/lib" sounds like you are
using 3.3, not 4.0???.
Tomcat 4.0's standard scripts totally ignore the CLASSPATH variable that
you start with, and should *not* be modified.
If you want to make your own classes visible to all web applications, put
them in a JAR file underneath $TOMCAT_HOME/lib.
> Chris
>
Craig McClanahan