4 Replies Latest reply on May 24, 2016 2:19 AM by pjhavariotis

    jBoss EAP 6.4 stops as soon as boot sequence finishes

    sjunejo

      I am using jBoss EAP 6.4 and deploying some DataSources, JMS, EJB and Web Applications. At startup everything is fine i do not get any exception at all but as soon as server finishes the boot sequence Server stops kick in with following errors;

       

      08:10:58,902 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS013412: Timeout after [480] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was 'add' at address '[
          ("core-service" => "management"),
          ("management-interface" => "native-interface")
      ]
      

       

      After this its starts de-registering my apps and stop with following;

       

      08:11:01,098 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@26be788d for operation {"operation" => "add","server-id" => 0,"address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("in-vm-acceptor" => "in-vm")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("in-vm-acceptor" => "in-vm")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,099 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@85c7ec7 for operation {"operation" => "add","socket-binding" => "messaging-throughput","param" => [("batch-delay" => "50"),("direct-deliver" => "false")],"address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("remote-acceptor" => "netty-throughput")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("remote-acceptor" => "netty-throughput")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,099 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@ab72fd4 for operation {"operation" => "add","socket-binding" => "messaging","address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("remote-acceptor" => "netty")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("remote-acceptor" => "netty")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,100 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) JBAS010410: Unbound JCA ConnectionFactory [java:/JmsXA]
      08:11:01,100 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@6180508d for operation {"operation" => "add","server-id" => 0,"address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("in-vm-connector" => "in-vm")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("in-vm-connector" => "in-vm")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,101 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@56496c90 for operation {"operation" => "add","socket-binding" => "messaging-throughput","param" => [("batch-delay" => "50")],"address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("remote-connector" => "netty-throughput")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("remote-connector" => "netty-throughput")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,102 ERROR [org.jboss.as.controller.client] (ServerService Thread Pool -- 44) JBAS014781: Step handler org.jboss.as.controller.AbstractAddStepHandler$1@36c969d for operation {"operation" => "add","socket-binding" => "messaging","address" => [("subsystem" => "messaging"),("hornetq-server" => "default"),("remote-connector" => "netty")]} at address [
          ("subsystem" => "messaging"),
          ("hornetq-server" => "default"),
          ("remote-connector" => "netty")
      ] failed handling operation rollback -- java.lang.NullPointerException
      08:11:01,102 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010409: Unbound data source [java:/jdbc/LockingDS]
      08:11:01,105 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010409: Unbound data source [java:/jdbc/DS]
      08:11:01,105 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010409: Unbound data source [java:/jdbc/RODS]
      08:11:01,127 INFO  [org.hornetq.ra] (ServerService Thread Pool -- 44) HQ151003: HornetQ resource adaptor stopped
      08:11:01,127 INFO  [org.jboss.as.messaging] (ServerService Thread Pool -- 54) JBAS011605: Unbound messaging object to jndi name java:/ConnectionFactory
      08:11:01,173 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 50) HQ221002: HornetQ Server version 2.3.20.Final (2.3.20, 123) [1594cb9f-18e1-11e6-afca-2fb0bfa8794d] stopped
      ....
      
      08:11:01,184 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.connector.config (missing) dependents: [service jboss.connector.archive_validation.config, service jboss.connector.bean_validation.config] 
            service jboss.jdbc-driver.registry (missing) dependents: [service jboss.jdbc-driver.h2] 
            service jboss.jndi-view.extension.registry (missing) dependents: [service jboss.jndi-view.extension.ee] 
            service jboss.remoting.endpoint.management (missing) dependents: [service jboss.remoting.management.channel.registry] 
      
      
      08:11:01,188 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      08:11:01,201 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015950: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) stopped in 5ms
      Press any key to continue . . . 
      

       

      I saw this earlier when I was running a similar config server on my VM which was very slow, as soon as I brought VM on my local machine and configured with more resources same instance started working fine. Seems like somehow jBoss itself timing out because of the slow response and hence fails to start. Any idea?