2 Replies Latest reply on Feb 23, 2012 10:48 AM by brian.stansberry

    Crashed Host Controller not unregistered from Domain Controller leads to shutdown

    xmasrock

      Hi,

       

      I've got a DomainController on host1 and a Host Controller on host2

       

      When I'm simulating a crash of the HostController through a kill -9, the Process Controller tries to restart it but as it is already registered in the Domain Controller, it fails and shutdown all the servers.

      Any way to enhance that behavior?

       

      See trace here after:

       

      14:35:51,808 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 137

      14:35:51,808 INFO  [org.jboss.as.process-controller.server] (reaper for Host Controller) JBAS012020: Waiting 1 seconds until trying to restart process Host Controller.

      14:35:52,810 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012017: Starting process 'Host Controller'

      [Host Controller] 14:35:53,169 INFO  [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA

      [Host Controller] 14:35:53,286 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.2.GA

      [Host Controller] 14:35:53,336 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting

      [Host Controller] 14:35:53,778 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.3.GA

      [Host Controller] 14:35:53,794 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.3.GA

      [Host Controller] 14:35:53,803 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.2.GA

      [Host Controller] 14:35:54,446 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: org.jboss.as.host.controller.RemoteDomainConnectionService$HostAlreadyExistsException: JBAS010832: There is already a registered host named 'HC1'

      [Host Controller] 14:35:54,464 INFO  [org.jboss.as.controller] (MSC service thread 1-1) JBAS014774: Service status report

      [Host Controller] JBAS014775:    New missing/unsatisfied dependencies:

      [Host Controller]       service jboss.server.controller.management.security_realm.ManagementRealm (missing) dependents: [service jboss.domain.controller.connection]

      [Host Controller]

      [Host Controller] 14:35:54,482 INFO  [org.jboss.as.controller] (MSC service thread 1-3) JBAS014774: Service status report

      [Host Controller] JBAS014776:    Newly corrected services:

      [Host Controller]       service jboss.server.controller.management.security_realm.ManagementRealm (new available)

      [Host Controller]

      [Host Controller] 14:35:54,485 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 18ms

      14:35:54,814 INFO  [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 99

      14:35:54,815 INFO  [org.jboss.as.process] (Thread-17) JBAS012016: Shutting down process controller

      14:35:54,816 INFO  [org.jboss.as.process.Server:serv1A.status] (Thread-17) JBAS012018: Stopping process 'Server:serv1A'

      [Server:serv1A] 14:35:54,833 INFO  [org.jboss.as.osgi] (MSC service thread 1-3) JBAS011942: Stopping OSGi Framework

      [Server:serv1A] 14:35:54,874 INFO  [org.jboss.as.logging] (MSC service thread 1-3) JBAS011503: Restored bootstrap log handlers

      [Server:serv1A] 14:35:54,914 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-4) ISPN000029: Passivating all entries to disk

      [Server:serv1A] 14:35:54,915 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-4) ISPN000030: Passivated 0 entries in 0 milliseconds

      [Server:serv1A] 14:35:54,924 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-4) JBAS010282: Stopped //default-host//load-demo cache from web container

      [Server:serv1A] 14:35:55,004 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-3) ARJUNA032018: Destroying TransactionManagerService

      [Server:serv1A] 14:35:55,010 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-4) ARJUNA032014: Stopping transaction recovery manager

      [Server:serv1A] 14:35:55,010 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-11-thread-2) ISPN000029: Passivating all entries to disk

      [Server:serv1A] 14:35:55,021 INFO  [org.infinispan.eviction.PassivationManagerImpl] (pool-11-thread-2) ISPN000030: Passivated 0 entries in 11 milliseconds

      [Server:serv1A] 14:35:55,025 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment load-demo.war in 177ms

      [Server:serv1A] 14:35:55,042 INFO  [org.jboss.as.clustering.infinispan] (pool-11-thread-2) JBAS010282: Stopped repl cache from web container

      [Server:serv1A] 14:35:55,184 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (pool-9-thread-2) ISPN000082: Stopping the RpcDispatcher

      [Server:serv1A] 14:35:55,212 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015950: JBoss AS 7.1.0.Final "Thunder" stopped in 349ms

      14:35:55,227 INFO  [org.jboss.as.process.Server:serv1A.status] (reaper for Server:serv1A) JBAS012010: Process 'Server:serv1A' finished with an exit status of 0

      14:35:55,228 INFO  [org.jboss.as.process] (Thread-17) JBAS012015: All processes finished; exiting