2 Replies Latest reply on Aug 11, 2002 1:18 AM by Chris

    javax.management.InstanceNotFoundException

    Chris Newbie

      Hi,

      totally new to JBoss, so please excuse my ineptitude.

      useing Jboss 3 w/tomcat on w2k and j2sdk 1.4.0_01
      i have all my environmental vars set and when i run Jboss via NT service OR command line i get

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\JBoss\jboss-3.0.0_tomcat-4.0.3\bin\\..
      .
      JAVA: c:\java\j2sdk1.4.0\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: ;c:\java\j2sdk1.4.0\lib\tools.jar;C:\JBoss\jboss-3.0.0_tomcat-4.0.3\bin\\run.jar
      .
      ===============================================================================
      .
      13:04:18,758 INFO [Server] JBoss Release: JBoss-3.0.0 CVSTag=JBoss_3_0_0
      13:04:18,828 INFO [Server] Home Dir: C:\JBoss\jboss-3.0.0_tomcat-4.0.3
      13:04:18,828 INFO [Server] Home URL: file:/C:/JBoss/jboss-3.0.0_tomcat-4.0.3/
      13:04:18,828 INFO [Server] Library URL: file:/C:/JBoss/jboss-3.0.0_tomcat-4.0.3/lib/
      13:04:18,838 INFO [Server] Patch URL: null
      13:04:18,838 INFO [Server] Server Name: default
      13:04:18,838 INFO [Server] Server Home Dir: C:\JBoss\jboss-3.0.0_tomcat-4.0.3\server\default
      13:04:18,838 INFO [Server] Server Home URL: file:/C:/JBoss/jboss-3.0.0_tomcat-4.0.3/server/default/
      13:04:18,838 INFO [Server] Server Data Dir: C:\JBoss\jboss-3.0.0_tomcat-4.0.3\server\default\db
      13:04:18,838 INFO [Server] Server Temp Dir: C:\JBoss\jboss-3.0.0_tomcat-4.0.3\server\default\tmp
      13:04:18,838 INFO [Server] Server Config URL: file:/C:/JBoss/jboss-3.0.0_tomcat-4.0.3/server/default/conf/
      13:04:18,838 INFO [Server] Server Library URL: file:/C:/JBoss/jboss-3.0.0_tomcat-4.0.3/server/default/lib/
      13:04:18,838 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      13:04:18,848 INFO [Server] Starting General Purpose Architecture (GPA)...
      13:04:19,299 ERROR [Server] start failed
      javax.management.InstanceNotFoundException: MbeanServer cannot find MBean with ObjectName JMImplementation:service=LoaderRepository,name=Default
      at openjmx.MBeanServerImpl.getRegisteredMBean(MBeanServerImpl.java:645)
      at openjmx.MBeanServerImpl.invoke(MBeanServerImpl.java:156)
      at org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:162)
      at org.jboss.mx.loading.UnifiedClassLoader.(UnifiedClassLoader.java:145)
      at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:408)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:256)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:536)

      and then JBoss halts and closes. This is an out-of-the-box config. i get the same error with the various different config profiles.

      could anybody point me to a solution