3 Replies Latest reply on May 28, 2012 2:41 AM by coldblood22

    Not able to start JBoss 5.1.0 GA AS

    coldblood22

      My JBOSS AS 5.1.0 GA wont run. When i double click on run.bat it throws an exception.

       

      D:\jboss-5.1.0.GA\bin>run

      Calling D:\jboss-5.1.0.GA\bin\run.conf.bat

        JAVAC_JAR: C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar

      RUN_CLASSPATH if :

        JBOSS_CLASSPATH before:

        JBOSS_CLASSPATH after: C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar;D:\jboss-5.1.0.GA\bin\run.jar

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

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: D:\jboss-5.1.0.GA

       

        JAVA: C:\Program Files\Java\jdk1.5.0_11\bin\java

       

        JAVA_OPTS: -Dprogram.name=run.bat -Xms512M -Xmx1024M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=

      3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server

       

        CLASSPATH: C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar;D:\jboss-5.1.0.GA\bin\run.jar

       

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

       

      Failed to boot JBoss:

      java.lang.ClassNotFoundException: org.jboss.bootstrap.microcontainer.ServerImpl

              at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

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

              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

              at org.jboss.bootstrap.ServerLoader.createServer(ServerLoader.java:359)

              at org.jboss.bootstrap.ServerLoader.load(ServerLoader.java:336)

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

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

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

      Press any key to continue . . .

       

       

      Please someone shed some light as to where i am going wrong.

        • 1. Re: Not able to start JBoss 5.1.0 GA AS
          wdfink

          Avoid spaces in the path of Java and JBoss, that might end in a fuzzy behaviour.

           

          Copy or install Java to a path without ' ' and set JAVA_HOME in your environment or the run.conf.bat

          • 2. Re: Not able to start JBoss 5.1.0 GA AS
            peterj

            The missing class should be in d:\jboss-5.1.0.GA\lib\jboss-bootstrap.jar. Please make sure that file exists.

             

            You could try downloading an installing JBoss AS again. By the way, how did you unzip the zip file? Sometimes, if you open the zip file, select the files, and then extract the selected files, not everything gets extracted. It is usually better to right-click the zip file and choose extract.

             

            If that doesn't work, add the option "-verbose:class" to the JAVA_OPTS in run.conf.bat and try again. This option prints out each class loaded and the JAR file it came from. That might gives us some clues.

            1 of 1 people found this helpful
            • 3. Re: Not able to start JBoss 5.1.0 GA AS
              coldblood22

              Downloading the AS again and running helped. Thanks for your suggestions