1 Reply Latest reply: Mar 17, 2010 11:56 AM by jaikiran pai RSS

I am having trouble starting up JBOSS default server.

Ami Khandeshi Newbie

Here is the error message I am getting.  What am I missing?  I also noticed there is no log4j.xml file in the conf folder under default folder under server.

 

Thanks,

 

Ami

_______________

Microsoft Windows XP [Version 5.1.2600]
0216-M2\bin>run -c default
Calling C:\Downloads\jboss-6.0.0.20100216-M2\bin\run.conf.bat
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\Downloads\jboss-6.0.0.20100216-M2

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

  JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server

  CLASSPATH: C:\Program Files\Java\jdk1.5.0\lib\tools.jar;C:\Downloads\jboss-6.0.0.20100216-M2\bin\r
un.jar

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

java.lang.NullPointerException
        at org.jboss.logmanager.Logger.<init>(Logger.java:130)
        at org.jboss.logmanager.LoggerNode.createLogger(LoggerNode.java:186)
        at org.jboss.logmanager.LoggerNode.getOrCreateLogger(LoggerNode.java:167)
        at org.jboss.logmanager.LogContext.getLogger(LogContext.java:122)
        at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:96)
        at org.jboss.logmanager.PropertyConfigurator.configure(PropertyConfigurator.java:82)
        at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:229)
        at org.jboss.logmanager.LogManager.readConfiguration(LogManager.java:214)
        at java.util.logging.LogManager$2.run(LogManager.java:249)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:247)
        at java.util.logging.LogManager.getLogManager(LogManager.java:230)
        at java.util.logging.Logger.<init>(Logger.java:149)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
        at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
        at java.util.logging.LogManager$1.run(LogManager.java:179)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.logging.LogManager.<clinit>(LogManager.java:156)
        at java.util.logging.Logger.getLogger(Logger.java:228)
        at java.util.logging.Logger.<clinit>(Logger.java:181)
        at org.jboss.logging.logmanager.LoggerPluginImpl.getInstance(LoggerPluginImpl.java:47)
        at org.jboss.logging.Logger.getDelegatePluginInstance(Logger.java:969)
        at org.jboss.logging.Logger.getI18nLogger(Logger.java:871)
        at org.jboss.logging.Logger.getLogger(Logger.java:895)
        at org.jboss.logging.Logger.getLogger(Logger.java:921)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.<clinit>(AbstractServer.java:69)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm
pl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.jboss.bootstrap.api.factory.SecurityActions$1.run(SecurityActions.java:95)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.bootstrap.api.factory.SecurityActions.newInstance(SecurityActions.java:75)
        at org.jboss.bootstrap.api.factory.GenericFactory.createInstance(GenericFactory.java:97)
        at org.jboss.bootstrap.api.factory.ServerFactory.createServer(ServerFactory.java:84)
        at org.jboss.Main.boot(Main.java:377)
        at org.jboss.Main$1.run(Main.java:738)
        at java.lang.Thread.run(Thread.java:595)
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@100ab23, cause: java.lang.
ExceptionInInitializerError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@5e3974, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@df503, cause: java.lang.No
ClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@137c60d, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@11c8a71, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@c53dce, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@f73c1, cause: java.lang.No
ClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@789144, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@df8f5e, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@13d93f4, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@18ee9d6, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@19a0c7c, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@12d7a10, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1feca64, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1ac2f9c, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@8f4fb3, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@d0a5d9, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@27391d, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@f99ff5, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1edc073, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@5e5a50, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@c2ff5, cause: java.lang.No
ClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@482923, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@d19bc8, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@10bc49d, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@c4aad3, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@c68c3, cause: java.lang.No
ClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@b2a2d8, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1b9ce4b, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1d85f79, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1d80e6d, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@4fce71, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1c74f37, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@79717e, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@12a3722, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@a31e1b, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@e80842, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@19d0a1, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@12b7eea, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1cbfe9d, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@ba9340, cause: java.lang.N
oClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@10382a9, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1126b07, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@3820e, cause: java.lang.No
ClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@134e4fb, cause: java.lang.
NoClassDefFoundError
Failed to initalize plugin: org.jboss.logging.logmanager.LoggerPluginImpl@1ea0252, cause: java.lang.
NoClassDefFoundError
Failed to boot JBoss:
org.jboss.bootstrap.api.config.InvalidConfigurationException: Could not get a connection to the jbos
s.server.lib.url: file:/C:/Downloads/jboss-6.0.0.20100216-M2/server/default/lib
        at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBase
dConfigurationValidator.java:193)
        at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBase
dConfigurationValidator.java:163)
        at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.validate(JBossASBas
edConfigurationValidator.java:98)
        at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.validate(JBossASBas
edConfigurationValidator.java:43)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.validate(AbstractServer.java:1045)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.doInitialize(AbstractServer.java:599)

        at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doInitialize(AbstractMCServerBase
.java:224)
        at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doInitialize(AbstractJBossAS
ServerBase.java:274)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.initialize(AbstractServer.java:548)
        at org.jboss.Main.boot(Main.java:396)
        at org.jboss.Main$1.run(Main.java:738)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: C:\Downloads\jboss-6.0.0.20100216-M2\server\default\lib (T
he system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBase
dConfigurationValidator.java:189)
        ... 11 more
Posting Shutdown Request to the server...
Server startup has not completed, so halting the process
Press any key to continue . . .

  • 1. Re: I am having trouble starting up JBOSS default server.
    jaikiran pai Master

    akhandeshi wrote:

     


    Caused by: java.io.FileNotFoundException: C:\Downloads\jboss-6.0.0.20100216-M2\server\default\lib (T
    he system cannot find the file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:106)
            at java.io.FileInputStream.<init>(FileInputStream.java:66)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
            at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBase
    dConfigurationValidator.java:189)
            ... 11 more

    See this thread http://community.jboss.org/thread/149389

     

    akhandeshi wrote:

     


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

    Also, you will need Java 1.6 to run AS-6. By the way, it's recommended not to install Java (or JBoss) in a folder containing a space in its path. Better place it outside the Program Files, for example: C:/Java/jdk1.6.0