1 Reply Latest reply on Jun 5, 2005 7:48 AM by Darran Lofthouse

    while starting JBoss server getting message

    craty gs Newbie

      hi everybody,

      i downloaded jboss 4.0.2, created JBOSS_HOME and JAVA_HOME variables and given appropriate values. I am working on windows XP platform service pack 2. while trying to start server using run.bat command i am getting following message in the console followed by errors.

      D:\jboss-4.0.2\bin>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: D:\jboss-4.0.2\bin\\..
      .
      JAVA: C:\j2sdk1.5.0\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\j2sdk1.5.0\lib\tools.jar;D:\jboss-4.0.2\bin\\run.jar
      .
      ===============================================================================
      .
      20:35:31,765 INFO [Server] Starting JBoss (MX MicroKernel)...
      20:35:31,812 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_
      4_0_2 date=200505022023)
      20:35:31,812 INFO [Server] Home Dir: D:\jboss-4.0.2
      20:35:31,812 INFO [Server] Home URL: file:/D:/jboss-4.0.2/
      20:35:31,812 INFO [Server] Library URL: file:/D:/jboss-4.0.2/lib/
      20:35:31,812 INFO [Server] Patch URL: null
      20:35:31,812 INFO [Server] Server Name: default
      20:35:31,812 INFO [Server] Server Home Dir: D:\jboss-4.0.2\server\default
      20:35:31,812 INFO [Server] Server Home URL: file:/D:/jboss-4.0.2/server/default
      /
      20:35:31,812 INFO [Server] Server Data Dir: D:\jboss-4.0.2\server\default\data
      20:35:31,828 INFO [Server] Server Temp Dir: D:\jboss-4.0.2\server\default\tmp
      20:35:31,843 INFO [Server] Server Config URL: file:/D:/jboss-4.0.2/server/defau
      lt/conf/
      20:35:31,843 INFO [Server] Server Library URL: file:/D:/jboss-4.0.2/server/defa
      ult/lib/
      20:35:31,843 INFO [Server] Root Deployment Filename: jboss-service.xml
      20:35:31,843 INFO [Server] Starting General Purpose Architecture (GPA)...
      20:35:32,421 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
      ion: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegat
      e', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDele
      gate@1479feb)]
      Failed to boot JBoss:
      java.lang.RuntimeException: Cannot create MBeanServer
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224)
      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:369)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:566)
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
      bjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MB
      eanServerDelegate (javax.management.MBeanServerDelegate@1479feb)]
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:707)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:197)
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200)
      ... 8 more
      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:522)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.java
      :504)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
      nInvoker.java:470)
      at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
      oker.java:639)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:691)
      ... 10 more
      Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid
      ... 16 more
      Press any key to continue . . .


      i working on it from a week and cant find any solution. plzz suggest what changes should be made to start the server.

      thanx