You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kilian <ki...@bunny.ch> on 2002/09/01 13:04:29 UTC

Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

Hi all,

I am trying to run the binary distribution of Tomcat 4.0.4 with the Sun 
j2sdk 1.3.1_04 on Linux 2.4.16. $JAVA_HOME and $CATALINA_HOME are set, 
port 8080 is free but when I execute $CATALINA_HOME/bin/startup.sh, I get:

  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.4
  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.4
  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.4/temp
  Using JAVA_HOME:       /usr/lib/java

The shell returns immediately, and for a very short time, `ps x` shows 8 
java processes running, like:

  /usr/lib/jdk1.3.1_04/bin/i386/native_threads/java \
  -Djava.endorsed.dirs=/usr/local/jakarta-tomcat-4.0.4/bin: \
  /usr/local/jakarta-tomcat-4.0.4/common/lib -classpath \
  /usr/lib/java/lib/tools.jar:/usr/loca...

but these disappear after a few seconds. I get no error, nothing gets 
logged into logs/catalina.out and no java or tomcat process is running, 
nothing on Port 8080.

What am I missing? Has anyone experienced similar problems? How can I 
track down this further? I would be grateful for any hint... Thanks very 
much!

Greetings,
Kilian


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

Posted by Kilian <ki...@bunny.ch>.
Tim Funk wrote:
> 1) A java process in linux shows up many times with ps or top (because 
> of multiple threads)
> 2) See logs/catalina.out for an error message. There is propably a 
> misconfig in server.xml or another run time error the tomcat cannot 
> recover from. In any case the logs/catalina.out captures stdout/stderr.

Tim,

Thanks much for your reply. I am using an unmodified server.xml from the 
binary distribution and logs/catalina.out is empty; it contains nothing 
at all.

Sorry - this is the first time I am using tomcat; how can I track this 
error down? What options do I have?

Thanks!
Kilian


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Startup-Problems: Tomcat 4.0.4 binary on Linux w/J2SDK 1.3.1

Posted by Tim Funk <fu...@joedog.org>.
1) A java process in linux shows up many times with ps or top (because 
of multiple threads)
2) See logs/catalina.out for an error message. There is propably a 
misconfig in server.xml or another run time error the tomcat cannot 
recover from. In any case the logs/catalina.out captures stdout/stderr.


Kilian wrote:
> Hi all,
> 
> I am trying to run the binary distribution of Tomcat 4.0.4 with the Sun 
> j2sdk 1.3.1_04 on Linux 2.4.16. $JAVA_HOME and $CATALINA_HOME are set, 
> port 8080 is free but when I execute $CATALINA_HOME/bin/startup.sh, I get:
> 
>  Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.4
>  Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.4
>  Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.4/temp
>  Using JAVA_HOME:       /usr/lib/java
> 
> The shell returns immediately, and for a very short time, `ps x` shows 8 
> java processes running, like:
> 
>  /usr/lib/jdk1.3.1_04/bin/i386/native_threads/java \
>  -Djava.endorsed.dirs=/usr/local/jakarta-tomcat-4.0.4/bin: \
>  /usr/local/jakarta-tomcat-4.0.4/common/lib -classpath \
>  /usr/lib/java/lib/tools.jar:/usr/loca...
> 
> but these disappear after a few seconds. I get no error, nothing gets 
> logged into logs/catalina.out and no java or tomcat process is running, 
> nothing on Port 8080.
> 
> What am I missing? Has anyone experienced similar problems? How can I 
> track down this further? I would be grateful for any hint... Thanks very 
> much!
> 
> Greetings,
> Kilian



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>