2 Replies Latest reply on Apr 7, 2016 4:43 AM by Josh William

    Jboss failed to startup

    Josh William Newbie

      Hi all,

       

      I'm using jboss-eap-4.3 and failed too get it startup.

      The server is DHCP server so there's no need to map the hostname and IP in the hosts file.

      However, I've checked with the dig command and saw that the nameserver is properly working with the result of Host and IP correctly.

      Another checking is with the netstat -tulpn to see if any service is using the 8080 port but there's no service using this port.

      Any input is highly appreciate.

       

      Regards,

      Josh

      Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name

      tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      -

      tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      -

      tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      -

      tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      -

      tcp        0      0 :::22                       :::*                        LISTEN      -

      tcp        0      0 ::1:631                     :::*                        LISTEN      -

      udp        0      0 0.0.0.0:5353                0.0.0.0:*                               -

      udp        0      0 0.0.0.0:631                 0.0.0.0:*                               -

      udp        0      0 20.8.233.79:123             0.0.0.0:*                               -

      udp        0      0 127.0.0.1:123               0.0.0.0:*                               -

      udp        0      0 0.0.0.0:123                 0.0.0.0:*                               -

      udp        0      0 0.0.0.0:10000               0.0.0.0:*                               -

      udp        0      0 0.0.0.0:54961               0.0.0.0:*                               -

      udp        0      0 0.0.0.0:68                  0.0.0.0:*                               -

      udp        0      0 fe80::250:56ff:febc:1b85:123 :::*                                    -

      udp        0      0 ::1:123                     :::*                                    -

      udp        0      0 :::123                      :::*          

      The startup logging:

      =========================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as

       

       

        JAVA: /disk01/home/dmadmin/java/jdk1.6.0_45/bin/java

       

       

        JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true

       

       

        CLASSPATH: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/bin/run.jar:/disk01/home/dmadmin/java/jdk1.6.0_45/lib/tools.jar

       

       

      =========================================================================

       

       

      02:51:50,811 INFO  [Server] Starting JBoss (MX MicroKernel)...

      02:51:50,832 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP06 (build: SVNTag=JBPAPP_4_3_0_GA_CP06 date=201511180117)

      02:51:50,835 INFO  [Server] Home Dir: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as

      02:51:50,835 INFO  [Server] Home URL: file:/disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/

      02:51:50,837 INFO  [Server] Patch URL: null

      02:51:50,837 INFO  [Server] Server Name: default

      02:51:50,838 INFO  [Server] Server Home Dir: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/server/default

      02:51:50,838 INFO  [Server] Server Home URL: file:/disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/server/default/

      02:51:50,838 INFO  [Server] Server Log Dir: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/server/default/log

      02:51:50,838 INFO  [Server] Server Temp Dir: /disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/server/default/tmp

      02:51:50,839 INFO  [Server] Root Deployment Filename: jboss-service.xml

      02:51:52,711 INFO  [ServerInfo] Java version: 1.6.0_45,Sun Microsystems Inc.

      02:51:52,711 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.45-b01,Sun Microsystems Inc.

      02:51:52,711 INFO  [ServerInfo] OS-System: Linux 2.6.32-279.el6.x86_64,amd64

      02:51:52,803 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/lib/endorsed

      02:51:53,745 INFO  [Server] Core system initialized

      02:51:58,821 WARN  [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', class="org".jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@73c6641)]

      02:51:58,840 ERROR [MainDeployer] Could not create deployment: file:/disk01/home/dmadmin/jboss-eap-4.3-src/jboss-as/server/default/conf/jboss-service.xml

      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)

        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)

        at org.jboss.system.ServiceController.install(ServiceController.java:226)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at com.sun.proxy.$Proxy4.install(Unknown Source)

        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)

        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at com.sun.proxy.$Proxy5.deploy(Unknown Source)

        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

        at org.jboss.Main.boot(Main.java:200)

        at org.jboss.Main$1.run(Main.java:513)

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

      Caused by: java.lang.reflect.InvocationTargetException

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)

        at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)

        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)

        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:455)

        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)

        ... 36 more

      Caused by: javax.management.MBeanException

        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)

        ... 41 more

      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', class="org".jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@73c6641)]

        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)

        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        ... 51 more

      Caused by: java.lang.RuntimeException: Exception creating identity: java.net.UnknownHostException: cgv.com: cgv.com

        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)

        at org.jboss.remoting.ident.Identity.get(Identity.java:205)

        at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)

        at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)

        at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)

        at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)

        ... 56 more

      Failed to boot JBoss:

      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)

        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)

        at org.jboss.system.ServiceController.install(ServiceController.java:226)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at com.sun.proxy.$Proxy4.install(Unknown Source)

        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)

        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

        at com.sun.proxy.$Proxy5.deploy(Unknown Source)

        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)

        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)

        at org.jboss.Main.boot(Main.java:200)

        at org.jboss.Main$1.run(Main.java:513)

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

      Caused by: java.lang.reflect.InvocationTargetException

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)

        at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)

        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)

        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:455)

        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)

        ... 36 more

      Caused by: javax.management.MBeanException

        at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

        at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)

        ... 41 more

      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', class="org".jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@73c6641)]

        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)

        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

        ... 51 more

      Caused by: java.lang.RuntimeException: Exception creating identity: java.net.UnknownHostException: cgv.com: cgv.com

        at java.net.InetAddress.getLocalHost(InetAddress.java:1402)

        at org.jboss.remoting.ident.Identity.get(Identity.java:205)

        at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)

        at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)

        at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)

        at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)

        at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)

        ... 56 more

      02:51:58,850 INFO  [Server] Runtime shutdown hook called, forceHalt: true

      02:51:58,857 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages

      02:51:58,865 INFO  [Server] Shutdown complete

      Shutdown complete

      Halting VM