You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jan Pinkert <Ja...@net-linx.de> on 2000/05/18 18:10:49 UTC
sorry i don't understand this
what is the problem with tomcat 3.1 final release?
this happens when i try to start
C:\jakarta-tomcat\bin>startup
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-tom
cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
\lib\tools.jar;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:\IBMVJava2
\eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
ies\iyp
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version
-? -help print this help message
-X print help on non-standard options
C:\jakarta-tomcat\bin>
and this happens when i change the startup files (/bi/.bat) to the old
version 3.1 beta
C:\jakarta-tomcat\bin>startup
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-tom
cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
\lib\tools.jar;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:\IBMVJava2
\eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
ies\iyp
Setting home to C:\jakarta-tomcat\bin
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="/images" Adding context path="/images"
docBase="c:/test/iyp/
images"
Context log: path="/Images" Adding context path="/Images"
docBase="c:/test/iyp/
images"
Set debug to 1
Context log: path="/musik" Adding context path="/musik"
docBase="d:/jan/musik"
Set debug to 1
Context log: path="/test" Adding context path="/test" docBase="c:/test"
Set debug to 1
Context log: path="/otest" Adding context path="/otest"
docBase="c:/originaltes
t/test"
Set debug to 1
Context log: path="/IYP" Adding context path="/IYP"
docBase="c:/repositories/iy
p"
Failed to generate automatic apache configuration
java.io.FileNotFoundException:
C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
the path
specified)
Starting tomcat. Check logs/tomcat.log for error messages
Starting tomcat install="c:\jakarta-tomcat\"
home="C:\jakarta-tomcat\bin" classP
ath="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\ser
vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
No webapps/ directory C:\jakarta-tomcat\bin\webapps
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)
C:\jakarta-tomcat\bin>
Re: sorry i don't understand this
Posted by gu...@edamame.stinky.com.
> java.lang.ClassNotFoundException: org/apache/tomcat/service/http/HttpConnectionH
> andler
Try upgrading to JDK 1.2.2 or 1.3. Seriously. There's a bug in the JVM Classloader.
- Alex
Re: sorry i don't understand this
Posted by Jan Pinkert <Ja...@net-linx.de>.
got it the error was the name of directory i didnt changed it to tomcat
but now there must be an error in calssoath cause doesn't find the
Using classpath: c:\tomcat\classes;c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jas
per.jar;c:\tomcat\lib\xml.jar;c:\tomcat\lib\servlet.jar;c:\jdk1.2\lib\tools.jar;
c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.jar;C:\IBMVJava2\eab\runtime30;c:\D
emoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp
Setting home to C:\tomcat\bin
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(SimpleTcpConnector.java:180)
but all jar files are explicity set in tomcat.bat
Arion wrote:
> Hi!
>
> Try unset the CLASSPATH before running Tomcat. If success, just try to add only those
> required classpath and try again.
>
> Arion
>
> Jan Pinkert wrote:
>
> > thanks, but the error is still on
> >
> > Arion wrote:
> >
> > > Hi!
> > >
> > > JAVA_HOME shoud be set like c:\jdk1.2
> > > without the trailing \
> > >
> > > Arion
> > >
> > > Jan Pinkert wrote:
> > >
> > > > what is the problem with tomcat 3.1 final release?
> > > > this happens when i try to start
> > > > C:\jakarta-tomcat\bin>startup
> > > > 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-tom
> > > >
> > > > cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
> > > >
> > > > \lib\tools.jar;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:\IBMVJava2
> > > >
> > > > \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
> > > >
> > > > ies\iyp
> > > > Usage: java [-options] class [args...]
> > > > (to execute a class)
> > > > or java -jar [-options] jarfile [args...]
> > > > (to execute a jar file)
> > > >
> > > > where options include:
> > > > -cp -classpath <directories and zip/jar files separated by ;>
> > > > set search path for application classes and resources
> > > > -D<name>=<value>
> > > > set a system property
> > > > -verbose[:class|gc|jni]
> > > > enable verbose output
> > > > -version print product version
> > > > -? -help print this help message
> > > > -X print help on non-standard options
> > > sik"
> > > > Set debug to 1
> > > > Context log: path="/test" Adding context path="/test" docBase="c:/test"
> > > >
> > > > Set debug to 1
> > > > Context log: path="/otest" Adding context path="/otest"
> > > > docBase="c:/originaltes
> > > > t/test"
> > > > Set debug to 1
> > > > Context log: path="/IYP" Adding context path="/IYP"
> > > > docBase="c:/repositories/iy
> > > > p"
> > > > Failed to generate automatic apache configuration
> > > > java.io.FileNotFoundException:
> > > > C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
> > > > the path
> > > > specified)
> > > > Starting tomcat. Check logs/tomcat.log for error messages
> > > > Starting tomcat install="c:\jakarta-tomcat\"
> > > > home="C:\jakarta-tomcat\bin" classP
> > > > ath="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\ser
> > > >
> > > > vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
> > > >
> > > > ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
> > > >
> > > > ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
> > > >
> > > > 30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
> > > >
> > > > No webapps/ directory C:\jakarta-tomcat\bin\webapps
> > > > 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)
> > > > C:\jakarta-tomcat\bin>
> > > >
> > > > --------------------------------------------------------------------------
> > > > 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
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
Re: sorry i don't understand this
Posted by Jan Pinkert <Ja...@net-linx.de>.
did it but sorry it didn't work
this beyond is part of tomcat.bat what is the TOMCAT_OPTS variable its never set
:startServer
echo Starting tomcat in new window
echo Using classpath: %CLASSPATH%
java %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4
%5 %6 %7 %8 %9
goto cleanup
Arion wrote:
> Hi!
>
> Try unset the CLASSPATH before running Tomcat. If success, just try to add only those
> required classpath and try again.
>
> Arion
>
> Jan Pinkert wrote:
>
> > thanks, but the error is still on
> >
> > Arion wrote:
> >
> > > Hi!
> > >
> > > JAVA_HOME shoud be set like c:\jdk1.2
> > > without the trailing \
> > >
> > > Arion
> > >
> > > Jan Pinkert wrote:
> > >
> > > > what is the problem with tomcat 3.1 final release?
> > > > this happens when i try to start
> > > > C:\jakarta-tomcat\bin>startup
> > > > 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-tom
> > > >
> > > > cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
> > > >
> > > > \lib\tools.jar;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:\IBMVJava2
> > > >
> > > > \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
> > > >
> > > > ies\iyp
> > > > Usage: java [-options] class [args...]
> > > > (to execute a class)
> > > > or java -jar [-options] jarfile [args...]
> > > > (to execute a jar file)
> > > >
> > > > where options include:
> > > > -cp -classpath <directories and zip/jar files separated by ;>
> > > > set search path for application classes and resources
> > > > -D<name>=<value>
> > > > set a system property
> > > > -verbose[:class|gc|jni]
> > > > enable verbose output
> > > > -version print product version
> > > > -? -help print this help message
> > > > -X print help on non-standard options
> > > sik"
> > > > Set debug to 1
> > > > Context log: path="/test" Adding context path="/test" docBase="c:/test"
> > > >
> > > > Set debug to 1
> > > > Context log: path="/otest" Adding context path="/otest"
> > > > docBase="c:/originaltes
> > > > t/test"
> > > > Set debug to 1
> > > > Context log: path="/IYP" Adding context path="/IYP"
> > > > docBase="c:/repositories/iy
> > > > p"
> > > > Failed to generate automatic apache configuration
> > > > java.io.FileNotFoundException:
> > > > C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
> > > > the path
> > > > specified)
> > > > Starting tomcat. Check logs/tomcat.log for error messages
> > > > Starting tomcat install="c:\jakarta-tomcat\"
> > > > home="C:\jakarta-tomcat\bin" classP
> > > > ath="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\ser
> > > >
> > > > vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
> > > >
> > > > ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
> > > >
> > > > ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
> > > >
> > > > 30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
> > > >
> > > > No webapps/ directory C:\jakarta-tomcat\bin\webapps
> > > > 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)
> > > > C:\jakarta-tomcat\bin>
> > > >
> > > > --------------------------------------------------------------------------
> > > > 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
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
Re: sorry i don't understand this
Posted by Arion <ar...@talentinfo.com.hk>.
Hi!
Try unset the CLASSPATH before running Tomcat. If success, just try to add only those
required classpath and try again.
Arion
Jan Pinkert wrote:
> thanks, but the error is still on
>
> Arion wrote:
>
> > Hi!
> >
> > JAVA_HOME shoud be set like c:\jdk1.2
> > without the trailing \
> >
> > Arion
> >
> > Jan Pinkert wrote:
> >
> > > what is the problem with tomcat 3.1 final release?
> > > this happens when i try to start
> > > C:\jakarta-tomcat\bin>startup
> > > 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-tom
> > >
> > > cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
> > >
> > > \lib\tools.jar;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:\IBMVJava2
> > >
> > > \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
> > >
> > > ies\iyp
> > > Usage: java [-options] class [args...]
> > > (to execute a class)
> > > or java -jar [-options] jarfile [args...]
> > > (to execute a jar file)
> > >
> > > where options include:
> > > -cp -classpath <directories and zip/jar files separated by ;>
> > > set search path for application classes and resources
> > > -D<name>=<value>
> > > set a system property
> > > -verbose[:class|gc|jni]
> > > enable verbose output
> > > -version print product version
> > > -? -help print this help message
> > > -X print help on non-standard options
> > sik"
> > > Set debug to 1
> > > Context log: path="/test" Adding context path="/test" docBase="c:/test"
> > >
> > > Set debug to 1
> > > Context log: path="/otest" Adding context path="/otest"
> > > docBase="c:/originaltes
> > > t/test"
> > > Set debug to 1
> > > Context log: path="/IYP" Adding context path="/IYP"
> > > docBase="c:/repositories/iy
> > > p"
> > > Failed to generate automatic apache configuration
> > > java.io.FileNotFoundException:
> > > C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
> > > the path
> > > specified)
> > > Starting tomcat. Check logs/tomcat.log for error messages
> > > Starting tomcat install="c:\jakarta-tomcat\"
> > > home="C:\jakarta-tomcat\bin" classP
> > > ath="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\ser
> > >
> > > vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
> > >
> > > ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
> > >
> > > ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
> > >
> > > 30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
> > >
> > > No webapps/ directory C:\jakarta-tomcat\bin\webapps
> > > 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)
> > > C:\jakarta-tomcat\bin>
> > >
> > > --------------------------------------------------------------------------
> > > 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
Re: sorry i don't understand this
Posted by Jan Pinkert <Ja...@net-linx.de>.
thanks, but the error is still on
Arion wrote:
> Hi!
>
> JAVA_HOME shoud be set like c:\jdk1.2
> without the trailing \
>
> Arion
>
> Jan Pinkert wrote:
>
> > what is the problem with tomcat 3.1 final release?
> > this happens when i try to start
> > C:\jakarta-tomcat\bin>startup
> > 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-tom
> >
> > cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
> >
> > \lib\tools.jar;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:\IBMVJava2
> >
> > \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
> >
> > ies\iyp
> > Usage: java [-options] class [args...]
> > (to execute a class)
> > or java -jar [-options] jarfile [args...]
> > (to execute a jar file)
> >
> > where options include:
> > -cp -classpath <directories and zip/jar files separated by ;>
> > set search path for application classes and resources
> > -D<name>=<value>
> > set a system property
> > -verbose[:class|gc|jni]
> > enable verbose output
> > -version print product version
> > -? -help print this help message
> > -X print help on non-standard options
> sik"
> > Set debug to 1
> > Context log: path="/test" Adding context path="/test" docBase="c:/test"
> >
> > Set debug to 1
> > Context log: path="/otest" Adding context path="/otest"
> > docBase="c:/originaltes
> > t/test"
> > Set debug to 1
> > Context log: path="/IYP" Adding context path="/IYP"
> > docBase="c:/repositories/iy
> > p"
> > Failed to generate automatic apache configuration
> > java.io.FileNotFoundException:
> > C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
> > the path
> > specified)
> > Starting tomcat. Check logs/tomcat.log for error messages
> > Starting tomcat install="c:\jakarta-tomcat\"
> > home="C:\jakarta-tomcat\bin" classP
> > ath="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\ser
> >
> > vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
> >
> > ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
> >
> > ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
> >
> > 30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
> >
> > No webapps/ directory C:\jakarta-tomcat\bin\webapps
> > 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)
> > C:\jakarta-tomcat\bin>
> >
> > --------------------------------------------------------------------------
> > 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: sorry i don't understand this
Posted by Arion <ar...@talentinfo.com.hk>.
Hi!
JAVA_HOME shoud be set like c:\jdk1.2
without the trailing \
Arion
Jan Pinkert wrote:
> what is the problem with tomcat 3.1 final release?
> this happens when i try to start
> C:\jakarta-tomcat\bin>startup
> 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-tom
>
> cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
>
> \lib\tools.jar;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:\IBMVJava2
>
> \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
>
> ies\iyp
> Usage: java [-options] class [args...]
> (to execute a class)
> or java -jar [-options] jarfile [args...]
> (to execute a jar file)
>
> where options include:
> -cp -classpath <directories and zip/jar files separated by ;>
> set search path for application classes and resources
> -D<name>=<value>
> set a system property
> -verbose[:class|gc|jni]
> enable verbose output
> -version print product version
> -? -help print this help message
> -X print help on non-standard options
> C:\jakarta-tomcat\bin>
>
> and this happens when i change the startup files (/bi/.bat) to the old
> version 3.1 beta
> C:\jakarta-tomcat\bin>startup
> 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-tom
>
> cat\\lib\servlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2
>
> \lib\tools.jar;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:\IBMVJava2
>
> \eab\runtime30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositor
>
> ies\iyp
> Setting home to C:\jakarta-tomcat\bin
> 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="/images" Adding context path="/images"
> docBase="c:/test/iyp/
> images"
> Context log: path="/Images" Adding context path="/Images"
> docBase="c:/test/iyp/
> images"
> Set debug to 1
> Context log: path="/musik" Adding context path="/musik"
> docBase="d:/jan/musik"
> Set debug to 1
> Context log: path="/test" Adding context path="/test" docBase="c:/test"
>
> Set debug to 1
> Context log: path="/otest" Adding context path="/otest"
> docBase="c:/originaltes
> t/test"
> Set debug to 1
> Context log: path="/IYP" Adding context path="/IYP"
> docBase="c:/repositories/iy
> p"
> Failed to generate automatic apache configuration
> java.io.FileNotFoundException:
> C:\jakarta-tomcat\bin/conf/tomcat-apache.conf (The system cannot find
> the path
> specified)
> Starting tomcat. Check logs/tomcat.log for error messages
> Starting tomcat install="c:\jakarta-tomcat\"
> home="C:\jakarta-tomcat\bin" classP
> ath="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\ser
>
> vlet.jar;c:\jdk1.2\\lib\tools.jar;c:\jdk1.2\jre\lib\rt.jar;c:\jdk1.2\lib\tools.j
>
> ar;c:\jakarta-tomcat\lib\webserver.jar;c:\jakarta-tomcat\lib\jasper.jar;c:\jakar
>
> ta-tomcat\lib\xml.jar;c:\jakarta-tomcat\lib\servlet.jar;C:\IBMVJava2\eab\runtime
>
> 30;c:\DemoPrototypeIYP\xml4j_2_0_15\xml4j.jar;.;c:\test;c:\repositories\iyp"
>
> No webapps/ directory C:\jakarta-tomcat\bin\webapps
> 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)
> C:\jakarta-tomcat\bin>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org