1 2 Previous Next 18 Replies Latest reply on Mar 21, 2002 10:33 AM by Adrian Brock

    Run JBoss 3.0 beta fail with exception with JDK1.4.0

    Hans Newbie

      I run JBoss 3.0 beta with J2sdk1.4.0. The log is bellow:
      2002-02-22 17:32:35,542 INFO [root] Started Log4jService, config=file:/D:/jboss-3.0.0beta/conf/default/log4j.properties
      2002-02-22 17:32:35,572 INFO [org.jboss.system.Server] Home Dir: D:\jboss-3.0.0beta
      2002-02-22 17:32:35,572 INFO [org.jboss.system.Server] Install URL: file:/D:/jboss-3.0.0beta/
      2002-02-22 17:32:35,572 INFO [org.jboss.system.Server] Configuration URL: file:/D:/jboss-3.0.0beta/conf/default/
      2002-02-22 17:32:35,582 INFO [org.jboss.system.Server] Spine URL: file:/D:/jboss-3.0.0beta/lib/
      2002-02-22 17:32:35,592 INFO [org.jboss.system.Server] Library URL: file:/D:/jboss-3.0.0beta/lib/ext/
      2002-02-22 17:32:35,592 INFO [org.jboss.system.Server] Patch URL: null
      2002-02-22 17:32:35,602 INFO [org.jboss.system.Info] Java version: 1.4.0,Sun Microsystems Inc.
      2002-02-22 17:32:35,602 INFO [org.jboss.system.Info] Java VM: Java HotSpot(TM) Client VM 1.4.0-b92,Sun Microsystems Inc.
      2002-02-22 17:32:35,602 INFO [org.jboss.system.Info] OS-System: Windows 2000 5.0,x86
      2002-02-22 17:32:35,652 INFO [org.jboss.system.ServiceController] Controller MBean online
      2002-02-22 17:32:35,722 INFO [org.jboss.deployment.MainDeployer] Creating
      2002-02-22 17:32:35,722 INFO [org.jboss.deployment.MainDeployer] Created
      2002-02-22 17:32:35,802 INFO [org.jboss.deployment.MainDeployer] adding deployer: org.jboss.deployment.SARDeployer@74c3aa
      2002-02-22 17:32:35,832 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/conf/default/jboss-service.xml
      2002-02-22 17:32:35,992 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/org.apache.jasper.jar
      2002-02-22 17:32:36,052 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jta.jar
      2002-02-22 17:32:36,082 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jboss.jar
      2002-02-22 17:32:36,183 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/activation.jar
      2002-02-22 17:32:36,223 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/xalan.jar
      2002-02-22 17:32:36,303 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/xalan.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/jaxp.jar which could not be opened, entry ignored
      2002-02-22 17:32:36,343 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/xalan.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/xerces.jar which could not be opened, entry ignored
      2002-02-22 17:32:36,383 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/xalan.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/crimson.jar which could not be opened, entry ignored
      2002-02-22 17:32:36,453 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jbossha.jar
      2002-02-22 17:32:36,523 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jcert.jar
      2002-02-22 17:32:36,543 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/mail-plugin.jar
      2002-02-22 17:32:36,573 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jpl-util.jar
      2002-02-22 17:32:36,613 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jndi.jar
      2002-02-22 17:32:36,653 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/gnu-regexp.jar
      2002-02-22 17:32:36,683 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/scheduler-plugin.jar
      2002-02-22 17:32:36,713 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jbossmx.jar
      2002-02-22 17:32:36,743 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/tyrex.jar
      2002-02-22 17:32:36,783 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/hsqldb-plugin.jar
      2002-02-22 17:32:36,814 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jbosssx.jar
      2002-02-22 17:32:36,854 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jbossmq.jar
      2002-02-22 17:32:36,894 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/log4j.jar
      2002-02-22 17:32:36,934 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/mail.jar
      2002-02-22 17:32:37,004 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/concurrent.jar
      2002-02-22 17:32:37,044 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jbossmqha.jar
      2002-02-22 17:32:37,074 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jnet.jar
      2002-02-22 17:32:37,104 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jnpserver.jar
      2002-02-22 17:32:37,134 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jboss-spine.jar
      2002-02-22 17:32:37,164 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/javax.servlet.jar
      2002-02-22 17:32:37,204 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jts.jar
      2002-02-22 17:32:37,244 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jsr77.jar
      2002-02-22 17:32:37,274 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jaas.jar
      2002-02-22 17:32:37,314 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jpl-pattern.jar
      2002-02-22 17:32:37,344 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jmxtools.jar
      2002-02-22 17:32:37,374 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/hsqldb.jar
      2002-02-22 17:32:37,414 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/counter-plugin.jar
      2002-02-22 17:32:37,444 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/scheduler-plugin-example.jar
      2002-02-22 17:32:37,474 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/castor.jar
      2002-02-22 17:32:37,545 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/castor.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/xerces.jar, which could not be opened, entry ignored
      2002-02-22 17:32:37,575 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/castor.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/jdbc-se2.0.jar, which could not be opened, entry ignored
      2002-02-22 17:32:37,615 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/castor.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/jndi.jar, which could not be opened, entry ignored
      2002-02-22 17:32:37,655 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/jboss-3.0.0beta/lib/ext/castor.jar references URL file:/D:/jboss-3.0.0beta/lib/ext/jta1.0.1.jar which could not be opened, entry ignored
      2002-02-22 17:32:37,715 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jboss-common.jar
      2002-02-22 17:32:37,755 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jboss-j2ee.jar
      2002-02-22 17:32:37,795 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/javagroups-2.0.jar
      2002-02-22 17:32:37,845 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/lib/ext/jsse.jar
      2002-02-22 17:32:38,165 ERROR [org.jboss.system.ServiceController] Could not create MBean: jboss.management.single:type=J2EEDomain,name=Manager
      javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      at com.sun.management.jmx.Introspector.testConsistency(Introspector.java:328)
      at com.sun.management.jmx.Introspector.introspect(Introspector.java:264)
      at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:134)
      at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:759)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:96)
      at org.jboss.system.ServiceController.install(ServiceController.java:153)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:228)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:395)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:151)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:536)
      2002-02-22 17:32:51,455 ERROR [org.jboss.deployment.SARDeployer] operation failed
      javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      at com.sun.management.jmx.Introspector.testConsistency(Introspector.java:328)
      at com.sun.management.jmx.Introspector.introspect(Introspector.java:264)
      at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:134)
      at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:759)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:96)
      at org.jboss.system.ServiceController.install(ServiceController.java:153)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:228)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:395)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:151)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:536)
      2002-02-22 17:32:52,005 ERROR [org.jboss.deployment.MainDeployer] could not deploy :file:/D:/jboss-3.0.0beta/conf/default/jboss-service.xml
      org.jboss.deployment.DeploymentException: Getter isStateManageable cannot co-exist with getter getStateManageable; - nested throwable is: javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      at com.sun.management.jmx.Introspector.testConsistency(Introspector.java:328)
      at com.sun.management.jmx.Introspector.introspect(Introspector.java:264)
      at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:134)
      at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:759)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:96)
      at org.jboss.system.ServiceController.install(ServiceController.java:153)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:228)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:395)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:151)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:536)
      org.jboss.deployment.DeploymentException: Getter isStateManageable cannot co-exist with getter getStateManageable; - nested throwable is: javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:395)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:151)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: javax.management.NotCompliantMBeanException: Getter isStateManageable cannot co-exist with getter getStateManageable
      at com.sun.management.jmx.Introspector.testConsistency(Introspector.java:328)
      at com.sun.management.jmx.Introspector.introspect(Introspector.java:264)
      at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:134)
      at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:759)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:96)
      at org.jboss.system.ServiceController.install(ServiceController.java:153)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:228)
      ... 13 more
      2002-02-22 17:32:52,596 INFO [org.jboss.system.Server] Shutting down all services
      2002-02-22 17:32:53,247 INFO [Default] Shutting down
      2002-02-22 17:32:53,257 INFO [org.jboss.system.ServiceController] Stopping 2 services
      2002-02-22 17:32:53,277 INFO [org.jboss.system.ServiceController] Stopped 1 services
      2002-02-22 17:32:53,287 INFO [org.jboss.system.Server] Shutdown complete
      2002-02-22 17:32:53,297 INFO [Default] Shutdown complete
      Does anyone know what's wrong and will the bug be fixed?

        • 1. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
          Adrian Brock Master

          This is a known issue with JDK1.4 and jmxri.jar

          Sun should be releasing a new version of jmxri.jar
          for 1.4 at the end of this month. Hopefully this
          problem is fixed by that version. :-)

          Regards,
          Adrian

          • 2. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
            Hans Newbie

            Thanks.
            It's a great news !

            • 3. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
              Dave Newbie

              Is there any new word on jmxri and jdk 1.4? Or even JBossMX and jdk 1.4?

              Thanks

              • 4. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                Adrian Brock Master

                Hi,

                For jmx1.1 watch this link
                http://www.jcp.org/jsr/detail/3.jsp

                Juha got an e-mail last week saying the spec would be
                out this week and the RI would follow "shortly" afterwards.

                I've already got JBoss3.0 running with JBossMX.
                JBossMX doesn't have this bug :-)

                Marc Fleury wants to use JBossMX with JBoss3.0RC1
                or JBoss3.0RC2

                Regards,
                Adrian

                • 5. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                  Ferran Newbie

                  Hi,

                  Maybe this a silly question, but I'm a newbie in jboss, so...

                  You said jboss 3.0 works with jbossmx... Well, I'm trying to start jboss3beta-tomcat and I get the sun's jxmri exception, so what should I do to run it with jbossmx ??

                  Thanks!!

                  • 6. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                    Adrian Brock Master

                    JbossMX does not come with the beta distribution,
                    it is still an alpha release and is feature incomplete.
                    It uses the jmxri from Sun. But this contains a bug
                    when running with JDK1.4

                    JBossMX works enough to run JBoss. :-)

                    You can download JBossMX (alpha2) from sourceforge.

                    The mechanism to run JBoss with JBossMX has changed
                    sinced the beta, these instructions are from memory.

                    1) Add jboss-jmx.jar into jboss-3.0.0beta/lib

                    2) Change the META-INF/MANIFEST.MF in
                    jboss-3.0.0beta/bin/run.jar
                    to use jboss-jmx.jar instead of jmxri.jar

                    I think that is it. You might want to backup run.jar
                    before changing it, just in case you hit a problem
                    I haven't found in my testing ;-)

                    Regards,
                    Adrian

                    • 7. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                      Ferran Newbie

                      Hi again,

                      I modified the Manifest inside the run.jar to use jboss-jmx, and now it seems to work fine where it failed before.

                      However, there's another problem, which (in my opinion) seems related to Tomcat connection. I include the exception trace to see if someone can help me on this error.

                      Thanks a lot!
                      Ferran

                      (I hope that although some messages are in spanish, someone can help me ;))


                      2002-03-05 12:46:53,794 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Creating
                      2002-03-05 12:46:53,794 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Created
                      2002-03-05 12:46:53,804 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Starting
                      2002-03-05 12:46:53,814 INFO [org.jboss.deployment.MainDeployer] adding deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@5f6303
                      2002-03-05 12:46:53,834 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Starting EmbeddedCatalinaSX....
                      2002-03-05 12:46:54,515 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Building Http engine and connector
                      2002-03-05 12:46:55,526 INFO [Default] Apache Tomcat/4.0.2
                      2002-03-05 12:46:55,576 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpConnector Abriendo sockets de servidor en todas las direcciones IP disponibles
                      2002-03-05 12:46:55,596 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpConnector[8080] Iniciando thread de posterior
                      2002-03-05 12:46:56,277 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpProcessor[8080][0] Iniciando thread de posterior
                      2002-03-05 12:46:56,287 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpProcessor[8080][1] Iniciando thread de posterior
                      2002-03-05 12:46:56,307 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpProcessor[8080][2] Iniciando thread de posterior
                      2002-03-05 12:46:56,327 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpProcessor[8080][3] Iniciando thread de posterior
                      2002-03-05 12:46:56,337 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] Iniciando thread de posterior
                      2002-03-05 12:46:56,358 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] OK
                      2002-03-05 12:46:56,368 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Started
                      2002-03-05 12:46:56,368 INFO [org.jboss.deployment.MainDeployer] Deploying: file:/C:/users/ferran/jboss3beta-tomcat/jboss-3.0.0beta/deploy/jmx-html-adaptor.sar
                      2002-03-05 12:46:56,508 ERROR [org.jboss.system.ServiceController] JMRuntimeException thrown during ServiceProxy operation start on mbean jboss.jmx:type=Adaptor,name=HTML
                      java.lang.Error: Unhandled Throwable in MBeanInvoker: com/sun/management/jmx/Trace
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      2002-03-05 12:46:56,828 ERROR [org.jboss.deployment.SARDeployer] operation failed
                      javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      2002-03-05 12:46:57,129 ERROR [org.jboss.deployment.MainDeployer] could not deploy :file:/C:/users/ferran/jboss3beta-tomcat/jboss-3.0.0beta/deploy/jmx-html-adaptor.sar
                      org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      ... 17 more
                      2002-03-05 12:47:17,450 ERROR [org.jboss.deployment.MainDeployer] Couldn't deploy URL file:/C:/users/ferran/jboss3beta-tomcat/jboss-3.0.0beta/deploy/jmx-html-adaptor.sar
                      org.jboss.deployment.DeploymentException: Could not deploy: file:/C:/users/ferran/jboss3beta-tomcat/jboss-3.0.0beta/deploy/jmx-html-adaptor.sar; - nested throwable is: org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      ... 17 more
                      org.jboss.deployment.DeploymentException: Could not deploy: file:/C:/users/ferran/jboss3beta-tomcat/jboss-3.0.0beta/deploy/jmx-html-adaptor.sar; - nested throwable is: org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
                      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
                      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
                      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
                      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.Server.(Server.java:157)
                      at org.jboss.Main.boot(Main.java:263)
                      at org.jboss.Main.run(Main.java:48)
                      at java.lang.Thread.run(Thread.java:536)
                      Caused by: org.jboss.deployment.DeploymentException: - nested throwable is: javax.management.RuntimeErrorException
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
                      ... 16 more
                      Caused by: javax.management.RuntimeErrorException
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
                      at $Proxy2.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceController.java:341)
                      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                      at java.lang.reflect.Method.invoke(Method.java:324)
                      at org.jboss.mx.capability.OperationProvider.invoke(Unknown Source)
                      at org.jboss.mx.capability.MBeanAdapter.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanTarget.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.MBeanInvoker.invoke(Unknown Source)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
                      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
                      at $Proxy1.start(Unknown Source)
                      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
                      ... 17 more

                      • 8. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                        Adrian Brock Master

                        Sorry I forgot,

                        Copy jmxri.jar from lib to lib/ext

                        The html adaptor in jmxtools.jar uses the trace
                        routines from jmxri.jar

                        Its nothing to do with Tomcat.

                        Regards,
                        Adrian

                        • 9. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                          Ferran Newbie


                          Ok, everything works fine now... except my application :D.

                          Thanks a lot for your help.

                          Ferran.

                          • 10. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                            Richard Doust Newbie

                            Has this solution changed with beta 2? I have looked in vain for a reference to jmxri.jar in the run.jar manifest.mf. I find no references to jars in the manifest.mf in the run.jar in the beta2/bin directory. Here's the contents of my run.jar's manfiest.mf:

                            Manifest-Version: 1.0
                            Specification-Title: JBoss-3.0.0beta2
                            Specification-Vendor: JBoss Group, LLC
                            Main-Class: org.jboss.Main
                            Created-By: 1.3.1_01 (Sun Microsystems Inc.)
                            Implementation-Vendor: JBoss Group, LLC
                            Specification-Version: 3.0.0beta2
                            Implementation-Version: 3.0.0beta2 Date:200203201829
                            Implementation-Title: JBoss-3.0.0beta2 CVSTag=HEAD

                            Would it do me any good at all to throw in a Class-Path: statement/declaration?

                            I have tried to get this to work (since I can't figure out how to modify a line that doesn't exist) by setting the JBOSS_CLASSPATH=".../lib/jboss-jmx.jar" before starting the server using the start script supplied (run.bat). This results in an exception during initialization. MainDeployer fails with an UndeclaredThrowableException when calling 'getServerTempDir'. The UndeclaredThrowable is masking a java.lang.NoSuchMethodException: Unable to locate provider for method key: getServerTempDir exception.
                            Any ideas?

                            • 11. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                              Trevor Squires Novice

                              Hey Richard,

                              First off (and I'm doing this from memory so I could be wrong), the "unable to locate provider" message tells me that the jbossmx version you have is out of date.

                              Grab the latest one from http://jboss.org/developers/jboss-jbossmx.jsp

                              Next, if memory serves me correctly, the message actually means that something is trying to directly invoke() a getter for a StandardMBean attribute - this is not legal although the sun JMX RI allows it.

                              As such, upgrading to a newer JBossMX release may not actually solve the problem.

                              Give it a try anyways and let me know what happens.

                              Trev

                              • 12. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                                Adrian Brock Master

                                Yes,

                                One of the developers of JBoss has re-introduced an
                                invoke() instead of getAttribute() in beta2.
                                ServiceProxy is actually an MBean proxy.

                                I need to fix this.

                                Juha, are we ready for integration into JBoss?

                                If we integrate, other developers will spot this
                                sort of ever during their testing :-)

                                Regard,
                                Adrian

                                • 13. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                                  Juha Lindfors Master

                                  hey I'm as ready as I'll ever be..

                                  but you've been working on the JBoss integration so you should know better... Adrian, are we ready? ;)

                                  -- Juha

                                  • 14. Re: Run JBoss 3.0 beta fail with exception with JDK1.4.0
                                    Adrian Brock Master

                                    Hi Juha,

                                    I'll fix the MBeanProxy/ServiceProxy problems this
                                    weekend and run the testsuite this weekend.

                                    When we pass :-)
                                    I'll mail the dev-list for clearance.
                                    Assuming no objections, I'll change JBoss to run
                                    with JBossMX

                                    I've got to scan the code for invoke on attributes that
                                    the testsuite doesn't spot.
                                    It might be an idea to add a comment to the method not
                                    found error asking the user if they are trying to invoke
                                    an attribute?

                                    Regards,
                                    Adrian

                                    1 2 Previous Next