You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by yahoo <ma...@yahoo.com> on 2000/04/07 04:54:53 UTC

newbie !!

hi everybody,

    Just installed Tomcat binary on Apache (RH Linux). I have edited the
httpd.conf file to include the path for tomcat.conf, restarted httpd and
tried to start tomcat by running tomcat.sh start but it gives following
error:
Exception in the  thread "main" java.lang.ClassDefNotFoundError:
org/apache/tomcat/startup/Tomcat
I think that there is no problem with classpath.
can anybody help?

Thanks in advance,
Manpreet Singh


Re: newbie !!

Posted by Guido Medina <te...@colombus.cu>.
Have you installed a correct version of a Java Virtual Machine ?, remember
that Tomcat is a Java Based Software, OK, maybe it could help you: Donwload
the JDK 1.2.2 from http://java.sun.com after that create a PATH to a
/path/to/jdk1.2.2/bin where every program in your system can find java
compiler but before do this as root type rpm -e kaffe, it is an old and slow
jdk that comes with Red Hat 6.1, I did the same and is working properly...

Guido :-)

----- Original Message -----
From: yahoo <ma...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, April 06, 2000 10:54 PM
Subject: newbie !!


> hi everybody,
>
>     Just installed Tomcat binary on Apache (RH Linux). I have edited the
> httpd.conf file to include the path for tomcat.conf, restarted httpd and
> tried to start tomcat by running tomcat.sh start but it gives following
> error:
> Exception in the  thread "main" java.lang.ClassDefNotFoundError:
> org/apache/tomcat/startup/Tomcat
> I think that there is no problem with classpath.
> can anybody help?
>
> Thanks in advance,
> Manpreet Singh
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Re: newbie !!

Posted by Brian Pulliam <br...@derisilab2.ucsf.edu>.
yahoo wrote:

> hi everybody,
>
>     Just installed Tomcat binary on Apache (RH Linux). I have edited the
> httpd.conf file to include the path for tomcat.conf, restarted httpd and
> tried to start tomcat by running tomcat.sh start but it gives following
> error:
> Exception in the  thread "main" java.lang.ClassDefNotFoundError:
> org/apache/tomcat/startup/Tomcat
> I think that there is no problem with classpath.
> can anybody help?
>
> Thanks in advance,
> Manpreet Singh
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

I had the same problem. For some reason the startup script can't find that
Tomcat class which is in the webserver.jar. I ended up extracting all the
webserver classes into a /classes directory and included that in my
CLASSPATH. If anyone knows the cause of this error I love to know the cause.