tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve <stevesuse...@yahoo.com>
Subject Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Date Tue, 15 Jan 2002 03:49:16 GMT


David Smith wrote:

> hmmm.... if you do a ps -a | grep java, do you get a list of java threads?  
> That'll show that TC is actually working and not getting a seg fault on 
> startup or something.  Also netstat -tln should provide a list of open server 
> ports for your machine and you should see some ports open [8005 (AJP12), 8008 
> (WARP), 8080 or 8180 (HTTP), maybe 8009 (AJP13)] as a result of TC working.


Okay, thanks to the wonders of the KDE 2.1.2 file manager with its 
optional shell gutter I can copy/paste my shell output here.  All the 
outputs are in sequence with how I exectuted them.  I took CATALINA_HOME 
out of my /etc/profile.  I didn't know if it should be Tomcat or 
Tomcat/bin.  I execuated all of these commands from Tomcat/bin

Okay here it is:



======================================================
Here is my console output when starting tomcat 4.0.1
======================================================
steve@linux:/usr/local/Tomcat/bin > startup.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:     ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME:     /usr/local/JDK




========================================================
Output from ps -a | grep java after startup.sh
=======================================================

steve@linux:/usr/local/Tomcat/bin > ps -a | grep java
  1368 pts/2    00:00:10 java
  1395 pts/2    00:00:00 java
  1396 pts/2    00:00:01 java
  1397 pts/2    00:00:00 java
  1398 pts/2    00:00:00 java
  1399 pts/2    00:00:00 java
  1400 pts/2    00:00:00 java
  1401 pts/2    00:00:00 java
  1402 pts/2    00:00:01 java
  1403 pts/2    00:00:00 java
  1404 pts/2    00:00:00 java
  1405 pts/2    00:00:00 java
  1406 pts/2    00:00:00 java
  1407 pts/2    00:00:00 java
  1408 pts/2    00:00:00 java
  1409 pts/2    00:00:00 java
  1410 pts/2    00:00:00 java
  1411 pts/2    00:00:00 java
  1412 pts/2    00:00:00 java
  1413 pts/2    00:00:00 java
  1414 pts/2    00:00:00 java
  1415 pts/2    00:00:00 java
steve@linux:/usr/local/Tomcat/bin >

=========================================================
Output from netstat -tln
=========================================================

steve@linux:/usr/local/Tomcat/bin > netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:32770           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8008            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN
tcp        0      0 :::22                   :::*                    LISTEN
steve@linux:/usr/local/Tomcat/bin >


========================================================
Output from ping localhost  ( I had to abort it, it kept
going.  I cut it off when icmp_seq=100
=======================================================
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.269 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.164 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0.161 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=255 time=0.171 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=255 time=0.168 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=255 time=0.164 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=255 time=0.165 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=255 time=0.163 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=255 time=0.168 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=255 time=0.169 ms


=========================================================
Output from shutdown.sh
=========================================================
steve@linux:/usr/local/Tomcat/bin > shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLAS

======================================================
Here is my console output when starting tomcat 4.0.1
======================================================
steve@linux:/usr/local/Tomcat/bin > startup.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:     ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME:     /usr/local/JDK




========================================================
Output from ps -a | grep java after startup.sh
=======================================================

steve@linux:/usr/local/Tomcat/bin > ps -a | grep java
  1368 pts/2    00:00:10 java
  1395 pts/2    00:00:00 java
  1396 pts/2    00:00:01 java
  1397 pts/2    00:00:00 java
  1398 pts/2    00:00:00 java
  1399 pts/2    00:00:00 java
  1400 pts/2    00:00:00 java
  1401 pts/2    00:00:00 java
  1402 pts/2    00:00:01 java
  1403 pts/2    00:00:00 java
  1404 pts/2    00:00:00 java
  1405 pts/2    00:00:00 java
  1406 pts/2    00:00:00 java
  1407 pts/2    00:00:00 java
  1408 pts/2    00:00:00 java
  1409 pts/2    00:00:00 java
  1410 pts/2    00:00:00 java
  1411 pts/2    00:00:00 java
  1412 pts/2    00:00:00 java
  1413 pts/2    00:00:00 java
  1414 pts/2    00:00:00 java
  1415 pts/2    00:00:00 java
steve@linux:/usr/local/Tomcat/bin >

=========================================================
Output from netstat -tln
=========================================================

steve@linux:/usr/local/Tomcat/bin > netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:32770           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:8005          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8008            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN
tcp        0      0 :::22                   :::*                    LISTEN
steve@linux:/usr/local/Tomcat/bin >


========================================================
Output from ping localhost  ( I had to abort it, it kept
going.  I cut it off when icmp_seq=100
=======================================================
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.269 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.164 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0.161 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=255 time=0.171 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=255 time=0.168 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=255 time=0.164 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=255 time=0.165 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=255 time=0.163 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=255 time=0.168 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=255 time=0.169 ms


=========================================================
Output from shutdown.sh
=========================================================
steve@linux:/usr/local/Tomcat/bin > shutdown.sh
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH:     ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME:     /usr/local/JDK
steve@linux:/usr/local/Tomcat/bin >

SPATH:     ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar
Using CATALINA_BASE: ./..
Using CATALINA_HOME: ./..
Using JAVA_HOME:     /usr/local/JDK
steve@linux:/usr/local/Tomcat/bin >















The Java Resource Dump
http://www.geocities.com/beforewisdom/Java/index.html

-------------------------------------------------------
"Rancor is an outpouring of a feeling of inferiority"
- Jose' Ortega y Gasset
--------------------------------------------------------


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message