2 Replies Latest reply on Aug 19, 2005 9:49 AM by jaikiran pai

    Order of events on startup - JMX problems

    Colin Eberhardt Newbie


      I am curently developing a component which contains a number of EJBs. I am using JMX as a means of configuring them.

      During development everything runs fine - I deploy my EJBs followed by my JMX files and it all works fine. However when I restart the server I get the following exception:

      13:57:38,140 INFO [STDOUT] javax.naming.NameNotFoundException: ejb not bound
      13:57:38,140 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)

      This occurs becaues JBoss is starts up my JMX component before it starts up my EJBs. So it is no surprise that the JMX component cannot find the EJB which it controls!

      Any suggestions as to how to avoid this problem?

      Colin E.