tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Stack <dst...@musicstack.com>
Subject Re: Jakarta problems to start up
Date Wed, 05 Apr 2000 16:44:36 GMT
Craig:

I want to thank you!  The below information has helped me out greatly!
I added:  

TOMCAT_HOME=/usr/local/tomcat

to the top of tomcat.sh and the server started right up!
This has solved many hours of fustration for me.

Thanks again,

Dave Stack


At 08:41 AM 4/5/00 +0200, you wrote:
>"Craig R. McClanahan" wrote:
>
>I had this same problem and it's cuse is that the startup.sh script
>guesses TOMCAT_HOME as a relative path (./.. if you're at tomcat/bin),
>and
>builds the classpath using that relative path. The JVM does not find
>those files and in effect your classpath is null. If you manually change
>the script and assign the correct full path to TOMCAT_HOME, the problem
>will dissapear.
>
>> 
>> It looks like you're trying to run from the $TOMCAT_HOME/bin directory.
>> 
>> Try changing to the $TOMCAT_HOME directory and executing
>> 
>>     ./bin/startup.sh
>> 
>> instead.
>> 
>> Craig McClanahan
>> 
>> Jorge Valenzuela wrote:
>> 
>> > Hello:
>> >
>> >     I just downloaded jakarta-tomcat 3.1 (where is the 3.0 ?)
>> > and installed in my Linux RH 6.0.
>> >
>> >     I followed the howto instruction and the appache configuration works
>> > ok,
>> > but when I try to run startup.sh script I get the message :
>> >
>> > $:./startup.sh
>> > Guessing TOMCAT_HOME from tomcat.sh to ./..
>> > Setting TOMCAT_HOME to ./..
>> > cd ./..
>> > Using classpath:
>> > .:./../lib/ant.jar:./../lib/jasper.jar:./../lib/servlet.jar:./.
>> >
test:./../lib/webserver.jar:./../lib/xml.jar:/usr/local/lang/jdk1.2.2/bin/..
/lib
>> >
>> > .jar
>> > #
>> > #
>> > [root@temp bin]#
>> > [root@temp bin]# Exception in thread "main"
>> > java.lang.NoClassDefFoundError: org/
>> > /tomcat/startup/Tomcat
>> >
>> > Any idea about this problem ? I am using Sun's JDK 1.2.2.
>> >
>> > thanks in advance
>> >
>> > Jorge V.S.'000404
>> > --
>> > ////////////////////////////////////////////////////////////////////////
>> >
>> > //  ALEF DATA S.A.  //
>> > //  Fn:(562) 695-6600  //  Jorge Valenzuela Sepulveda
>> > //  Fx:(562) 697-2037  //  Jefe Area de IngenierĂ­a
>> > //  Agustinas 1141 piso 7. //  jvalen@alefdata.cl
>> > //  Santiago, Chile  //  alefdata@alefdata.cl
>> > ///////////////////////////////////////////////////////////////////////
>> >
>> >
--------------------------------------------------------------------------
>> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
>> 
>> --------------------------------------------------------------------------
>> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>

Mime
View raw message