Hi Sampath,

This is most likely one of two things:
1) Some other program is already running and using port 8080.  You can use netstat to 
check this
out.  You might to telnet to port 8080 and see what you get.

2) This may be because you had previously started Tomcat, without stopping it, and are 
now trying to
start it again.  You should stop tomcat using the shutdown scripts, or, easier -- use 
the tomcat.sh
script (type 'tomcat.sh' to see usage) to start and shutdown Tomcat.

David

Sampath K Settipalli wrote:

> Hi ,
>
>   I downloaded  tomcat 3.2.3. When I try to start it it displays  below
> messages and then the error messages. It's on sun solaris. Why am I
> getting this error and how can I overcome this.
>
> --------------------------------------
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /examples )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /admin )
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx(  )
> 2001-07-20 09:58:57 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
>         at java.net.ServerSocket.<init>(ServerSocket.java:173)
>         at java.net.ServerSocket.<init>(ServerSocket.java:124)
>         at
> 
>org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
>
>         at
> org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
>
>         at org.apache.tomcat.service.PoolTcpConnector.start(Compiled
> Code)
>         at org.apache.tomcat.core.ContextManager.start(Compiled Code)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
>
> ---------------------------------------
>
> Thanks in Advance,
> Sam

Reply via email to