You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rs...@transentric.com on 2002/12/13 16:47:03 UTC

jvm_bind exception - port 8080 - Address in use

This is slightly off-topic (related to JBoss, but involves Tomcat)

Environment: Win NT, JBoss 3.0.4 with Tomcat 4.1.12, JDK1.3.1

I unzipped jboss-3.0.4_tomcat-4.1.12 and tried to run(.bat) JBoss. But
I get an exception saying embedded Tomcat couldn't bind to 8080 (address
already in use). So I checked using netstat and there was no service
listening on port 8080.
Also to be doubly sure that there wasn't anything listening on port 8080, I
started Tomcat by going to jboss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\bin
and typing "catalina run". This time tomcat started up fine on port 8080.

Am I missing something fundamental here?

Log snippet:
-----------
08:41:46,750 INFO  [EmbeddedCatalinaService41] Creating
08:41:46,750 INFO  [EmbeddedCatalinaService41] Created
08:41:46,750 INFO  [EmbeddedCatalinaService41] Starting
08:41:47,828 INFO  [STDOUT] Apache Tomcat/4.1.12-LE-jdk14
08:41:47,860 INFO  [Engine] HttpConnector Opening server socket on all host
IP a
ddresses
08:41:47,875 ERROR [Engine] HttpConnector httpConnector, io problem:
java.net.BindException: Address in use: JVM_Bind:8080
        at
org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:980)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1187)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
        at
org.jboss.web.catalina.EmbeddedCatalinaService41.startService(Embedde
dCatalinaService41.java:254)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
65)
...
....
....
08:41:47,875 ERROR [EmbeddedCatalinaService41] Starting failed
LifecycleException:  null.open:  java.net.BindException: Address in use:
JVM_Bin
d:8080
        at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1209)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
        at
org.jboss.web.catalina.EmbeddedCatalinaService41.startService(Embedde
dCatalinaService41.java:254)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
65)


A little more information....if I change the port to 80 (by updating
tomcat41-service.xml and other associated configuration files), Tomcat
starts up fine with JBoss.

Also, not being a networking guy, any idea why does output (by jboss when
starting)
say 0.0.0.0 instead of the ip address of my machine.
For example:
-----------
08:41:41,719 INFO  [OILServerILService] JBossMQ OIL service available at :
0.0.0
.0/0.0.0.0:8090



Thanks in advance,
RS


This transmission is intended to be strictly confidential. If you are not
the intended recipient of this message, you may not disclose, print, copy
or disseminate this information. If you have received this in error, please
reply and notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>