4 Replies Latest reply on Feb 6, 2004 12:18 PM by juha

    JBoss and J2SDK 1.5.0 Problem

    jwcarman

      I understand that the 1.5 (Tiger) release is still beta, but JBoss immediately fails to startup when I switch JAVA_HOME to point to the new release. I don't know whether it's a JBoss problem or a Sun problem, but this will have to go away when the final release of Tiger comes out, as many people will want to upgrade. Anyway, here's the failure message...

      Failed to boot JBoss:
      javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos
      itory,name=Default
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul
      tMBeanServerInterceptor.java:1018)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
      BeanServerInterceptor.java:812)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792
      )
      at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:
      499)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:335)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:395)
      at java.lang.Thread.run(Thread.java:565)

        • 1. Re: JBoss and J2SDK 1.5.0 Problem
          pietro.martinelli

          I have the same problem.
          Do you have found solution to this problem ?
          Thank you,

          Pie.

          • 2. Re: JBoss and J2SDK 1.5.0 Problem

            It won't work unless you remove javax.management classes from your rt.jar.

            • 3. Re: JBoss and J2SDK 1.5.0 Problem
              marc.fleury

              oh hey juha,

              i am thinking that we should run "FAQ" wikis per forum. This question keeps poping up. We need to work on the 1.5 release just for annotations and having a smooth deploy would be nice.

              Anything we can do on our end? does this mean that the SUN RI will always be used unless we do something about it? How can we solve this?

              • 4. Re: JBoss and J2SDK 1.5.0 Problem

                Yes FAQ must be in Wiki. It does not work in the forum at all (almost at all, Adrian's new "sticky" FAQ on JMS forum seems like an almost workable solution).

                For 1.5 we just need to use the provided hook to replace the Sun's MBeanServer implementation, plus possibly workaround bug or two (where replacement hookin's don't exist).