Results 1 to 4 of 4
  1. #1
    Alan is offline Member
    Join Date
    May 2007
    Posts
    39
    Rep Power
    0

    Default Problem with tomcat and jboss

    Hello everybody

    I´ve copy an instance that I had in a server to an other, and I have to change the ports

    When I run this instance I received this error:


    --------------
    java.net.BindException: Address already in use:7130
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEnd point(PoolTcpEndpoint.java:297)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.startEn dpoint(PoolTcpEndpoint.java:312)
    at org.apache.coyote.http11.Http11Protocol.start(Http 11Protocol.java:182)
    at org.apache.catalina.connector.Connector.start(Conn ector.java:1001)
    at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(T omcat5.java:510)
    at org.jboss.web.tomcat.tc5.Tomcat5.handleNotificatio n(Tomcat5.java:539)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.notification.NotificationListenerProx y.invoke(NotificationListenerProxy.java:138)
    at $Proxy32.handleNotification(Unknown Source)
    at org.jboss.mx.util.JBossNotificationBroadcasterSupp ort.handleNotification(JBossNotificationBroadcaste rSupport.java:112)
    at org.jboss.mx.util.JBossNotificationBroadcasterSupp ort.sendNotification(JBossNotificationBroadcasterS upport.java:93)
    at org.jboss.system.server.ServerImpl.sendNotificatio n(ServerImpl.java:879)
    at org.jboss.system.server.ServerImpl.doStart(ServerI mpl.java:468)
    at org.jboss.system.server.ServerImpl.start(ServerImp l.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(Conn ector.java:1003)
    at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(T omcat5.java:510)
    at org.jboss.web.tomcat.tc5.Tomcat5.handleNotificatio n(Tomcat5.java:539)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.notification.NotificationListenerProx y.invoke(NotificationListenerProxy.java:138)
    at $Proxy32.handleNotification(Unknown Source)
    at org.jboss.mx.util.JBossNotificationBroadcasterSupp ort.handleNotification(JBossNotificationBroadcaste rSupport.java:112)
    at org.jboss.mx.util.JBossNotificationBroadcasterSupp ort.sendNotification(JBossNotificationBroadcasterS upport.java:93)
    at org.jboss.system.server.ServerImpl.sendNotificatio n(ServerImpl.java:879)
    at org.jboss.system.server.ServerImpl.doStart(ServerI mpl.java:468)
    at org.jboss.system.server.ServerImpl.start(ServerImp l.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)

    --------------------

    Where is 7130? do you know? it driving me crazy
    thank you very much
    alan
    Last edited by Alan; 06-01-2007 at 01:42 AM.

  2. #2
    derrickD is offline Member
    Join Date
    Apr 2007
    Location
    USA
    Posts
    50
    Rep Power
    0

    Default

    Well, it is a server port address. Is there anyway you can grep for that number in all the .xml files?
    Last edited by derrickD; 05-08-2007 at 01:17 AM.

  3. #3
    levent Guest

    Default

    Read following resource to find which application is using that port:

    Quickly Find Local Open Ports

  4. #4
    goldhouse is offline Senior Member
    Join Date
    Mar 2007
    Posts
    134
    Rep Power
    0

    Default

    This happens when you have another instance running in the machine.
    Use "Task Manager" to locate the instance if windows.
    This generally happens when the server has'nt shutdown properly the last time.

Similar Threads

  1. Tomcat Problem
    By sanjeevtarar in forum Java Servlet
    Replies: 3
    Last Post: 04-16-2008, 11:53 AM
  2. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 10:33 AM
  3. New to JSF, simple problem with Eclispe and Tomcat
    By nibeck in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-16-2007, 05:53 PM
  4. tomcat problem
    By osval in forum New To Java
    Replies: 2
    Last Post: 07-29-2007, 08:13 PM
  5. Tomcat problem
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 06-29-2007, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •