I check the classpath, it's ok.
I've found this post on bea forum http://forums.bea.com/bea/message.jspa?messageID=400006599&tstart=0, the problem is a bug of R27.2 it will fix in the next realese.
Thanks for help.

Sandro


Scott Ferguson ha scritto:
On Apr 26, 2007, at 3:21 AM, Sandro Gattuso wrote:

Hi,
I've tried to use Jmx in Resin 3.0.23 with JRockit-R27.2.0-jdk1.6.0 but
I've this stacktrace on console

You might need to check the classpath that JRockit is starting with. It looks like JRockit isn't including the resin.jar when it's looking for its JMX startup.

-- Scott

javax.management.JMRuntimeException: Failed to load MBeanServerBuilder
class com.caucho.jmx.MBeanServerBuilderImpl: java
.lang.ClassNotFoundException: com.caucho.jmx.MBeanServerBuilderImpl
        at
javax.management.MBeanServerFactory.checkMBeanServerBuilder (MBeanServerFactory.java:480)
        at
javax.management.MBeanServerFactory.getNewMBeanServerBuilder (MBeanServerFactory.java:511)
        at
javax.management.MBeanServerFactory.newMBeanServer (MBeanServerFactory.java:298)
        at
javax.management.MBeanServerFactory.createMBeanServer (MBeanServerFactory.java:213)
        at
javax.management.MBeanServerFactory.createMBeanServer (MBeanServerFactory.java:174)
        at
sun.management.ManagementFactory.createPlatformMBeanServer (ManagementFactory.java:302)
        at
java.lang.management.ManagementFactory.getPlatformMBeanServer (ManagementFactory.java:504)
        at
sun.management.jmxremote.ConnectorBootstrap.initialize (ConnectorBootstrap.java:360)
        at sun.management.Agent.startAgent(Agent.java:127)
        at sun.management.Agent.startAgent(Agent.java:239)
        at bea.jrockit.management.server.Main.start0(Main.java:291)
        at bea.jrockit.management.server.Main.access$000(Main.java:53)
        at bea.jrockit.management.server.Main$2.run(Main.java:377)
        at bea.jrockit.management.server.Main.start(Main.java:375)
        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:597)
        at jrockit.management.AgentStarter.startAgent(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
com.caucho.jmx.MBeanServerBuilderImpl
        at java.lang.ClassLoader.findClass(ClassLoader.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at
javax.management.MBeanServerFactory.loadBuilderClass (MBeanServerFactory.java:423)
        at
javax.management.MBeanServerFactory.checkMBeanServerBuilder (MBeanServerFactory.java:465)
        ... 18 more
Eccezione dell'agente : javax.management.JMRuntimeException: Failed to
load MBeanServerBuilder class com.caucho.jmx.MBea
nServerBuilderImpl: java.lang.ClassNotFoundException:
com.caucho.jmx.MBeanServerBuilderImpl
java.lang.RuntimeException: javax.management.JMRuntimeException: Failed
to load MBeanServerBuilder class com.caucho.jmx.
MBeanServerBuilderImpl: java.lang.ClassNotFoundException:
com.caucho.jmx.MBeanServerBuilderImpl
        at sun.management.Agent.error(Agent.java:309)
        at sun.management.Agent.startAgent(Agent.java:153)
        at sun.management.Agent.startAgent(Agent.java:239)
        at bea.jrockit.management.server.Main.start0(Main.java:291)
        at bea.jrockit.management.server.Main.access$000(Main.java:53)
        at bea.jrockit.management.server.Main$2.run(Main.java:377)
        at bea.jrockit.management.server.Main.start(Main.java:375)
        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:597)
        at jrockit.management.AgentStarter.startAgent(Unknown Source)
Caused by: javax.management.JMRuntimeException: Failed to load
MBeanServerBuilder class com.caucho.jmx.MBeanServerBuilde
rImpl: java.lang.ClassNotFoundException:
com.caucho.jmx.MBeanServerBuilderImpl
        at
javax.management.MBeanServerFactory.checkMBeanServerBuilder (MBeanServerFactory.java:480)
        at
javax.management.MBeanServerFactory.getNewMBeanServerBuilder (MBeanServerFactory.java:511)
        at
javax.management.MBeanServerFactory.newMBeanServer (MBeanServerFactory.java:298)
        at
javax.management.MBeanServerFactory.createMBeanServer (MBeanServerFactory.java:213)
        at
javax.management.MBeanServerFactory.createMBeanServer (MBeanServerFactory.java:174)
        at
sun.management.ManagementFactory.createPlatformMBeanServer (ManagementFactory.java:302)
        at
java.lang.management.ManagementFactory.getPlatformMBeanServer (ManagementFactory.java:504)
        at
sun.management.jmxremote.ConnectorBootstrap.initialize (ConnectorBootstrap.java:360)
        at sun.management.Agent.startAgent(Agent.java:127)
        ... 10 more
Caused by: java.lang.ClassNotFoundException:
com.caucho.jmx.MBeanServerBuilderImpl
        at java.lang.ClassLoader.findClass(ClassLoader.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at
javax.management.MBeanServerFactory.loadBuilderClass (MBeanServerFactory.java:423)
        at
javax.management.MBeanServerFactory.checkMBeanServerBuilder (MBeanServerFactory.java:465)
        ... 18 more
Eccezione dell'agente : java.lang.RuntimeException:
javax.management.JMRuntimeException: Failed to load MBeanServerBuild
er class com.caucho.jmx.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException: com.caucho.jmx.MBeanServerBuilderImplR
esin-3.0.23 (built Mon, 22 Jan 2007 02:16:07 PST)

With jrockit-jdk1.5.0_06 all works fine.
I use this command to start Resin:
httpd.exe -java_home C:\WisePlacePolilink30\JDK\JRockit-R27.2.0- jdk1.6.0
-Xmx512M -Xms32M -J-Dcom.sun.management.jmxremote.port=10001
-J-Dcom.sun.management.jmxremote.ssl=false
-J-Dcom.sun.management.jmxremote.authenticate=false
-J-Djrockit.managementserver.port=10001 -Xdebug -verbose  -conf
conf\wpPortalHOST.conf -standalone

Any help would be greatly appreciated....

Thanks
Sandro


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to