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

# Not able to start JBoss 5.1.0 GA AS

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.security.AccessController.doPrivileged(Native Method)

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

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

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

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

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