This, is because UR Tomcat service is already running. In my case also I'm
getting the same. So, what I did is, "killall Kaffe". I, think there is some
problem in shutting down tomcat service using "shutdown.sh"... Let, the
actual developers will reply U for those issues.
----- Original Message -----
From: Deepak C S <[EMAIL PROTECTED]>
> Ive just installed tomcat3.2.1 on linux and trying to run it
> standalone.
>
> while starting the server,Im getting
>
> FATAL:java.io.IOException: Address already in
> usecat-3.2.1/./webapps/examples"/t
> est context######## static) that#############
> java.io.IOException: Address already in use
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:42)
>         at java.net.ServerSocket.<init>(ServerSocket.java:53)
>         at java.net.ServerSocket.<init>(ServerSocket.java:30)
>         at
> org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
> ServerSocketFactory.java:97)
>         at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
> nt.java:239)
>         at
> org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
> a:188)
>         at
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
>
> If I change the default ports 8080 && 8007 to different Port values,Tomcat
> starts but
>
> After starting the server, If any request is made .
> Im getting
>
>  ContextManager: Erro
> r reading request, ignored - java.lang.ArrayIndexOutOfBoundsException:
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:118)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:69)
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestA
> dapter.java:115)
>         at
> org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServ
> letInputStream.java:106)
>         at
> org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServle
> tInputStream.java:128)
>         at
> javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138
> )
>         at
> org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(Htt
> pRequestAdapter.java:129)
>         at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
> n(HttpConnectionHandler.java:195)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
> 416)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
> :498)
>         at java.lang.Thread.run(Thread.java:314)
>
>
>
>
> while shutting down, Im getting
>
> "java.net.UnknownHostException: Unknown host: localhost     "
>
> hence shutdown is incomplete and I cannot reuse the same PORTS without
> rebooting the m/c else I get Addressalreadyin use exception.
>
>
> Can anybody please help??
>
> thanx in adv,
> Deeps
Regards
Nagappan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to