0 Replies Latest reply on Aug 22, 2014 12:17 AM by maneendra perera

    SAR dependency issue in jboss 6.1.0

    maneendra perera Newbie

      Hi,

       

      I am migrating an application from jboss 4.2.1 to jboss 6.1.0. When i am deploying the app i get the below dependency error.

       

      Deployment "Support:service = CollectionServiceMgmt - (View Collection Service Stats and Save or Restore Collections)" is missing the following dependencies:

          Dependency "bp:service=AkSMS" (should be in state "Create", but is actually in state "Configured")

       

      Following is my jboss-service.xml

       

      <server>

          <mbean code="com.sms.system.AkSMS" name="bp:service=AkSMS">

              <depends>jboss.j2ee:service=EARDeployment,url='bp.ear'</depends>

          </mbean>

          <mbean code="com.bp.context.ServicesContextInit" name="bp:service=ServicesContext">

              <depends>bp:service=AkSMS</depends>

          </mbean>

      </server>

       

      When going through the forums, noticed that "EARDeployment" is not available in jboss 6.1.0.

       

      Questions that i have,

      1. Then what is the format of mentioning the dependency?
      2. Any good articulates to refer on this area?

       

      Any one has an idea?

       

       

      Thanks in advance.