Hallo,

i have embedded jboss EJB3 into my app, and when starting

  java  MyApp

it works as expected.

As i need JMX i need to start it like:

  java  -Dcom.sun.management.jmxremote MyApp

Now the startup fails with:

  16:05:51,915 DEBUG JaccHelper:143 - HandlerBean has no @SecurityDomain - 
skipping JACC configuration
16:05:51,916  INFO EJBContainer:479 - STARTED EJB: model.HandlerBean ejbName: 
HandlerBean
16:05:51,944 ERROR AbstractKernelController:440 - Error installing to Start: 
name=jboss.j2ee:jar=build,name=HandlerBean,service=EJB3 state=Create
javax.naming.NameNotFoundException: jmx not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at 
org.jboss.ejb3.KernelAbstractionFactory.getMBeanServer(KernelAbstractionFactory.java:92)


Is there any workaround to resolve this?
How can i switch off embedded jboss JMX?

Thanks
Marcel


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035746#4035746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035746
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to