9 Replies Latest reply on Jul 15, 2013 12:01 PM by dfox

    jboss error: "process crashed on startup"

    Rajat Roy Newbie

      Hi I am new to JBOSS.

      I am facing one problem in Jboss.

      Whenever I am trying to start jboss it is giving error that "process crashed on startup".

      Previously also we have same problem due to diskspace issue. So we have deleted some old logs from /var/log/jbossas/production and it was working fine.

      but this time it is not worthy. Even I have reloaded jboss 2 times bt same problem is happening.

       

      Any help would be highly appreciated.

        • 1. Re: jboss error: "process crashed on startup"
          Radoslav Husar Master

          I am not familiar with this issue, could you paste some logs?

          • 2. Re: jboss error: "process crashed on startup"
            Wolf-Dieter Fink Master

            Which version of JBoss and Java do you use?

            How do you start JBoss, what options do you use.

             

            Please provide boot.log and server.log.Also the output from the startup might be helpful

            • 3. Re: jboss error: "process crashed on startup"
              dfox Newbie

              Having the same problem here...

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

              service jbossas start
              Starting jbossas:                                          [FAILED]
              Process crashed on startup

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

              server.log is empty

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

              BOOT.LOG

              10:15:11,111 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
              10:15:11,111 INFO  [ServerImpl] Release ID: JBoss [EAP] 5.1.2 (build: SVNTag=JBPAPP_5_1_2 date=201206071031)
              10:15:11,112 DEBUG [ServerImpl] Using config: org.jboss.bootstrap.BaseServerConfig@4e99353f
              10:15:11,112 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl
              10:15:11,112 DEBUG [ServerImpl] Server loaded through: org.jboss.bootstrap.NoAnnotationURLClassLoader
              10:15:11,112 INFO  [ServerImpl] Bootstrap URL: null
              10:15:11,112 INFO  [ServerImpl] Home Dir: /var/lib/jbossas
              10:15:11,112 INFO  [ServerImpl] Home URL: file:/var/lib/jbossas/
              10:15:11,112 INFO  [ServerImpl] Library URL: file:/var/lib/jbossas/lib/
              10:15:11,112 INFO  [ServerImpl] Patch URL: null
              10:15:11,112 INFO  [ServerImpl] Common Base URL: file:/var/lib/jbossas/common/
              10:15:11,112 INFO  [ServerImpl] Common Library URL: file:/var/lib/jbossas/common/lib/
              10:15:11,112 INFO  [ServerImpl] Server Name: default
              10:15:11,113 INFO  [ServerImpl] Server Base Dir: /var/lib/jbossas/server
              10:15:11,113 INFO  [ServerImpl] Server Base URL: file:/var/lib/jbossas/server/
              10:15:11,113 INFO  [ServerImpl] Server Config URL: file:/var/lib/jbossas/server/default/conf/
              10:15:11,113 INFO  [ServerImpl] Server Home Dir: /var/lib/jbossas/server/default
              10:15:11,113 INFO  [ServerImpl] Server Home URL: file:/var/lib/jbossas/server/default/
              10:15:11,113 INFO  [ServerImpl] Server Data Dir: /var/lib/jbossas/server/default/data
              10:15:11,113 INFO  [ServerImpl] Server Library URL: file:/var/lib/jbossas/server/default/lib/
              10:15:11,113 INFO  [ServerImpl] Server Log Dir: /var/lib/jbossas/server/default/log
              10:15:11,113 INFO  [ServerImpl] Server Native Dir: /var/lib/jbossas/server/default/tmp/native
              10:15:11,113 INFO  [ServerImpl] Server Temp Dir: /var/lib/jbossas/server/default/tmp
              10:15:11,113 INFO  [ServerImpl] Server Temp Deploy Dir: /var/lib/jbossas/server/default/tmp/deploy
              10:15:11,116 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss]
              10:15:11,141 DEBUG [KernelFactory] Starting JBoss Kernel construction...
              10:15:11,285 DEBUG [KernelFactory] Completed JBoss Kernel construction.  Duration: 144 milliseconds
              10:15:11,664 DEBUG [ServerImpl] Already in start, ignoring duplicate start
              10:15:11,665 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/var/lib/jbossas/server/default/conf/bootstrap.xml
              10:15:11,666 DEBUG [ServerImpl] Failed to start
              java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBinding
                      at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
                      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
                      at org.jboss.Main.boot(Main.java:221)
                      at org.jboss.Main$1.run(Main.java:556)
                      at java.lang.Thread.run(Thread.java:662)
              Caused by: java.lang.ClassNotFoundException: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
                      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                      at java.security.AccessController.doPrivileged(Native Method)
                      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                      ... 5 more
              10:15:11,668 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
              10:15:11,683 INFO  [ServerImpl] Shutdown complete

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

              CONSOLE.LOG

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

                JBoss Bootstrap Environment

                JBOSS_HOME: /usr/share/jbossas/

                JAVA: /usr/lib/jvm/java/bin/java

                JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1303m -Xmx3000m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+HeapDumpOnOutOfMemoryError -Djboss.partition.udpGroup=228.1.2.3 -Djboss.webpartition.mcast_port=45577 -Djboss.hapartition.mcast_port=45566 -Djboss.ejb3entitypartition.mcast_port=43333 -Djboss.ejb3sfsbpartition.mcast_port=45551 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true

                CLASSPATH: /usr/share/jbossas//bin/run.jar:/usr/lib/jvm/java/lib/tools.jar

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

              10:15:11,111 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
              10:15:11,111 INFO  [ServerImpl] Release ID: JBoss [EAP] 5.1.2 (build: SVNTag=JBPAPP_5_1_2 date=201206071031)
              10:15:11,112 INFO  [ServerImpl] Bootstrap URL: null
              10:15:11,112 INFO  [ServerImpl] Home Dir: /var/lib/jbossas
              10:15:11,112 INFO  [ServerImpl] Home URL: file:/var/lib/jbossas/
              10:15:11,112 INFO  [ServerImpl] Library URL: file:/var/lib/jbossas/lib/
              10:15:11,112 INFO  [ServerImpl] Patch URL: null
              10:15:11,112 INFO  [ServerImpl] Common Base URL: file:/var/lib/jbossas/common/
              10:15:11,112 INFO  [ServerImpl] Common Library URL: file:/var/lib/jbossas/common/lib/
              10:15:11,112 INFO  [ServerImpl] Server Name: default
              10:15:11,113 INFO  [ServerImpl] Server Base Dir: /var/lib/jbossas/server
              10:15:11,113 INFO  [ServerImpl] Server Base URL: file:/var/lib/jbossas/server/
              10:15:11,113 INFO  [ServerImpl] Server Config URL: file:/var/lib/jbossas/server/default/conf/
              10:15:11,113 INFO  [ServerImpl] Server Home Dir: /var/lib/jbossas/server/default
              10:15:11,113 INFO  [ServerImpl] Server Home URL: file:/var/lib/jbossas/server/default/
              10:15:11,113 INFO  [ServerImpl] Server Data Dir: /var/lib/jbossas/server/default/data
              10:15:11,113 INFO  [ServerImpl] Server Library URL: file:/var/lib/jbossas/server/default/lib/
              10:15:11,113 INFO  [ServerImpl] Server Log Dir: /var/lib/jbossas/server/default/log
              10:15:11,113 INFO  [ServerImpl] Server Native Dir: /var/lib/jbossas/server/default/tmp/native
              10:15:11,113 INFO  [ServerImpl] Server Temp Dir: /var/lib/jbossas/server/default/tmp
              10:15:11,113 INFO  [ServerImpl] Server Temp Deploy Dir: /var/lib/jbossas/server/default/tmp/deploy
              10:15:11,665 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/var/lib/jbossas/server/default/conf/bootstrap.xml
              Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/unmarshalling/SchemaBinding
                      at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
                      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
                      at org.jboss.Main.boot(Main.java:221)
                      at org.jboss.Main$1.run(Main.java:556)
                      at java.lang.Thread.run(Thread.java:662)
              Caused by: java.lang.ClassNotFoundException: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding
                      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                      at java.security.AccessController.doPrivileged(Native Method)
                      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                      ... 5 more
              10:15:11,668 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
              10:15:11,683 INFO  [ServerImpl] Shutdown complete
              Shutdown complete
              Halting VM

              • 4. Re: jboss error: "process crashed on startup"
                Wolf-Dieter Fink Master

                Did you start with Java 7? This EAP version will not run with JRE7

                • 5. Re: jboss error: "process crashed on startup"
                  dfox Newbie

                  java-sun-1.6.0

                  java-sun-1.6.0-devel

                  • 6. Re: jboss error: "process crashed on startup"
                    Wolf-Dieter Fink Master

                    Does a fresh unzipped JBoss will start?

                    If not I would recommend to download the latest Java1.6 from the oracle page and try that.

                    To use a different Java you can set JAVA_HOME before you start JBoss.

                    BTW, which OS do you use.

                    • 7. Re: jboss error: "process crashed on startup"
                      dfox Newbie

                      No, a fresh unzip won't work... I even removed jbossas and reinstalled...same issue.

                       

                      I also installed java-1.6.0-openjdk.x86_64

                      This is running on Red Hat Enterprise Linux Server release 5.9 (Tikanga)

                      • 8. Re: jboss error: "process crashed on startup"
                        Wolf-Dieter Fink Master

                        I'm not sure, if I use 1.6 Java the server starts. Do you have downloaded the server from the Red Hat customer portal again? Maybe your archive is damaged.

                        As you use an EAP version you should raise a support ticket.

                        • 9. Re: jboss error: "process crashed on startup"
                          dfox Newbie

                          There turned out to be some dependancies that weren't resolved with the correct libraries. I had my server team reload the proper channels and reinstalled jboss' dependancies. voila.

                          Thanks for the input Wolf.