You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Astrid Wagner <As...@motorola.com> on 2003/09/13 10:33:20 UTC

problems starting/stopping tomcat

Hi ,
I use tomcat 4.1.24, jdk 1.4.0 and Apache 1.3 on Solaris 8.
After having developed and successfully run many servlets I now receive
a "port 8080 already in use problem" after I try to start tomcat.

Sep 13, 2003 10:20:54 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 13, 2003 10:20:54 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 13, 2003 10:20:57 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 13, 2003 10:21:00 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:280
)
        at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)


I did not change any configuration and I do not think that the ports
are in use by any other processes (Apache uses a different port).
Could it be that while doing shutdown-startup sequences a process
has been left hanging (?).
When I replaced port 8080 by 8081 I was able to start tomcat but when I
called a servlet it said "8005" (port for shutdown) in use ?!
When I replaced also 8005 for test purposes the servlet hangs and I
could not see any error being logged (catalina.out, web appl log files, 
Apache log ...).

My question: how do I get more info about what ports tomcat still uses
for what ?
Any hint would be appreciated.
Thanks.

Astrid