0 Replies Latest reply on Dec 6, 2006 1:47 AM by Swapna Bhat

    Unable to start JBOSS server

    Swapna Bhat Newbie

      Hi,
      Until few days my JBoss setup was running fine.
      But now I am unable to start the JBOSS server.

      I am getting following error :



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

      JBoss Bootstrap Environment

      JBOSS_HOME: D:\jboss-4.0.4.GA\bin\\..

      JAVA: C:\j2sdk1.4.2\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
      erval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: C:\j2sdk1.4.2\lib\tools.jar;D:\jboss-4.0.4.GA\bin\\run.jar

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

      ailed to boot JBoss:
      rg.jboss.deployment.DeploymentException: Could not initialise deployment: file:
      D:/jboss-4.0.4.GA/server/default/conf/jboss-service.xml; - nested throwable: (j
      va.lang.NoClassDefFoundError)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
      DeploymentException.java:53)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:803)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      ava:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      orImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      r.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      ava:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.lang.NoClassDefFoundError
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:621)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
      ... 18 more
      Shutdown complete
      java.lang.ExceptionInInitializerError
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:
      91)
      Caused by: java.lang.IllegalStateException: Shutdown in progress
      at java.lang.Shutdown.add(Shutdown.java:79)
      at java.lang.Runtime.addShutdownHook(Runtime.java:190)
      at java.util.logging.LogManager.(LogManager.java:197)
      at java.util.logging.LogManager$1.run(LogManager.java:155)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.util.logging.LogManager.(LogManager.java:141)
      ... 1 more
      Press any key to continue . . .


      Can anyone please let me know whats the issue?
      I even tried re-installation of the jboss server.

      Pls let me know what i can do to get jboss server running on my machine.

      Thanks,