tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lan Yufeng <nl...@cc.curtin.edu.au>
Subject Re: Help me to start
Date Tue, 06 Jun 2000 06:34:16 GMT
Dear Darren
I have done all you mentioned already. Please look at the starterror.txt I attached to
the firt mail, and you can find that the problem is java can't find a class in .....

Lanyf

Darren Lee Deliang wrote:

> did you add the jdk\bin path into the existing enviroment variable named
> PATH and did you switch off the proxy settings from your browser?
>
> after that fire your browser and enter http://localhost:8080 and you should
> see tomcat page there
>
> DArren
>
> >From: Lan Yufeng <nlany@cc.curtin.edu.au>
> >Reply-To: tomcat-user@jakarta.apache.org
> >To: tomcat-user@jakarta.apache.org
> >Subject: Re: Help me to start
> >Date: Tue, 06 Jun 2000 14:19:57 +0800
> >
> >Excuse for my trival questions again.
> >I have followed the user guide( tomcat_ug.html ) precisely, and I've copied
> >tools.jar
> >from jdk's directory to tomcat's as Darren suggested. But it is still not
> >working. I
> >have JAVA_HOME, PATH and TOMCAT_HOME all set, otherwise I cant even run
> >startup.bat.
> >Am I the only one met this problem? Should I build tomcat from the source?
> >
> >Darren Lee Deliang wrote:
> >
> > > maybe got to set the java_home and tomcat_home enviroment variables and
> >dump
> > > tools.jar into tomcat
> > >
> > > DArren
> > >
> > > >From: Lan Yufeng <nlany@cc.curtin.edu.au>
> > > >Reply-To: tomcat-user@jakarta.apache.org
> > > >To: The Tomcat User List <tomcat-user@jakarta.apache.org>
> > > >Subject: Help me to start
> > > >Date: Tue, 06 Jun 2000 12:03:35 +0800
> > > >
> > > >HI, all dear user:
> > > >I have install problem on win32:
> > > >I have downloaded Tomcat3.1 binary zip file to my winNT4.0 with SUN
> > > >jdk1.2 installed. But when I excute startup.bat to launch the tomcat
> >for
> > > >the first time. It terminated with error info:
> > > >     C:\jakarta\tomcat\bin>tomcat run
> > > >     Using classpath:
> > > >C:\jakarta\tomcat\classes;C:\jakarta\tomcat\lib\webserver.jar;C
> > > >
> > >
> > >:\jakarta\tomcat\lib\jasper.jar;C:\jakarta\tomcat\lib\xml.jar;C:\jakarta\tomcat\
> > > >
> > > >     lib\servlet.jar;c:\jdk1.2\lib\tools.jar
> > > >     java.lang.ClassNotFoundException:
> > > >     org/apache/tomcat/service/http/HttpConnectionHandler
> > > >         at java.lang.Class.forName0(Native Method)
> > > >         at java.lang.Class.forName(Compiled Code)
> > > >  ... ...
> > > >It seems that the java command cant find the class needed in the jar
> > > >file, but I checked webserver.jar in %tomcat_home%\lib, there is that
> > > >class file in the jar file.
> > > >I am not familiar with java class structure, maybe it is because the
> > > >path delimiter should be '\' not '/' in MS Windows? help me. I have put
> > > >all error info in attachment.
> > > >C:\jakarta\tomcat\bin>tomcat run
> > > >Using classpath:
> > > >C:\jakarta\tomcat\classes;C:\jakarta\tomcat\lib\webserver.jar;C
> > >
> > >:\jakarta\tomcat\lib\jasper.jar;C:\jakarta\tomcat\lib\xml.jar;C:\jakarta\tomcat\
> > > >lib\servlet.jar;c:\jdk1.2\lib\tools.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="C:\jakarta\tomcat" home="C:\jakarta\tomcat"
> > > >classPath="
> > >
> > >C:\jakarta\tomcat\classes;C:\jakarta\tomcat\lib\webserver.jar;C:\jakarta\tomcat\
> > >
> > >lib\jasper.jar;C:\jakarta\tomcat\lib\xml.jar;C:\jakarta\tomcat\lib\servlet.jar;c
> > > >:\jdk1.2\lib\tools.jar"
> > > >Context log: path="/admin" Automatic context load
> > > >docBase="C:\jakarta\tomcat\web
> > > >apps\admin"
> > > >Context log: path="/admin" Adding context path="/admin"
> > > >docBase="C:\jakarta\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
> > >
> > > ________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> > >
> > >
> >--------------------------------------------------------------------------
> > > 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
> >
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message