1 Reply Latest reply on Apr 23, 2007 11:47 PM by Elias Ross

    Tomcat can't start

    Carlos Gardel Newbie

      Hello

      I've copied a JBoss instance from a server to a new one to make some tests and I've changed some ports configurations to avoid collisions.

      When I start JBoss I receive the message:

      java.net.BindException: Address already in use:7130
       at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
       at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:182)
       at org.apache.catalina.connector.Connector.start(Connector.java:1001)
       at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:510)
       at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:539)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
       at $Proxy32.handleNotification(Unknown Source)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
       at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:879)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:468)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
       at org.jboss.Main.boot(Main.java:187)
       at org.jboss.Main$1.run(Main.java:438)
       at java.lang.Thread.run(Thread.java:534)
      13:03:17,952 WARN [Tomcat5] Failed to startConnectors
      LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use:7130
       at org.apache.catalina.connector.Connector.start(Connector.java:1003)
       at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:510)
       at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:539)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
       at $Proxy32.handleNotification(Unknown Source)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
       at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:879)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:468)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
       at org.jboss.Main.boot(Main.java:187)
       at org.jboss.Main$1.run(Main.java:438)
       at java.lang.Thread.run(Thread.java:534)
      
      



      I've tried to find the 7130 setting using grep without success. This was the older port number I changed by 8130 in

      deploy/jbossweb-tomcat55.sar/server.xml

      I wonder where should I made another change to allow tomcat to start without the bind error.


      Thanks

      J