Hi all,

        First I would like to say as a long time lurker, you guys are doing some
amazing things.  Its wonderful to watch a project like this evolve.  I
finally had a chance to dive into the jBoss 2.0 code and was fascinated by
the JMX integration.  Currently we are using Objectspace's EJB container and
I would love to be able to use the plugin architecture that jboss offers.
So I started off by creating a VoyagerServerMBean but I can't seem to get it
to run.  I know it has to do with access privileges but I am not too familer
with Java 2 security yet and I am not sure how to get around it.  Any ideas
what I might be missing?

BTW:  I have been working on SchedulerMBean that use the Timer bean that was
mentioned in a previous post.  I hope to write up some of my ideas soon to
see what you guys think.

Thanks,

Rick

[Console logging] Logging started
[Classpath] Added directory:file:/E:/cvs/jbossjmx/runtime/log/
[Classpath] Added directory:file:/E:/cvs/jbossjmx/build/
[Info] Java version: 1.2.2,Sun Microsystems Inc.
[Info] Java VM: Classic VM 1.2.2,Sun Microsystems Inc.
[Info] System: Windows NT 4.0,x86
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/jboss.jar
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/jgl3.1.0.jar
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/jgl_pd.jar
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/jmxtools.jar
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/voyager.jar
[Classpath] Added library:file:/E:/cvs/jbossjmx/runtime/lib/ext/xml.jar
[VoyagerServer] Initializing

[VoyagerServer] Initialization failed
[VoyagerServer] com.objectspace.voyager.StartupException: invalid transport
protocol (xurl = tcp://localhost:8000;), did you forget to call
Voyager.startup()?
[VoyagerServer]         at
com.objectspace.voyager.Voyager.startServer(Voyager.java:419)
[VoyagerServer]         at
com.objectspace.voyager.Voyager.startup(Voyager.java:363)
[VoyagerServer]         at
com.objectspace.voyager.Voyager.basicStartup(Voyager.java:394)
[VoyagerServer]         at
org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:64)
[VoyagerServer]         at java.lang.reflect.Method.invoke(Native Method)
[VoyagerServer]         at
javax.management.MBeanServer.createMBean(MBeanServer.java:505)
[VoyagerServer]         at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
[VoyagerServer]         at org.jboss.Main.<init>(Main.java:86)
[VoyagerServer]         at
java.security.AccessController.doPrivileged(Native Method)
com.objectspace.voyager.StartupException: invalid transport protocol (xurl =
tcp://localhost:8000;), did you forget to call Voyager.startup()?
        at
com.objectspace.voyager.Voyager.startServer(Voyager.java:419)[Configuration]
Initializing

        at com.objectspace.voyager.Voyager.basicStartup(Voyager.java:394)
        at com.objectspace.voyager.Voyager.startup(Voyager.java:363)
        at
com.earthcars.jmx.services.VoyagerServer.initService(VoyagerServer.java:39)
        at
org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:64)
        at
org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSupport.java:154)
        at java.lang.reflect.Method.invoke(Native Method)
        at
javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:505)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:368)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.<init>(Main.java, Compiled Code)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)
[VoyagerServer]         at
com.earthcars.jmx.services.VoyagerServer.initService(VoyagerServer.java:39)
[VoyagerServer]         at
org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSupport.java:154)
[VoyagerServer]         at
javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
[VoyagerServer]         at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:368)
[VoyagerServer]         at org.jboss.Main.<init>(Main.java, Compiled Code)
[VoyagerServer]         at org.jboss.Main$1.run(Main.java:76)
[VoyagerServer]         at org.jboss.Main.main(Main.java:67)
[Configuration] Initialized
[Configuration] LibraryDirectory set to E:\cvs\jbossjmx\runtime\bin in
DefaultDomain:service=MLet
[Configuration] Format set to [{2}] {4} in
DefaultDomain:service=Logging,type=Console
[Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
[Configuration] Port set to 8082 in Adaptor:name=html
[Default] java.lang.ClassCastException
[Default]       at org.jboss.Main.<init>(Main.java:86)
[Default]       at org.jboss.Main$1.run(Main.java:76)
[Default]       at java.security.AccessController.doPrivileged(Native
Method)
[Default]       at org.jboss.Main.main(Main.java:67)
[Default] jBoss 2.0 Started


  -rick
__________________________________________________________
Rick Gibbs
Chief Technology Officer      turbo charge your career
[EMAIL PROTECTED]            http://careers.earthcars.com


Reply via email to