HI all,

I would like to try test of JMS

JBoss2\bin\test\jboss\jmx\TestServer.class 

I copy sample tu %JBOSS_HOME%\run\test\jboss\jmx\
I copy compile it and run like:

set 
CLASSPATH=.\;%JBOSS_HOME%\lib\ext\jboss.jar;%JBOSS_HOME%\lib\ext\jnpserver.jar;%JBOSS_HOME%\lib\jmxri.jar
 
java -classpath "%CLASSPATH%" test.jboss.jmx.TestServer %1 %2 %3 %4 %5 %6 %7 %8 %9


I got exaptions:
javax.management.RuntimeMBeanException: RuntimeException thrown in operation init
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1640)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at test.jboss.jmx.TestServer.<init>(TestServer.java:63)
        at test.jboss.jmx.TestServer$1.run(TestServer.java:44)
        at java.security.AccessController.doPrivileged(Native Method)
        at test.jboss.jmx.TestServer.main(TestServer.java:41)
TestServer.main(), caught: javax.management.RuntimeMBeanException: RuntimeException 
thrown in operation start, target: java.lang.NullPointerException
javax.management.RuntimeMBeanException: RuntimeException thrown in operation start
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1640)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at test.jboss.jmx.TestServer.<init>(TestServer.java:76)
        at test.jboss.jmx.TestServer$1.run(TestServer.java:44)
        at java.security.AccessController.doPrivileged(Native Method)
        at test.jboss.jmx.TestServer.main(TestServer.java:41)

Any suggestion ?
Thanks,



Darius Davidavicius
Living-Source
http://www.living-source.com/team_employee.php3?e_id=9&e_nextid=2
ICQ: 18325334



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to