Why Jboss error out on startup?
tcmchow Mar 1, 2003 6:36 PMI am using Apache 2.0.44, mod_jk2 and Jboss3.0.4/Tomcat4.1.12 bundle in Windows 2000P.
Jboss has a startup error trying to use port 8080, here is the message:
2003-03-01 16:40:24,075 INFO [STDOUT] Apache Tomcat/4.1.12-LE-jdk14
2003-03-01 16:40:24,135 INFO [org.jboss.web.localhost.Engine] HttpConnector Opening server socket on all host IP addresses
2003-03-01 16:40:24,145 ERROR [org.jboss.web.localhost.Engine] HttpConnector httpConnector, io problem:
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:980)
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1187)
at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
at org.jboss.web.catalina.EmbeddedCatalinaService41.startService(EmbeddedCatalinaService41.java:254)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I search through the FAQ and forium and do not have a solution. I checked that when I start Apache, it is not only take the port 80 but somehow also 8080 (it may automatically start Jetty or Tomcat through mod_jk2, I suspect). Here is what I get with netstat -a command:
F:\>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP tchow3:http tchow3:0 LISTENING
TCP tchow3:epmap tchow3:0 LISTENING
TCP tchow3:microsoft-ds tchow3:0 LISTENING
TCP tchow3:1025 tchow3:0 LISTENING
TCP tchow3:1026 tchow3:0 LISTENING
TCP tchow3:1027 tchow3:0 LISTENING
TCP tchow3:1029 tchow3:0 LISTENING
TCP tchow3:8009 tchow3:0 LISTENING
TCP tchow3:8080 tchow3:0 LISTENING
TCP tchow3:8080 tchow3:1730 TIME_WAIT
TCP tchow3:netbios-ssn tchow3:0 LISTENING
UDP tchow3:epmap *:*
UDP tchow3:snmp *:*
UDP tchow3:microsoft-ds *:*
UDP tchow3:1028 *:*
UDP tchow3:netbios-ns *:*
UDP tchow3:netbios-dgm *:*
UDP tchow3:router *:*
My question is:
1. why Jboss goes after port 8080 if it is bundled with Tomcat (not sure how they integrate
2. how do I resolve this error
Help appreciated. Thanks
Tom