JBoss fails to start because of conflict with port 7500

Solution Verified - Updated -

Issue

  • JBoss fails to start because of conflict with port 7500
  • We can confirm there is no other instances of JBoss running on box and there is nothing configured to use port 7500 but we are seeing an error message:

    WARN [org.jgroups.protocols.UDP] failed to  join /224.0.75.75:7500 on eth0: SocketException: Address already in use 
    
  • The following exceptions appear in the server.log file:

    WARN  [org.jboss.system.ServiceController] Problem starting service jboss.cache:service=EJB3EntityTreeCache
    org.jgroups.ChannelException: failed to start protocol stack
            at org.jgroups.JChannel.connect(JChannel.java:389)
            at org.jboss.cache.TreeCache.startService(TreeCache.java:1548)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    .....
    Caused by: java.lang.Exception: exception caused by UDP.start()
            at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:582)
            at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:496)
            at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
            at org.jgroups.protocols.Discovery.down(Discovery.java:333)
            at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499)
            at org.jgroups.stack.Protocol.passDown(Protocol.java:533)
            at org.jgroups.protocols.MERGE2.down(MERGE2.java:207)
    .......
    Caused by: java.net.BindException: Address already in use
            at java.net.PlainDatagramSocketImpl.bind0(Native Method)
            at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
            at java.net.DatagramSocket.bind(DatagramSocket.java:368)
            at java.net.MulticastSocket.<init>(MulticastSocket.java:147)
            at java.net.MulticastSocket.<init>(MulticastSocket.java:112)
            at org.jgroups.protocols.TP$DiagnosticsHandler.start(TP.java:1716)
            at org.jgroups.protocols.TP.start(TP.java:385) 
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.