1 Reply Latest reply on Mar 2, 2006 1:56 AM by tejo lakshmi

    Looking for jboss-service.xml

    Klaus Kaal Newbie

      Hi,

      I made JBoss Portal (latest realease) work from command line. Now, I try to run the very same JB from Eclipse (JBoss). When I start the AppServer, I get:

      15:56:46,099 INFO [Server] Starting JBoss (MX MicroKernel)...
      15:56:46,119 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6RC2 (build: CVSTag=Branch_3_2 date=200409120119)
      15:56:46,119 INFO [Server] Home Dir: C:\Programme\jboss
      15:56:46,119 INFO [Server] Home URL: file:/C:/Programme/jboss/
      15:56:46,119 INFO [Server] Library URL: file:/C:/Programme/jboss/lib/
      15:56:46,119 INFO [Server] Patch URL: null
      15:56:46,119 INFO [Server] Server Name: JBossNukes
      15:56:46,119 INFO [Server] Server Home Dir: C:\Programme\jboss\server\JBossNukes
      15:56:46,119 INFO [Server] Server Home URL: file:/C:/Programme/jboss/server/JBossNukes/
      15:56:46,119 INFO [Server] Server Data Dir: C:\Programme\jboss\server\JBossNukes\data
      15:56:46,119 INFO [Server] Server Temp Dir: C:\Programme\jboss\server\JBossNukes\tmp
      15:56:46,119 INFO [Server] Server Config URL: file:/C:/Programme/jboss/server/JBossNukes/conf/
      15:56:46,119 INFO [Server] Server Library URL: file:/C:/Programme/jboss/server/JBossNukes/lib/
      15:56:46,119 INFO [Server] Root Deployment Filename: jboss-service.xml
      15:56:46,129 INFO [Server] Starting General Purpose Architecture (GPA)...
      15:56:46,830 INFO [ServerInfo] Java version: 1.4.2_04,Sun Microsystems Inc.
      15:56:46,830 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05,Sun Microsystems Inc.
      15:56:46,830 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      15:56:47,221 INFO [Server] Core system initialized
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: url file:/C:/Programme/jboss/server/JBossNukes/conf/jboss-service.xml could not be opened, does it exist?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:168)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:607)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
      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:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:191)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
      at org.jboss.Main.boot(Main.java:145)
      at org.jboss.Main$1.run(Main.java:399)
      at java.lang.Thread.run(Thread.java:534)
      15:56:47,271 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      Shutdown complete
      Halting VM

      Any idea, why it looks for the jboss-service.xml in the JBoss-Nukes directory? This file is in the "default" directory.

      Thanks for your hints.

      Klaus

        • 1. error in sarting jboss server
          tejo lakshmi Newbie

          hi
          i am getting the following error when i am starting server. plz help me how to solve it.
          ===============================================================================
          .
          JBoss Bootstrap Environment
          .
          JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
          .
          JAVA: c:\j2sdk1.4.2\bin\java
          .
          JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
          .
          CLASSPATH: c:\j2sdk1.4.2\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\\ru
          n.jar
          .
          ===============================================================================
          .
          12:09:15,493 INFO [Server] Starting JBoss (MX MicroKernel)...
          12:09:15,493 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
          ss_4_0_3_SP1 date=200510231751)
          12:09:15,493 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
          12:09:15,493 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
          12:09:15,493 INFO [Server] Patch URL: null
          12:09:15,493 INFO [Server] Server Name: default
          12:09:15,493 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\ser
          ver\default
          12:09:15,493 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3S
          P1/server/default/
          12:09:15,493 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\ser
          ver\default\tmp
          12:09:15,493 INFO [Server] Root Deployment Filename: jboss-service.xml
          12:09:15,820 INFO [ServerInfo] Java version: 1.4.2_08,Sun Microsystems Inc.
          12:09:15,820 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_08-b03
          ,Sun Microsystems Inc.
          12:09:15,820 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          12:09:16,023 INFO [Server] Core system initialized
          Failed to boot JBoss:
          org.jboss.deployment.DeploymentException: url file:/C:/Program Files/jboss-4.0.3
          SP1/server/default/conf/jboss-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:324)
          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:534)
          12:09:16,086 INFO [Server] Runtime shutdown hook called, forceHalt: true
          12:09:16,086 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
          Shutting down
          12:09:16,086 INFO [Server] Shutdown complete
          Shutdown complete
          Halting VM
          Press any key to continue . . .