You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jorge Valenzuela <jv...@alefdata.cl> on 2000/04/04 18:19:41 UTC

Jakarta problems to start up

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
///////////////////////////////////////////////////////////////////////



Re: Jakarta problems to start up

Posted by Juan Alvarez Ferrando <ja...@oviedo.syseca.es>.
"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

Re: Jakarta problems to start up

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
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