7 Replies Latest reply on Jun 24, 2003 10:56 AM by jimdwyer

    JMImplementation error

    jimdwyer

      Anyone,

      I am brand new to JBoss. Thought I would load it up, evaluate and pitch it to the bossman. Can't get it started. It this a CLASSPATH issue? Thanks in advance. Jim

      Here is the output:

      11:11:36,625 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:11:36,625 INFO [Server] Release ID: JBoss [Matrix2] 4.0.0DR1 (build: CVSTag=JBoss_4_0_0_DR1 date=200306011928)
      11:11:36,625 INFO [Server] Home Dir: C:\jboss-4.0.0DR1
      11:11:36,625 INFO [Server] Home URL: file:/C:/jboss-4.0.0DR1/
      11:11:36,625 INFO [Server] Library URL: file:/C:/jboss-4.0.0DR1/lib/
      11:11:36,625 INFO [Server] Patch URL: null
      11:11:36,640 INFO [Server] Server Name: default
      11:11:36,640 INFO [Server] Server Home Dir: C:\jboss-4.0.0DR1\server\default
      11:11:36,640 INFO [Server] Server Home URL: file:/C:/jboss-4.0.0DR1/server/default/
      11:11:36,640 INFO [Server] Server Data Dir: C:\jboss-4.0.0DR1\server\default\data
      11:11:36,640 INFO [Server] Server Temp Dir: C:\jboss-4.0.0DR1\server\default\tmp
      11:11:36,640 INFO [Server] Server Config URL: file:/C:/jboss-4.0.0DR1/server/default/conf/
      11:11:36,640 INFO [Server] Server Library URL: file:/C:/jboss-4.0.0DR1/server/default/lib/
      11:11:36,640 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      11:11:36,640 INFO [Server] Starting General Purpose Architecture (GPA)...
      11:11:36,984 ERROR [Server] Failed to start
      javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1011)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:807)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
      at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:458)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:282)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:238)
      at org.jboss.Main.boot(Main.java:165)
      at org.jboss.Main$1.run(Main.java:403)
      at java.lang.Thread.run(Thread.java:536)
      Failed to boot JBoss:
      javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1011)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:807)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
      at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:458)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:282)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:238)
      at org.jboss.Main.boot(Main.java:165)
      at org.jboss.Main$1.run(Main.java:403)
      at java.lang.Thread.run(Thread.java:536)

        • 1. Re: JMImplementation error
          jimdwyer

          I switched to version 3.2.1 from 4.0. Still having the same problem.

          • 2. Re: JMImplementation error
            jonlee

            If you are still having problems, you should show the start of the output script that indicates the environment configuration.

            However, some blind advice:
            1. Make sure JAVA_HOME is set to the root directory of your Java installation (requires the JDK)
            2. Make sure that your Java installation is not installed in a path that has spaces in it
            3. It is probably best to use a 1.4.1 JDK

            • 3. Re: JMImplementation error

              This will be caused by one of two problems.

              1) You modified the classpath, don't
              2) You have a jmx implementation in jre/lib/ext,
              remove it

              Regards,
              Adrian

              • 4. Re: JMImplementation error
                jimdwyer

                I am still getting the same problem. I have attached a file called temp.out that includes the env variable output by jboss. I removed the JMX implementation form my path.

                • 5. Re: JMImplementation error
                  jimdwyer

                  Why are some of the paths in the JBoss output shown to be Unix like and others shown to be Windows like?

                  • 6. Re: JMImplementation error

                    You still have the jmx ri in your classpath
                    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)

                    Some of the paths are urls others are directories.

                    Regards,
                    Adrian

                    • 7. Re: JMImplementation error
                      jimdwyer

                      warjort,

                      You win! Yes. There was a jmxri.jar in my path. Hidden away. Secretly hiding for this moment. Thanks. Now I have a whole bunch of questions about what I am doing but will read, read , read first.

                      Thanks again

                      Jim