Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4668

jboss-deployment-structure.xml works in "jboss-as-7.1.0.Beta1" for SAR files but not in jboss-as-7.1.1.Final

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.1.1.Final
    • Class Loading
    • Hide

      Deploy the attached TestCase in "jboss-as-7.1.0.Beta1" and "JBoss AS7.1.1.Final" versions to see the difference.

      Use the following "jboss-deployment-structure.xml" file:

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-deployment-structure>
      <deployment>
      <dependencies>
      <module name="deployment.ServerMonitorServiceWorking.sar.Test.jar" />
      </dependencies>
      <resources>
      <resource-root path="Test.jar" />
      </resources>
      </deployment>
      </jboss-deployment-structure>

      Show
      Deploy the attached TestCase in "jboss-as-7.1.0.Beta1" and "JBoss AS7.1.1.Final" versions to see the difference. Use the following "jboss-deployment-structure.xml" file: <?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure> <deployment> <dependencies> <module name="deployment.ServerMonitorServiceWorking.sar.Test.jar" /> </dependencies> <resources> <resource-root path="Test.jar" /> </resources> </deployment> </jboss-deployment-structure>

    Description

      "jboss-deployment-structure.xml" behavior is changed in JBossAs7.1.1.Final.
      The Attached SAR file works fine in "jboss-as-7.1.0.Beta1" with the help of "jboss-deployment-structure.xml" file, but it fails to deploy in JBoss AS7.1.1.Final with the following exception:

      01:37:40,891 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ServerMonitorServiceWorking.sar" was rolled back with failure message

      {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.module.service.\"deployment.ServerMonitorServiceWorking.sar\".mainjboss.module.spec.service.\"deployment.ServerMonitorServiceWorking.sar.Test.jar\".mainMissing[jboss.module.service.\"deployment.ServerMonitorServiceWorking.sar\".mainjboss.module.spec.service.\"deployment.ServerMonitorServiceWorking.sar.Test.jar\".main]"]}

      01:37:40,901 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment ServerMonitorServiceWorking.sar in 10ms
      01:37:40,930 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment FormBasedAuth1.war in 39ms
      01:37:40,932 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014775: New missing/unsatisfied dependencies:
      service jboss.module.spec.service."deployment.ServerMonitorServiceWorking.sar.Test.jar".main (missing) dependents: [service jboss.module.service."deployment.ServerMonitorServiceWorking.sar".main]

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            jaysensharma Jay SenSharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: