Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4606

IOException from org.hornetq.core.server.cluster.impl.BroadcastGroupImpl when starting via standalone-full-ha.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • JMS
    • None
    • Hide

      standalone.sh --server-config=standalone-full-ha.xml (it may only occur on MacOS 10.7)

      Show
      standalone.sh --server-config=standalone-full-ha.xml (it may only occur on MacOS 10.7)

    Description

      When starting AS via standalone.sh --server-config=standalone-full-ha.xml, I get the following:

      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT
      
        JAVA: /System/Library/Frameworks/JavaVM.framework/Home/bin/java
      
        JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
      
      =========================================================================
      
      10:05:20,088 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      10:05:20,249 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      10:05:20,303 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.2.Final-SNAPSHOT "Brontes" starting
      10:05:22,726 INFO  [org.xnio] XNIO Version 3.0.3.GA
      10:05:22,731 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      10:05:22,733 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      10:05:22,745 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.4.GA
      10:05:22,772 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      10:05:22,774 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 34) JBAS016200: Activating ConfigAdmin Subsystem
      10:05:22,780 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 45) JBAS010260: Activating JGroups subsystem.
      10:05:22,783 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 39) JBAS010280: Activating Infinispan subsystem.
      10:05:22,784 INFO  [org.jboss.as.jacorb] (ServerService Thread Pool -- 40) JBAS016300: Activating JacORB Subsystem
      10:05:22,796 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 53) JBAS011940: Activating OSGi Subsystem
      10:05:22,796 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 52) JBAS011800: Activating Naming Subsystem
      10:05:22,799 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 58) JBAS013101: Activating Security Subsystem
      10:05:22,806 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 62) JBAS015537: Activating WebServices Extension
      10:05:22,812 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 53) Initial deployments complete
      10:05:22,814 INFO  [org.jboss.as.osgi] (MSC service thread 1-14) Starting: service jboss.osgi.as.initial.deployments.COMPLETE in mode ACTIVE
      10:05:22,817 INFO  [org.jboss.as.naming] (MSC service thread 1-16) JBAS011802: Starting Naming Service
      10:05:22,825 INFO  [org.jboss.jaxr] (MSC service thread 1-8) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
      10:05:22,850 INFO  [org.jboss.as.security] (MSC service thread 1-13) JBAS013100: Current PicketBox version=4.0.7.Final
      10:05:22,861 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
      10:05:22,983 INFO  [org.jboss.as.connector] (MSC service thread 1-9) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      10:05:22,990 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 39) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:05:22,993 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 39) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:05:23,047 WARN  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
      10:05:23,137 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-16) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
      10:05:23,137 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-4) Starting Coyote AJP/1.3 on ajp-localhost-127.0.0.1-8009
      10:05:23,142 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) live server is starting with configuration HornetQ Configuration (clustered=true,backup=false,sharedStore=true,journalDirectory=/Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/standalone/data/messagingjournal,bindingsDirectory=/Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/standalone/data/messagingbindings,largeMessagesDirectory=/Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/standalone/data/messaginglargemessages,pagingDirectory=/Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/standalone/data/messagingpaging)
      10:05:23,154 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) Waiting to obtain live lock
      10:05:23,156 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 35) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      10:05:23,173 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-14) Initializing mod_cluster 1.2.1.Beta2
      10:05:23,181 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-8) Using NIO Journal
      10:05:23,185 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-14) Listening to proxy advertisements on 224.0.1.105:23,364
      10:05:23,267 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-8) Waiting to obtain live lock
      10:05:23,268 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-8) Live Server Obtained live lock
      10:05:23,431 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      10:05:23,682 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-14) JBoss Web Services - Stack CXF Server 4.0.2.GA
      10:05:23,725 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-8) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5455 for CORE protocol
      10:05:23,726 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-8) Started Netty Acceptor version 3.2.5.Final-a96d88c 127.0.0.1:5445 for CORE protocol
      10:05:23,727 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) Server is now live
      10:05:23,728 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) HornetQ Server version 2.2.15.Final (HQ_2_2_15_FINAL, 122) [88a86f87-8e16-11e1-a601-777d921f2142]) started
      10:05:23,740 INFO  [org.jboss.as.messaging] (pool-7-thread-1) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      10:05:23,741 INFO  [org.jboss.as.messaging] (pool-7-thread-2) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
      10:05:23,799 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-14) JBAS015012: Started FileSystemDeploymentService for directory /Users/tobias/w/torquebox/jboss-as/build/target/jboss-as-7.1.2.Final-SNAPSHOT/standalone/deployments
      10:05:23,855 WARN  [jacorb.codeset] (MSC service thread 1-12) Warning - unknown codeset (MacRoman) - defaulting to ISO-8859-1
      10:05:23,864 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-3) JBAS010406: Registered connection factory java:/JmsXA
      10:05:23,880 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on localhost/127.0.0.1:4447
      10:05:23,880 INFO  [org.jboss.as.remoting] (MSC service thread 1-15) JBAS017100: Listening on /127.0.0.1:9999
      10:05:23,891 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-3) HornetQ resource adaptor started
      10:05:23,892 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatorhornetq-ra
      10:05:23,900 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-6) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
      10:05:24,062 INFO  [org.jboss.as.jacorb] (MSC service thread 1-12) JBAS016330: CORBA ORB Service started
      10:05:24,194 INFO  [org.jboss.as.jacorb] (MSC service thread 1-12) JBAS016328: CORBA Naming Service started
      10:05:24,204 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      10:05:24,205 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.2.Final-SNAPSHOT "Brontes" started in 4358ms - Started 167 of 314 services (146 services are passive or on-demand)
      10:05:28,209 ERROR [org.hornetq.core.server.cluster.impl.BroadcastGroupImpl] (Thread-1 (HornetQ-scheduled-threads-14483609)) Failed to broadcast connector configs: java.io.IOException: Network is unreachable
      	at java.net.PlainDatagramSocketImpl.send(Native Method) [classes.jar:1.6.0_31]
      	at java.net.DatagramSocket.send(DatagramSocket.java:625) [classes.jar:1.6.0_31]
      	at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.broadcastConnectors(BroadcastGroupImpl.java:227) [hornetq-core-2.2.15.Final.jar:2.2.15.Final (HQ_2_2_15_FINAL, 122)]
      	at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.run(BroadcastGroupImpl.java:239) [hornetq-core-2.2.15.Final.jar:2.2.15.Final (HQ_2_2_15_FINAL, 122)]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [classes.jar:1.6.0_31]
      	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [classes.jar:1.6.0_31]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_31]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_31]
      	at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_31]
      
      

      followed by the exceptions from AS7-4548. If I set the binding interface via -b my-ip, I don't see the IOException (but do see AS7-4548). This is with a local build based on https://github.com/jbossas/jboss-as/tree/95c824a58347bd051c315d7073f197299a7bf396.

      I don't see the IOException on linux (Linux swampthing 3.2.6-3.fc16.x86_64 #1 SMP Mon Feb 13 20:35:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux, java version "1.6.0_25" / Java(TM) SE Runtime Environment (build 1.6.0_25-b06) / Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)).

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            tcrawley Toby Crawley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: