2 Replies Latest reply on Oct 22, 2002 2:24 PM by wdrai

    Problem with hot redeploy of mbeans

    wdrai

      Hi

      I have put in my deploy directory a jar file and a user-service.xml which uses a class in the jar file, like this :

      deploy/test.jar : test/Test.class
      test/TestMBean.class

      deploy/test-service.xml :


      value1


      All of this deploys well the first time. The problem is that when I redeploy the test.jar library, I get this behaviour :
      ... test.jar undeployed
      ... test-service destroyed
      ... test.jar deployed

      So due to the dependency, the MBean gets undeployed but it is not redeployed after the jar is redeployed.
      Same if I have test1-service.xml, test2-service.xml, etc.
      All get undeployed but I have to redeploy them manually.

      Is this a bug or normal behaviour (I am using JBoss-3.0.3 but I have not tried with JBoss-3.2) ?

      Thanks for your answer


        • 1. Re: Problem with hot redeploy of mbeans

          :-)

          This is the last remain bug in the 3.0 testsuite.

          It is fixed in 4.0, but the fix is quite major.

          I've tested it with 3.0 and it does work, but I need
          to convince myself that it doesn't break other things.

          I'll probably apply to the 3.2beta first.

          Regards,
          Adrian

          • 2. Re: Problem with hot redeploy of mbeans
            wdrai

            Thanks for your answer

            I suppose I can live with this bug until the 3.2 release.

            It seems it also happens with wars referencing jars through MANIFEST.MF or even simple jars referencing each other but it should probably be the same bug