Okay, now we know that your tomcat is up and listening on port 8080.

try the telnet sequence with localhost as hostname.

> -----Urspr�ngliche Nachricht-----
> Von: Steve [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 15. Januar 2002 08:31
> An: Tomcat Users List
> Betreff: Re: AW: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand
> Alone Mode
> 
> 
> Okay.  I executed some of these commands.  I didn't try the last part 
> about telneting because I couldn't find a hostname.
> 
> Any clues you can get from this will be appreciated.
> 
> BTW the permissions of my Tomcat directory are as follows:
> User: steve
> Group: users
> 
> rwx rwx rwx
> 
> Maybe this has something to do with it.
> 
> 
> 
> Here is my output:
> 
> steve@linux:/usr/local/Tomcat/bin > startup.sh
> Using CLASSPATH: 
> /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar
> Using CATALINA_BASE: /usr/local/Tomcat
> Using CATALINA_HOME: /usr/local/Tomcat
> Using JAVA_HOME:     /usr/local/JDK
> steve@linux:/usr/local/Tomcat/bin >
> 
> steve@linux:/usr/local/Tomcat/bin > su root
> Password:
> root@linux:/usr/local/Tomcat/bin > lsof -i :8080
> COMMAND  PID  USER   FD   TYPE DEVICE SIZE NODE NAME
> java    1185 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1212 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1213 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1214 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1215 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1216 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1217 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1218 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1219 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1220 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1221 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1222 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1223 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1224 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1225 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1226 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1227 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1228 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1229 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1230 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1231 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> java    1232 steve    6u  IPv4   6403       TCP *:http-alt (LISTEN)
> root@linux:/usr/local/Tomcat/bin >
> 
> 
> 
> 
> 
> root@linux:/usr/local/Tomcat/bin > ps p 1232
>    PID TTY      STAT   TIME COMMAND
>   1232 pts/1    S      0:00 
> /usr/local/JDK/bin/i386/native_threads/java 
> -classpath /usr/local/Tomcat/bin/bootstrap.
> root@linux:/usr/local/Tomcat/bin > ps p 1220
>    PID TTY      STAT   TIME COMMAND
>   1220 pts/1    S      0:00 
> /usr/local/JDK/bin/i386/native_threads/java 
> -classpath 
> /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.r
> oot@linux:/usr/local/Tomcat/bin 
>  > ps p 1185
>    PID TTY      STAT   TIME COMMAND
>   1185 pts/1    S      0:10 
> /usr/local/JDK/bin/i386/native_threads/java 
> -classpath 
> /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.r
> oot@linux:/usr/local/Tomcat/bin 
>  >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Ralph Einfeldt wrote:
> 
> > The following line from your mail indicates that tomcat is 
> listening:
> > tcp        0      0 0.0.0.0:8080            0.0.0.0:* LISTEN
> > 
> > To be really shure that this is tomcat do the following.
> > (As root)
> > lsof -i :8080
> > 
> > Witch that you get the pid of the program that listens on port 8080.
> > To find out more about that process: (Make the window big enough to 
> > see something from the command line)
> > ps p <pid>
> > 
> > Try with the hostname that is listed in the output of lsof the
> > following:
> > 
> > telnet <hostname> 80
> > GET / HTTP 1.0
> > <Return>
> > <Return>
> > 
> > This should hit tomcat and produce at least some log messages.
> > 
> > 
> >>-----Urspr�ngliche Nachricht-----
> >>Von: Steve [mailto:[EMAIL PROTECTED]]
> >>Gesendet: Dienstag, 15. Januar 2002 04:49
> >>An: Tomcat Users List
> >>Betreff: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In 
> Stand Alone
> >>Mode
> >>
> >>
> >>
> >>
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> -- 
> Steve
> 
> 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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to