2 Replies Latest reply on Feb 14, 2005 2:03 AM by Mukti furtado

    Jboss Startup Problem

    Mukti furtado Newbie

      I have windows 2000 SP3.When i execute run.bat I get the following error. Can anyone tell me the problem
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\mukti\jboss-3.2.6\bin\\..
      .
      JAVA: D:\j2sdk1.5.0\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: D:\j2sdk1.5.0\lib\tools.jar;C:\mukti\jboss-3.2.6\bin\\run.jar
      .
      ===============================================================================
      .
      11:33:35,468 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:33:35,468 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6 (build: CVSTag=
      JBoss_3_2_6 date=200410140106)
      11:33:35,468 INFO [Server] Home Dir: C:\mukti\jboss-3.2.6
      11:33:35,468 INFO [Server] Home URL: file:/C:/mukti/jboss-3.2.6/
      11:33:35,468 INFO [Server] Library URL: file:/C:/mukti/jboss-3.2.6/lib/
      11:33:35,468 INFO [Server] Patch URL: null
      11:33:35,484 INFO [Server] Server Name: default
      11:33:35,484 INFO [Server] Server Home Dir: C:\mukti\jboss-3.2.6\server\default

      11:33:35,484 INFO [Server] Server Home URL: file:/C:/mukti/jboss-3.2.6/server/d
      efault/
      11:33:35,484 INFO [Server] Server Data Dir: C:\mukti\jboss-3.2.6\server\default
      \data
      11:33:35,499 INFO [Server] Server Temp Dir: C:\mukti\jboss-3.2.6\server\default
      \tmp
      11:33:35,499 INFO [Server] Server Config URL: file:/C:/mukti/jboss-3.2.6/server
      /default/conf/
      11:33:35,499 INFO [Server] Server Library URL: file:/C:/mukti/jboss-3.2.6/serve
      r/default/lib/
      11:33:35,499 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:33:35,515 INFO [Server] Starting General Purpose Architecture (GPA)...
      11:33:36,312 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
      ion: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegat
      e', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDele
      gate@17590db)]
      javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='
      JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDe
      legate (javax.management.MBeanServerDelegate@17590db)]
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:656)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:200)
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:192)
      at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer
      BuilderImpl.java:56)
      at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory
      .java:316)
      at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact
      ory.java:219)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:350)
      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:566)
      Caused by: javax.management.RuntimeOperationsException: Exception occured trying
      find the descriptors of the MBean
      at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(Mode
      lMBeanInfoSupport.java:445)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanI
      nvoker.java:378)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
      nInvoker.java:356)
      at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
      oker.java:600)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:645)
      ... 10 more
      Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid
      ... 15 more
      Failed to boot JBoss:
      java.lang.RuntimeException: javax.management.InstanceNotFoundException: JMImplem
      entation:type=MBeanRegistry is not registered.
      at org.jboss.mx.server.MBeanServerImpl.handleInvocationException(MBeanSe
      rverImpl.java:1079)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1028)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:326)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:354)
      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:566)
      Press any key to continue . . .

        • 1. Re: Jboss Startup Problem
          Frank Langelage Master

          JBoss 3.2.6 does not work with a JDK 1.5.0 AFAIK. Use a JDK 1.4.2_07.

          • 2. Re: Jboss Startup Problem
            Mukti furtado Newbie

            Hi lafr,
            Thanks for the reply. I have installed JDK 1.4.2_07. Now I am getting the following errors.
            ===============================================================================
            .
            JBoss Bootstrap Environment
            .
            JBOSS_HOME: C:\jboss-3.2.6\bin\\..
            .
            JAVA: D:\j2sdk1.4.2_07\bin\java
            .
            JAVA_OPTS: -Dprogram.name=run.bat
            .
            CLASSPATH: D:\j2sdk1.4.2_07\lib\tools.jar;C:\jboss-3.2.6\bin\\run.jar
            .
            ===============================================================================
            .
            12:36:56,452 INFO [Server] Starting JBoss (MX MicroKernel)...
            12:36:56,452 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6 (build: CVSTag=
            JBoss_3_2_6 date=200410140106)
            12:36:56,452 INFO [Server] Home Dir: C:\jboss-3.2.6
            12:36:56,452 INFO [Server] Home URL: file:/C:/jboss-3.2.6/
            12:36:56,452 INFO [Server] Library URL: file:/C:/jboss-3.2.6/lib/
            12:36:56,452 INFO [Server] Patch URL: null
            12:36:56,452 INFO [Server] Server Name: default
            12:36:56,452 INFO [Server] Server Home Dir: C:\jboss-3.2.6\server\default
            12:36:56,452 INFO [Server] Server Home URL: file:/C:/jboss-3.2.6/server/default
            /
            12:36:56,468 INFO [Server] Server Data Dir: C:\jboss-3.2.6\server\default\data
            12:36:56,468 INFO [Server] Server Temp Dir: C:\jboss-3.2.6\server\default\tmp
            12:36:56,468 INFO [Server] Server Config URL: file:/C:/jboss-3.2.6/server/defau
            lt/conf/
            12:36:56,468 INFO [Server] Server Library URL: file:/C:/jboss-3.2.6/server/defa
            ult/lib/
            12:36:56,484 INFO [Server] Root Deployment Filename: jboss-service.xml
            12:36:56,484 INFO [Server] Starting General Purpose Architecture (GPA)...
            12:36:57,312 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
            12:36:57,312 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05
            ,Sun Microsystems Inc.
            12:36:57,312 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
            12:36:57,718 INFO [Server] Core system initialized
            12:36:57,781 ERROR [MainDeployer] Could not make local copy for file:/C:/jboss-3
            .2.6/server/default/conf/jboss-service.xml
            java.io.IOException: The system cannot find the path specified
            at java.io.WinNTFileSystem.createFileExclusively(Native Method)
            at java.io.File.checkAndCreate(File.java:1314)
            at java.io.File.createTempFile(File.java:1402)
            at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:990
            )
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:673)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
            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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
            java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:197)
            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)
            12:36:58,312 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
            s-3.2.6/server/default/conf/jboss-service.xml
            org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.
            xml
            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522)
            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137)
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
            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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
            java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:197)
            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)
            Failed to boot JBoss:
            org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.
            xml
            at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522)
            at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137)
            at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
            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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
            java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:197)
            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)
            12:36:58,452 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
            Shutting down
            Shutdown complete
            Halting VM
            Press any key to continue . . .

            Thanks for your help.