1 Reply Latest reply on Oct 7, 2003 8:00 AM by inksystems

    JBoss port conflict with Oracle9i listener

    storm

      Hi,

      I have JBoss installed along with an Oracle9i installation and got the following port conflict:

      14:15:09,151 INFO [STDOUT] Apache Tomcat/4.1.12-LE-jdk14
      14:15:09,201 INFO [Engine] HttpConnector Opening server socket on all host IP addresses
      14:15:09,201 ERROR [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.GeneratedMethodAccessor11.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      ...

      Does anyone know how to change JBoss port or is there another way to solve this problem? Changing the port in the run.bat didn't work.

      Thanks a lot for your ideas!

      Greetings,
      STORM

        • 1. Re: JBoss port conflict with Oracle9i listener
          inksystems

          It seems to me that you use jboss-tomcat bundle. If so, you can change HTTP listener port in

          $JBOSS_HOME/server/default/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml

          There is the 'port' attribute of the Connector tag which defines port to be used by HTTP listener.

          Best regards,
          Igor.