1 Reply Latest reply on Feb 26, 2006 8:34 PM by manica

    JMX->Session Bean->Entity Bean in one Jar file... dependency

    Michael Newcomb Newbie


      class MyService
       MySession ms;

      class MyStateless
       EntityManager em;

      class MyEntity

      Now, it starts to deploy the SessionBean first. It recognizes that it depends upon the Entity bean and states so in the log.

      Next, it tries to deploy the MBean, recognizes it depends on the SessionBean but it fails because the SessionBean is waiting on the EntityBean...

      Do I have to tell the system that my MBean depends on the entity bean as well? If so, how do I do that? If no, what am I doing wrong?