Ralph Einfeldt wrote:

> I'm not familiar with the default install. 
> (The last install is a year ago and wasn't done by me)


By default install I only mean what you get once you uncompress Tomcat.
Usually with the default install( once you have the env variables set 
up) you get sent to a tomcat welcome page if you type 
http://localhost:8080 into your browser.......if tomcat is functioning 
properly

This is what I haven't been able to get with Tomcat 4.0.1, jdk 1.3.1_02.




> 
> To see something, there must be a index.html somewhere
> in the default context, if not you won't see anything
> but 'file not found'.
> 
> What kind of error do you get in the browser?


If I am connected to the internet none.

Netscape just sends me to some general page in its domain:
http://search.netscape.com/search.psp?cp=clkussrp&charset=UTF-8&search=localhost

If am not connected to the internet I get an pop up with the message
"the connection was refused when attempting to contact info.netscape.com





> 
> 
>>-----Urspr�ngliche Nachricht-----
>>Von: Steve [mailto:[EMAIL PROTECTED]]
>>Gesendet: Mittwoch, 16. Januar 2002 16:48
>>An: Tomcat Users List
>>Betreff: Re: AW: AW: AW: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In
>>Stand Alone Mode
>>
>>
>>
>>
>>Ralph Einfeldt wrote:
>>
>>
>>>So tomcat is not only listening but also serving locally.
>>>
>>>The 'Moved Temporarily' is just a redirect from / to /index.html
>>>
>>>If there is a page index.html in your webapp, you should be able 
>>>to visit the site from a browser locally.
>>>
>>
>>
>>I haven't gotten as far as making a webapp:).  I just 
>>installed Tomcat 
>>4.0.1 on Suse 7.2 with the jdk 1.3.1_02.   All of this has been about 
>>the initial testing with trying to get Tomcat's default page 
>>to come up 
>>when I type in http://localhost:8080.
>>
>>I still haven't gotten there :).
>>
>>
>>
>>>Verify that your browser is not using a proxy, as the
>>>proxy might be an additional source for an error.
>>>
>>
>>No problems there.  I'm using Netscape 6.2.1.  Under Edit | 
>>Preferences 
>>| Advanced | Proxies it is set to a radio button that says "Connect 
>>directly to the internet, no proxy".
>>
>>I haven't had any luck using the konqueror browser either.
>>
>> 
>>
>>>>-----Urspr�ngliche Nachricht-----
>>>>Von: Steve [mailto:[EMAIL PROTECTED]]
>>>>Gesendet: Mittwoch, 16. Januar 2002 03:20
>>>>An: Tomcat Users List
>>>>Betreff: Re: AW: AW: Tomcat 4.0.1 Suse 7.2 Can't Get It To 
>>>>Work In Stand
>>>>Alone Mode
>>>>
>>>>
>>>>Sharp thinking Ralph.
>>>>
>>>>I finally got an error message when telneting to localhost 
>>>>8080. I ran 
>>>>GET / HTTP 1.0 and Tomcat generated an error page in html.  
>>>>This was the 
>>>> message:
>>>>
>>>>=========================================
>>>>Apache Tomcat/4.0.1 - HTTP Status 302 - Moved Temporarily
>>>>type Status report
>>>>message Moved Temporarily
>>>>
>>>>description The requested resource (Moved Temporarily) has moved 
>>>>temporarily to a new location.
>>>>=========================================
>>>>
>>>>The Tomcat logs once again showed everything to be fine.
>>>>
>>>>My knowledge of HTTP protocols is very limited so I have no 
>>>>
>>idea what 
>>
>>>>Tomcat means by "Moved temporarily" or what to do about it :).
>>>>
>>>>The output from the telnet session mentioned that an initial 
>>>>address was 
>>>>refused.  Maybe that has something to do with it?
>>>>
>>>>
>>>>In case you have any ideas he is the shell output of the 
>>>>telnet I ran on 
>>>>localhost:
>>>>
>>>>==============================================================
>>>>==============
>>>>steve@linux:/usr/local/Tomcat/bin > telnet localhost 8080
>>>>Trying ::1...
>>>>telnet: connect to address ::1: Connection refused
>>>>Trying 127.0.0.1...
>>>>Connected to localhost.
>>>>Escape character is '^]'.
>>>>GET / HTTP 1.0
>>>>
>>>>HTTP/1.1 302 Moved Temporarily
>>>>Content-Type: text/html
>>>>Date: Wed, 16 Jan 2002 02:05:55 GMT
>>>>Location: http://localhost:8080/index.html
>>>>Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
>>>>Connection: close
>>>>
>>>><html><head><title>Apache Tomcat/4.0.1 - Error 
>>>>report</title><STYLE><!--H1{font-family : 
>>>>sans-serif,Arial,Tahoma;color 
>>>>: white;background-color : #0086b2;} BODY{font-family : 
>>>>sans-serif,Arial,Tahoma;color : black;background-color : 
>>>>white;} B{color 
>>>>: white;background-color : #0086b2;} HR{color : #0086b2;} 
>>>>
>>--></STYLE> 
>>
>>>></head><body><h1>Apache
>>>>Tomcat/4.0.1 - HTTP Status 302 - Moved Temporarily</h1><HR size="1" 
>>>>noshade><p><b>type</b> Status report</p><p><b>message</b> <u>Moved 
>>>>Temporarily</u></p><p><b>description</b> <u>The requested resource 
>>>>(Moved Temporarily) has moved temporarily to a new 
>>>>location.</u></p><HR 
>>>>size="1" noshade></body></html>Connection closed by foreign host.
>>>>steve@linux:/usr/local/Tomcat/bin >
>>>>==============================================================
>>>>=============
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Ralph Einfeldt wrote:
>>>>
>>>>
>>>>
>>>>>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]>
>>>
>>
> 
> 


-- 
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]>

Reply via email to