tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Grzebyta" <ol...@talex.com.pl>
Subject Odp: java.lang.ClassNotFoundException?
Date Wed, 03 May 2000 13:11:07 GMT
If your platform (you should give that info) is win95/98 your problems could
be similar to mine:
http://jakarta.apache.org/bugs/show_bug.cgi?id=251

Try to run Tomcat with JDK 1.1.7 to make sure the problem is exactly the
same. It looks like some JARs were compiled with 1.1.* and will not load
with 1.2.2.

sincerely Olek

----- Original Message -----
From: Alec Cove <covea@kpe.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, May 02, 2000 8:47 PM
Subject: java.lang.ClassNotFoundException?


> Im getting these errors:
> java.lang.ClassNotFoundException:
> org/apache/tomcat/service/http/HttpConnectionHandler
>
> and
>
> FATAL:java.lang.Exception: Invalid ConnectionHandler
>
> when I try to start up tomcat. Any ideas why this would come up? The
> classpath seems right. HttpConnectionHandler is in webserver.jar, which
> seems to be correct in the classpath.
>
> below is the entire:
> ----------------------------------
> H:\desktop\tomcat\bin>tomcat run
> Using classpath:
> h:\desktop\tomcat\classes;h:\desktop\tomcat\lib\webserver.jar;h
>
:\desktop\tomcat\lib\jasper.jar;h:\desktop\tomcat\lib\xml.jar;h:\desktop\tom
> cat\
> lib\servlet.jar;H:\jdk1.2.2\lib\tools.jar;h:\jdk1.2.2\lib\servlet.jar
> java.lang.ClassNotFoundException:
> org/apache/tomcat/service/http/HttpConnectionH
> andler
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Compiled Code)
>         at
> org.apache.tomcat.service.SimpleTcpConnector.setProperty(SimpleTcpCon
> nector.java:180)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.tomcat.util.xml.MethodSetter.end(Compiled Code)
>         at org.apache.tomcat.util.xml.XmlMapper.matchEnd(Compiled Code)
>         at
> org.apache.tomcat.util.xml.XmlMapper.endElement(XmlMapper.java:96)
>         at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
>         at com.sun.xml.parser.Parser.content(Compiled Code)
>         at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
>         at com.sun.xml.parser.Parser.content(Compiled Code)
>         at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
>         at com.sun.xml.parser.Parser.content(Compiled Code)
>         at com.sun.xml.parser.Parser.maybeElement(Compiled Code)
>         at com.sun.xml.parser.Parser.parseInternal(Compiled Code)
>         at com.sun.xml.parser.Parser.parse(Parser.java:283)
>         at
org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> Context log: path="/examples" Adding context path="/examples"
> docBase="webapps/
> examples"
> Context log: path="" Adding context path=""  docBase="webapps/ROOT"
> Context log: path="/test" Adding context path="/test"
> docBase="webapps/test"
> Starting tomcat. Check logs/tomcat.log for error messages
> Starting tomcat install="h:\desktop\tomcat" home="H:\desktop\tomcat"
> classPath="
>
h:\desktop\tomcat\classes;h:\desktop\tomcat\lib\webserver.jar;h:\desktop\tom
> cat\
>
lib\jasper.jar;h:\desktop\tomcat\lib\xml.jar;h:\desktop\tomcat\lib\servlet.j
> ar;H
> :\jdk1.2.2\lib\tools.jar;h:\jdk1.2.2\lib\servlet.jar"
> Context log: path="/admin" Automatic context load
> docBase="H:\desktop\tomcat\web
> apps\admin"
> Context log: path="/admin" Adding context path="/admin"
> docBase="H:\desktop\tom
> cat\webapps\admin"
> FATAL:java.lang.Exception: Invalid ConnectionHandler
> java.lang.Exception: Invalid ConnectionHandler
>         at
> org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector
> .java:133)
>         at org.apache.tomcat.core.ContextManager.start(Compiled Code)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message