I get nothing 'registered' as running on Port 8080, but, here' what I did
find.


>more /etc/services | grep 8080

webcache        8080/tcp                        # WWW caching service
webcache        8080/udp                        # WWW caching service

AND..

>netstat -a | grep web
tcp        0      0 *:webcache              *:*                     LISTEN

Now in addition to all this. Asking for the "request" headers from the
telnet connection on 'telnet 207.139.81.136 8080'

I ask for
HEAD / HTTP/1.0

and this is returned:

HTTP/1.0 500 Internal Server Error
Date: Wed, 25 Oct 2000 15:17:26 GMT
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2;
Linux 2.2.14-5.0 i386; java.vendor=Sun Microsystems Inc.)
Content-Language: en
Content-Type: text/html
Status: 500

<h1>Error: 500</h1>
<h2>Location: /</h2><b>Internal Servlet Error:</b><br>
<pre>
java.lang.ClassCastException: javax.servlet.http.NoBodyResponse
        at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.j
ava:126)
        at
org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
        at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:313)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:757)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
        at java.lang.Thread.run(Thread.java:475)
</pre>

So, I beleive I am halfway there as the Tomcat servlet engine IS running?!?

> -----Original Message-----
> From: Jagannathan, Giri (c) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 10:18 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: confusion on running Stand alone
>
>
> try this on unix:
> at the prompt, type netstat -a |grep PORTNO
>
> -----Original Message-----
> From: John Bateman [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> Sent: Wednesday, October 25, 2000 10:08 AM
> To: [EMAIL PROTECTED]
> Subject: RE: confusion on running Stand alone
>
>
> I'm actually putting in the IP address of the server.
>
> > -----Original Message-----
> > From: Stephen Adkins [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > Sent: Tuesday, October 24, 2000 5:13 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: confusion on running Stand alone
> >
> >
> > Hi,
> >
> > Are you really entering something like
> >
> >    http://192.9.2.200:8080/index.html
> <http://192.9.2.200:8080/index.html>
>
> >
> > or are you literally entering
> >
> >    http://serverip:8080/index.html
> <http://serverip:8080/index.html>
> >
> > ?  If you are doing the second, you are misunderstanding that
> > "serverip"
> > should be replaced with the IP address of your server as in
> the first
> > example.
> >
> >
> > At 05:05 PM 10/24/00 -0400, you wrote:
> > >Hi
> > >
> > >Yeah, weird eh? The browser (IE) tells me "DNS Error or
> > Cannot Find Server".
> > >As an aside I'm running apache on Port 80 and it serves up
> > the web pages
> > >fine (for other websites, NOT the ones Tomcat points to).
> > >
> > >I appreciate your help.
> > >
> > >> -----Original Message-----
> > >> From: Ben Souther [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > >> Sent: Tuesday, October 24, 2000 5:03 PM
> > >> To: [EMAIL PROTECTED]
> > >> Subject: Re: confusion on running Stand alone
> > >>
> > >>
> > >> You're getting DNS errors when you enter the "IP" number?
> > >>
> > >>
> > >>
> > >> ----- Original Message -----
> > >> From: Jagannathan, Giri (c) <[EMAIL PROTECTED]>
> > >> To: <[EMAIL PROTECTED]>
> > >> Sent: Tuesday, October 24, 2000 4:51 PM
> > >> Subject: RE: confusion on running Stand alone
> > >>
> > >>
> > >> > jus try accessing http://serverip:8080 <http://serverip:8080>
> without the file
> > >> index.html!!  It
> > >> > worked for me..
> > >> >
> > >> > -----Original Message-----
> > >> > From: John Bateman [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > >> > Sent: Tuesday, October 24, 2000 4:53 PM
> > >> > To: Tomcat-User (E-mail)
> > >> > Subject: confusion on running Stand alone
> > >> >
> > >> >
> > >> > Hi
> > >> >
> > >> > I'm a bit confused over all the documentation I've been
> > >> reading. It tells
> > >> me
> > >> > to run the tomcat server in stand alone mode and verify
> > >> that I can get the
> > >> > servlets working before I try running it in or out of
> > >> process with another
> > >> > webserver.
> > >> >
> > >> > This I understand, but I can't seem to find an example on
> > >> how to verify
> > >> that
> > >> > my stand alone configuration works.
> > >> >
> > >> > The tomcat seems to start fine and when I telnet to the IP
> > >> address of my
> > >> > server on port 8080 (or even port 8007) there's a response
> > >> from something
> > >> > sitting there waiting for a connection, but, when I
> try accessing
> > >> > http://serverip:8080/index.html
<http://serverip:8080/index.html>  OR
> > http://serverip:8080/test/index.html
<http://serverip:8080/test/index.html>  I
> >> always get DNS can't locate server errors.
> >>
> >> The log files seem to be happy with the exception that I
> occasionally see
> >> this error message in the tomcat.log file. the error is
> marked by *'s,
> >I've
> >> just included the whole log file as it's quite small and
> maybe the insight
> >> will help.
> >> (FYI: /usr/local/tomcat is a symbolic link to
> /usr/local/jakarta-tomcat)
> >>
> >> Starting tomcat install="/usr/local/tomcat"
> >home="/usr/local/jakarta-tomcat"
> >> classPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/t
> >>
> >omcat/lib/jasper.jar:/usr/local/tomcat/lib/servlet.jar:/usr/l
> ocal/tomcat/lib
> >> /test:/usr/local/tomcat/lib/webserver.jar:/usr/local/tom
> >>
> >cat/lib/xml.jar:/usr/local/java/lib/tools.jar:.:./:/lib/class
> es.zip:/classes
> >> :/lib/dt.jar:/lib/tools.jar:/jre/lib/rt.jar:/usr/local/l
> >> ib/jconn2.jar"
> >> Context log: path="/admin" Automatic context load
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Context log: path="/admin" Adding context path="/admin"
> >> docBase="/usr/local/jakarta-tomcat/webapps/admin"
> >> Starting endpoint port="8080"
> >> handler="org.apache.tomcat.service.http.HttpConnectionHandler"
> >> Starting endpoint port="8007"
> >>
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"
> >> **** Error reading request connection reset ****
> >>
> >> Thanks a million.
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >> John Bateman
> >> Cyber World Group Inc.
> >>
> >>
> >

Reply via email to