0 Replies Latest reply on Apr 23, 2006 1:14 AM by Mohamed Omar

    Can not start JBOSS server

    Mohamed Omar Newbie

      Hi,

      I am trying to install jboss and the installation goes fine. When I try to run the server using "run -c all" I get the following error:
      (I have JAVA_HOME set up correctly and path is fine, file:/C:/jboss/server/all/conf/jbo
      ss-service.xml could not be opened, does it exist?
      This directory and file do not exist (conf, jboss-service.xml)
      Thanks for the help!

      -MO
      ----------------------------------------------------------------------------------

      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\jboss\bin\\..
      .
      JAVA: C:\Program Files\Java\jdk1.5.0_06\\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\Program Files\Java\jdk1.5.0_06\\lib\tools.jar;C:\jboss\bin\\run.
      jar
      .
      ===============================================================================
      .
      01:03:44,921 INFO [Server] Starting JBoss (MX MicroKernel)...
      01:03:44,921 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
      ss_4_0_3_SP1 date=200510231751)
      01:03:44,921 INFO [Server] Home Dir: C:\jboss
      01:03:44,921 INFO [Server] Home URL: file:/C:/jboss/
      01:03:44,937 INFO [Server] Patch URL: null
      01:03:44,937 INFO [Server] Server Name: all
      01:03:44,937 INFO [Server] Server Home Dir: C:\jboss\server\all
      01:03:44,937 INFO [Server] Server Home URL: file:/C:/jboss/server/all/
      01:03:44,937 INFO [Server] Server Temp Dir: C:\jboss\server\all\tmp
      01:03:44,937 INFO [Server] Root Deployment Filename: jboss-service.xml
      01:03:45,187 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
      01:03:45,187 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05
      ,Sun Microsystems Inc.
      01:03:45,203 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      01:03:45,390 INFO [Server] Core system initialized
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: url file:/C:/jboss/server/all/conf/jbo
      ss-service.xml could not be opened, does it exist?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:191)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:752)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      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 $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)
      01:03:45,406 INFO [Server] Runtime shutdown hook called, forceHalt: true
      01:03:45,406 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      01:03:45,406 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .