5 Replies Latest reply on May 15, 2008 2:30 AM by jaikiran pai

    Fail to boot jboss

    Beulah Prasanthi Newbie

      I am getting the error as follows when running run.bat of JBoss:

      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException:could not initialise deployment :file:/c:/Documents and Settings/RAVI/Desktop/jboss-4.0.3SP1/server/default/conf/jboss-service.xml; -nested throwable:(java.lang.NoClassDefFoundError:
      EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap)

      Why this error occurs?
      what I have to do for it to be resolved?
      Anybody Please help.
      It's urgent
      thanks.................

        • 1. Re: Fail to boot jboss
          jaikiran pai Master

           

          file:/c:/Documents and Settings/RAVI/Desktop/jboss-4.0.3SP1/server/default/conf/


          Do not install JBoss (or even Java) in folders containing a space in its path name. Move the JBoss installation to some other folder (maybe C:\JBoss) and start the server.

          • 2. Re: Fail to boot jboss
            Beulah Prasanthi Newbie

            This is not working. Any other way

            thank Q

            • 3. Re: Fail to boot jboss
              jaikiran pai Master

              Please post the entire exception stacktrace, the Java and JBoss versions you are using.

              While posting the logs or xml content or code, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted

              • 4. Re: Fail to boot jboss
                Beulah Prasanthi Newbie

                Java Version is : jdk1.5.0_02
                JBoss Version is : jboss-4.0.3SP1 and the StackTrace is as follows:

                ====================================================================================
                JBoss Bootstrap Environment
                
                JBOSS_HOME:C:\Documents and Settings\RAVI\Desktop\jboss-4.0.3SP1\bin\\..
                
                JAVA:C:\jdk1.5.0_02\bin\java
                
                JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
                
                CLASSPATH:C:\jdk1.5.0_02\lib\tools.jar;C:\Documents and Settings\RAVI\Desktop\jboss-4.0.3SP1\bin\\run.jar
                
                =====================================================================================
                
                Failed to boot JBoss:
                org.jboss.deployment.DeploymentException: Could not initialise deployment :file:/C:/Documents and Settings/RAVI/Desktop/jboss-4.0.3SP1/server/default/conf/jboss-service.xml; - nested throwable : (java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap)
                 at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                 at org.jboss.mx.server.Invocation.Dispatch(Invocation.java:80)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                 at org.$Proxy5.deploy(Unknown Source)
                 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
                 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
                 at org.jboss.Main.boot(Main.java:187)
                 at org.jboss.Main$1.run(Main.java:438)
                 at java.lang.Thread.run(Thread.java:595)
                Caused by : java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
                 at org.jboss.util.xml.JBossEntityResolver.<clinit>(JBossEntityResolver.java:43)
                 at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:585)
                 at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)
                 at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
                 ... 21 more
                

                Any help is welcome.
                Thank Q

                • 5. Re: Fail to boot jboss
                  jaikiran pai Master

                   

                  file:/C:/Documents and Settings/RAVI/Desktop/jboss-4.0.3SP1/server/default/conf/jboss-service.xml


                  You still seem to be running JBoss which is installed in a folder with a space in its name. This may not actually be the reason for the failure, but i want to completely rule out that possibility. Move your installation to some other folder (without space) and try starting JBoss. If it fails, post the logs.