2 Replies Latest reply on Sep 6, 2011 9:49 AM by Radoslav Husar

    JBOSS AS Fails to startup(failed to start protocol stack)

    David Jeeves Newbie

      I am am trying to bring up JBOSS AS(JBoss SOA Platform: Embedded Server - Version 5.0.2.GA) in the production configuration.

      This is the command I use to start it

       

      nohup run.sh  -c production -Dignore.bind.address=true  -Djboss.service.binding.set=ports-05

       

      Startup fails with this error

       

      ERROR [2011-08-24 17:18:57,556] [jgroups.protocols.UDP] [] - failed sending message to null (164 bytes)

      java.lang.Exception: dest=/228.11.11.11:45688 (167 bytes)

              at org.jgroups.protocols.UDP._send(UDP.java:361)

              at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:302)

              at org.jgroups.protocols.TP.doSend(TP.java:1474)

              at org.jgroups.protocols.TP.send(TP.java:1464)

              at org.jgroups.protocols.TP.down(TP.java:1185)

              at org.jgroups.protocols.TP$ProtocolAdapter.down(TP.java:2304)

              at org.jgroups.protocols.Discovery.down(Discovery.java:374)

              at org.jgroups.protocols.MERGE2.down(MERGE2.java:175)

              at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:360)

              at org.jgroups.protocols.FD.down(FD.java:315)

              at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:95)

              at org.jgroups.protocols.BARRIER.down(BARRIER.java:107)

              at org.jgroups.protocols.pbcast.NAKACK.send(NAKACK.java:803)

              at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:604)

              at org.jgroups.protocols.UNICAST.down(UNICAST.java:455)

              at org.jgroups.protocols.pbcast.STABLE$1.run(STABLE.java:644)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)

              at java.util.concurrent.FutureTask.run(FutureTask.java:150)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:

      110)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)

              at java.lang.Thread.run(Thread.java:736)

      Caused by:

      java.io.IOException: Can't assign requested address

              at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:115)

              at java.net.DatagramSocket.send(DatagramSocket.java:621)

              at org.jgroups.protocols.UDP._send(UDP.java:352)

              ... 23 more

       

      Can someone tell me what is going wrong?

       

      The server is on AIX 6.1

       

      Thanks,

      Jeeves

        • 1. Re: JBOSS AS Fails to startup(failed to start protocol stack)
          David Jeeves Newbie

          ok. If I set -Dignore.bind.address=false (which appears to be the default too) server starts up fine and my application appears to work all right but the server log is swamped with the following error trace. Again any insight into this would be appreciated.

           

          ERROR [2011-08-26 16:12:42,208] [jgroups.protocols.UDP] [] - failed sending message to null (156 bytes)
          java.lang.Exception: dest=/228.11.11.11:45688 (159 bytes)
                  at org.jgroups.protocols.UDP._send(UDP.java:361)
                  at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:302)
                  at org.jgroups.protocols.TP.doSend(TP.java:1474)
                  at org.jgroups.protocols.TP.send(TP.java:1460)
                  at org.jgroups.protocols.TP.down(TP.java:1185)
                  at org.jgroups.protocols.TP$ProtocolAdapter.down(TP.java:2304)
                  at org.jgroups.protocols.Discovery.down(Discovery.java:343)
                  at org.jgroups.protocols.MERGE2.down(MERGE2.java:175)
                  at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:360)
                  at org.jgroups.protocols.FD.down(FD.java:315)
                  at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:95)
                  at org.jgroups.protocols.BARRIER.down(BARRIER.java:107)
                  at org.jgroups.protocols.pbcast.NAKACK.send(NAKACK.java:803)
                  at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:604)
                  at org.jgroups.protocols.UNICAST.down(UNICAST.java:455)
                  at org.jgroups.protocols.pbcast.STABLE$StabilitySendTask.run(STABLE.java:855)
                  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
                  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
                  at java.util.concurrent.FutureTask.run(FutureTask.java:150)
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:110)
                  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:216)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
                  at java.lang.Thread.run(Thread.java:736)
          Caused by:
          java.io.IOException: Can't assign requested address
                  at java.net.DatagramSocket.send(DatagramSocket.java:621)
                  at org.jgroups.protocols.UDP._send(UDP.java:352)
                  ... 23 more

          • 2. Re: JBOSS AS Fails to startup(failed to start protocol stack)
            Radoslav Husar Master

            AIX? See this thread http://community.jboss.org/thread/68094

             

            Try disabling IPv6 (described on the JGroups wiki) so add -Djava.net.preferIPv4Stack=true to startup.