7 Replies Latest reply on Feb 10, 2009 11:12 AM by Peter Johnson

    failed to start JBOSS 5.0

    Tan William Newbie

      Hi,

      I've been running Jboss 4.0.4-GA for years without any problem. recently i tried to run a Jboss 5.0.0-GA on server ia64, jdk jrockit-R26.0.0-jdk1.5.0_04 on Redhat Enterprise Linux 4 but the Jboss 5.0.0-GA just failed to boot with minimal configuration.

      I've set the JAVA_HOME to the correct path of the JDK. At this point of time, i've yet migrated my application from 4.0.4 to 5.0.0. I just want to start a plain Jboss server but still failed.

      Below is the boot.log:

      15:14:55,887 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      15:14:55,915 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
      15:14:55,916 DEBUG [ServerImpl] Using config: org.jboss.bootstrap.BaseServerConfig@294cec
      15:14:55,916 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl
      15:14:55,916 DEBUG [ServerImpl] Server loaded through: org.jboss.system.NoAnnotationURLClassLoader
      15:14:55,917 INFO [ServerImpl] Bootstrap URL: null
      15:14:55,917 INFO [ServerImpl] Home Dir: /home/proton-edar/jboss-5.0.0.GA
      15:14:55,917 INFO [ServerImpl] Home URL: file:/home/proton-edar/jboss-5.0.0.GA/
      15:14:55,918 INFO [ServerImpl] Library URL: file:/home/proton-edar/jboss-5.0.0.GA/lib/
      15:14:55,920 INFO [ServerImpl] Patch URL: null
      15:14:55,921 INFO [ServerImpl] Common Base URL: file:/home/proton-edar/jboss-5.0.0.GA/common/
      15:14:55,921 INFO [ServerImpl] Common Library URL: file:/home/proton-edar/jboss-5.0.0.GA/common/lib/
      15:14:55,922 INFO [ServerImpl] Server Name: minimal
      15:14:55,922 INFO [ServerImpl] Server Base Dir: /home/proton-edar/jboss-5.0.0.GA/server
      15:14:55,922 INFO [ServerImpl] Server Base URL: file:/home/proton-edar/jboss-5.0.0.GA/server/
      15:14:55,924 INFO [ServerImpl] Server Config URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/conf/
      15:14:55,924 INFO [ServerImpl] Server Home Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal
      15:14:55,924 INFO [ServerImpl] Server Home URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/
      15:14:55,925 INFO [ServerImpl] Server Data Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/data
      15:14:55,926 INFO [ServerImpl] Server Library URL: file:/home/proton-edar/jboss-5.0.0.GA/server/minimal/lib/
      15:14:55,926 INFO [ServerImpl] Server Log Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/log
      15:14:55,927 INFO [ServerImpl] Server Native Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp/native
      15:14:55,927 INFO [ServerImpl] Server Temp Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp
      15:14:55,927 INFO [ServerImpl] Server Temp Deploy Dir: /home/proton-edar/jboss-5.0.0.GA/server/minimal/tmp/deploy
      15:14:55,949 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss]
      15:14:55,994 DEBUG [KernelFactory] Starting JBoss Kernel construction...
      15:14:56,150 DEBUG [ServerImpl] Failed to start
      java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig
      at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156)
      at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99)
      at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:114)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
      at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:107)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run()V(Unknown Source)
      Caused by: java.lang.ArrayIndexOutOfBoundsException
      at org.jboss.reflect.plugins.MethodInfoImpl.(MethodInfoImpl.java:103)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.(ReflectMethodInfoImpl.java:78)
      at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:211)
      at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:200)
      at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:198)
      at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:394)
      at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getMethods(AbstractBeanInfoFactory.java:231)
      at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:152)
      at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:124)
      at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:69)
      at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:65)
      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig.java:175)
      at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernelConfig.java:120)
      at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)
      ... 9 more
      15:14:56,179 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
      15:14:56,196 INFO [ServerImpl] Shutdown complete

      Hope someone can help me on this.

      Thanks.

        • 1. Re: failed to start JBOSS 5.0
          jaikiran pai Master

           

          jdk jrockit-R26.0.0-jdk1.5.0_04


          Would it be possible for you try with a Sun JDK 1.5 to see if it works? Also please post the initial few lines for the console logs, similar to these:

          =========================================================================
          
           JBoss Bootstrap Environment
          
           JBOSS_HOME: /opt/jpai/jboss-5.0.0.GA
          
           JAVA: /home/jpai/Java/JDK-1.5/jdk1.5.0_17/bin/java
          
           JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true
          
           CLASSPATH: /opt/jpai/jboss-5.0.0.GA/bin/run.jar:/home/jpai/Java/JDK-1.5/jdk1.5.0_17/lib/tools.jar
          
          =========================================================================
          


          • 2. Re: failed to start JBOSS 5.0
            Peter Johnson Master

            I see that you are running on an Itanium system (ia64). There is no Sun JDK 5 for Itanium - you will have to get the latest JDK6. Also, make sure that you downloaded the JBoss AS zip file that has "jdk6" in it's name - that one is specifically for use with JDK 6.

            • 3. Re: failed to start JBOSS 5.0
              Tan William Newbie

              too bad to say that SUN has discontinued jdk release for itanium system. the latest sun jdk that is available on itanium system is jdk 1.4.2. that's the reason why i have to use jrockit instead of sun jdk. would this be a problem for jboss 5.0 on jrockit?

              below is the jboss 5.0 bootstrap environment:

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

              JBoss Bootstrap Environment

              JBOSS_HOME: /home/proton-edar/jboss-5.0.0.GA

              JAVA: /home/proton-edar/jrockit-R26.0.0-jdk1.5.0_04/bin/java

              JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg. jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dg c.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

              CLASSPATH: /home/proton-edar/jboss-5.0.0.GA/bin/run.jar:/home/proton-edar/jroc kit-R26.0.0-jdk1.5.0_04/lib/tools.jar

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

              Thanks.

              • 4. Re: failed to start JBOSS 5.0
                jaikiran pai Master

                 

                "tanwilliam83" wrote:
                would this be a problem for jboss 5.0 on jrockit?



                Shouldn't be a problem. Let me see if i can reproduce this on my RHEL5 system.

                P.S: I am ruling out the issue of incorrect download version of JBossAS since your build date (build: SVNTag=JBoss_5_0_0_GA date=200812041714) indicates that you are rightly using the JDK5 version of the AS.


                • 5. Re: failed to start JBOSS 5.0
                  jaikiran pai Master

                  Boots/deploys fine for me with the following system configuration:

                  18:20:11,801 INFO [ServerInfo] Java version: 1.5.0_15,BEA Systems, Inc.
                  18:20:11,801 INFO [ServerInfo] Java VM: BEA JRockit(R) R27.6.0-50_o-100423-1.5.0_15-20080626-2104-linux-ia32,BEA Systems, Inc.
                  18:20:11,801 INFO [ServerInfo] OS-System: Linux 2.6.18-126.el5,i386
                  


                  • 6. Re: failed to start JBOSS 5.0
                    jaikiran pai Master

                     

                    Caused by: java.lang.ArrayIndexOutOfBoundsException
                    at org.jboss.reflect.plugins.MethodInfoImpl.(MethodInfoImpl.java:103)


                    This reminds of another user reporting an issue with a different Java vendor. Had to something with annotation handling. I guess you too are running into the same issue with this Java vendor.



                    • 7. Re: failed to start JBOSS 5.0
                      Peter Johnson Master

                       

                      too bad to say that SUN has discontinued jdk release for itanium system.


                      Not true. Sun provides JDK 6u10 and higher for Itanium.