1 Reply Latest reply on Nov 28, 2004 2:28 PM by starksm64

    Unusual Boot Time Behavior 3.2.7RC1

    wkwan0423

      I am deploying JBoss 3.2.7RC1 on a WinXP box, my services have dependencies stated in the jboss-service.xml but these are being ignored at deploy time during the application bootstrapping... These services deploy as expected when done by hand, but if a shutdown, then restart is executed the dependent service is attempted first, which causes a deployer exception... I did a search of the FAQ, but no mention of similar behavior. A sample descriptor fragment is included below...

      using: JBoss 3.2.7RC1 on WinXP, j2sdk1.4.2._05

      my jboss-service.xml:

      <server>
       <mbean code="my.fully.qualified.ClassName" name="my:service=dependentServiceName">
       <depends>my:service=dependsOnServiceName</depends>
       </mbean>
      </server>


        • 1. Re: Unusual Boot Time Behavior 3.2.7RC1
          starksm64

          Dependencies only affect the create/start/stop/destroy lifecycle operation invocation. They do not affect when a service is deployed as an mbean to the jmx microkernel. Read through chap2 of the online admin/devel guide for more info on dependencies.