1 Reply Latest reply on Aug 2, 2002 9:14 PM by David Jencks

    Another EJB/MBean dependency problem

    mary Newbie

      Hi,
      I have an EJB that is dependent on an MBean. If I re-deploy (ie hot-deploy) the EJB, I then have to re-deploy the MBean to be able to access the EJB, otherwise I get a jndi NameNotFoundException.

      Is this expected behavior?

      It may be important to note that the EJB and MBean are in the same jar.

      Thanks!

        • 1. Re: Another EJB/MBean dependency problem
          David Jencks Master

          You don't indicate the packaging you are using. If you are removing and redeploying the package that the mbean's class is in, you will have to redeploy it for sure. I'm somewhat surprised however that the redeployment isn't automatic. If you showed your packaging and more info about the dependency it would be helpful.

          What does the stack trace say? Are you using cvs head? (you should be for this kind of stuff)