You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jun xu sun <ju...@silkroute.com> on 2000/11/08 18:11:58 UTC
mysterious death
hi, there,
I run tomcat 4.0 on Solaris, every half hour, it would die suddenly, no reason, no erro, no warning, how come to this?
thanks.
rgds
sun
-----Original Message-----
From: Julio Serje (@canada.com) <js...@home.com>
To: Philip Chan <ph...@interlog.com>; tomcat-user@jakarta.apache.org <to...@jakarta.apache.org>
Date: Tuesday, November 07, 2000 8:33 PM
Subject: Re: Starting TomCat
Try moving \Tomcat3.1\jakarta-tomcat to \tomcat
Julio
----- Original Message -----
From: Philip Chan
To: tomcat-user@jakarta.apache.org ; Julio Serje (@canada.com)
Sent: Tuesday, November 07, 2000 1:50 PM
Subject: Re: Starting TomCat
Hi
I am new to Tomcat.
The startup script never work. With the JustGo, I got this Jstart.log.
=========
This exe is F:\Tomcat3.1\jakarta-tomcat\bin\Jstart.exe
Finding TOMCAT_HOME via current location
TOMCAT_HOME = F:\Tomcat3.1\jakarta-tomcat
TOMCAT_LIB = F:\Tomcat3.1\jakarta-tomcat\lib
JAVA_HOME = D:\jdk1.2
JAVA_EXE = D:\jdk1.2\bin\java.exe
CLASSPATH:
.;F:\Tomcat3.1\jakarta-tomcat\lib\ant.jar;F:\Tomcat3.1\jakarta-tomcat\lib\jasper.jar;F:\Tomcat3.1\jakarta-tomcat\lib\servlet.jar;F:\Tomcat3.1\jakarta-tomcat\lib\webserver.jar;F:\Tomcat3.1\jakarta-tomcat\lib\xml.jar;D:\jdk1.2\lib\tools.jar
Executable :
D:\jdk1.2\bin\java.exe
Command line arguments (in order appended) :
-Dtomcat.home=F:\Tomcat3.1\jakarta-tomcat
org.apache.tomcat.startup.Tomcat
Environment Vars :
TOMCAT_HOME=F:\Tomcat3.1\jakarta-tomcat
TOMCAT_LIB=F:\Tomcat3.1\jakarta-tomcat\lib
JAVA_HOME=D:\jdk1.2
JAVA_EXE=D:\jdk1.2\bin\java.exe
WINDIR=D:\WINNT
SystemRoot=D:\WINNT
CLASSPATH=.;F:\Tomcat3.1\jakarta-tomcat\lib\ant.jar;F:\Tomcat3.1\jakarta-tomcat\lib\jasper.jar;F:\Tomcat3.1\jakarta-tomcat\lib\servlet.jar;F:\Tomcat3.1\jakarta-tomcat\lib\webserver.jar;F:\Tomcat3.1\jakarta-tomcat\lib\xml.jar;D:\jdk1.2\lib\tools.jar
-------------------------------
=========
Which seem to indicate everything is working. In fact if I pause the screen, I see this.
java.lang.ClassNotFoundException: org/apache/tomcat/service/http/HttpConnectionHandler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at org.apache.tomcat.service.SimpleTcpConnector.setProperty(SimpleTcpConnector.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)
So I am back to square one.
I have check the classpath and the class HttpConnectionHandler is in one of the .jar.
cd F:\Tomcat3.1\jakarta-tomcat\lib
jar tvf webserver.jar
...
361 Tue Apr 18 15:56:22 EDT 2000 org/apache/tomcat/service/http/package.html
573 Tue Apr 18 15:56:22 EDT 2000 org/apache/tomcat/service/http/Constants.class
4224 Tue Apr 18 15:56:22 EDT 2000 org/apache/tomcat/service/http/HttpConnectionHandler.class
2653 Tue Apr 18 15:56:22 EDT 2000 org/apache/tomcat/service/http/HttpResponseAdapter.class
...
Is Tomcat 3.1 working on NT4.0 or not ?
-----Original Message-----
From: Julio Serje (@canada.com) <js...@home.com>
To: tomcat-user@jakarta.apache.org <to...@jakarta.apache.org>
Date: Monday, November 06, 2000 11:35 PM
Subject: Re: Starting TomCat
A couple of suggestions (I assume you are using a Win platform as you are mentioning bat files...):
a) install tomcat in a path with no spaces (i.e. do not use Program files). Rename the jakarta-tomcat directory to tomcat. I suggest you install it at the root level (d:\tomcat)
b) configure your environment space. There are several ways to do this - one is adding a line with CommandEnvSize=4096 to the NonWindowsApp section of your system.ini.
c) be sure that you are setting TOMCAT_HOME and JAVA_HOME properly (usually in your \autoexec.bat). Also configure your classpath,if you need one.
d) there is a very nice tool JustGo that you can use if you definitely are not able to start Tomcat. see http://www.geocities.com/jdrudnicki/
Many issues related to configure and run Tomcat have been posted in this mailing list. I would also suggest you spend some time looking in the archives of this and other mailing list, the documentation, etc.
Julio Serje
----- Original Message -----
From: Tom Carroll
To: 'tomcat-user@jakarta.apache.org'
Sent: Monday, November 06, 2000 1:17 PM
Subject: Starting TomCat
Have used TOMCAT at all? I'm trying to configure the system and according to their documentation all I need to
do is run the BAT file called TOMCAT with a parameter of RUN or START. It end up blowing up on a CLASSDEFNOTFOUND
error. After looking at the BAT file, I see that its trying to lauch a JAVA program "org.apache.tomcat.startup.Tomcat ".
The install didn't even create a "org.apache.tomcat.startup.Tomcat" directory or file. I do have a "src.org.apache.tomcat.startup.Tomcat.java",
but this source only. It doesn't make any mention abount having to build the system. Any thoughts? Did I down load the wrong thing?
Thanks Tom Carroll
Re: mysterious death
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
jun xu sun wrote:
> hi, there,I run tomcat 4.0 on Solaris, every half hour, it would die
> suddenly, no reason, no erro, no warning, how come to
> this? thanks. rgdssun
Without knowing the contents of the log files that Tomcat produces (in
the $CATALINA_HOME/logs directory), it is basically impossible to know
what happened.
Craig McClanahan