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

inbound RAR inside EAR: cannot redeploy

    XMLWordPrintable

Details

    • Hide

      1) deploy EAR using web console - succeeds
      2) undeploy and remove EAR using web console - succeeds
      3) deploy EAR using web console - fails

      It is also reproducible when deploying using other means (filesystem, maven, ...).

      Show
      1) deploy EAR using web console - succeeds 2) undeploy and remove EAR using web console - succeeds 3) deploy EAR using web console - fails It is also reproducible when deploying using other means (filesystem, maven, ...).

    Description

      There is a regression somewhere after 7.1.1.Final release regarding inbound resource adapters inside EAR. Previously, it was possible to redeploy EAR containing inbound RAR. Now, only the first attempt succeeds, and the subsequent deployments fail. It is reproducible in both latest git master snapshot, and in some older (about a month) snapshot of 7.1.3 branch. I have tested the issue using a very simple EAR containing a trivial inbound RAR, EJB-JAR with a MDB consuming messages from RAR, and a library JAR with listener interface (sources and binaries attached).

      Here is the relevant part of server log:
      {{
      14:52:49,934 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014900: Content added at location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
      14:53:01,460 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "test-ear.ear"
      14:53:01,557 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "test-ejb-2.0.0-SNAPSHOT.jar"
      14:53:01,557 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test-rar-2.0.0-SNAPSHOT.rar"
      14:53:02,015 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-2) IJ020002: Deployed: file:/home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/tmp/vfs/deploymentcae5cd1d0b6a9fb7/test-rar-2.0.0-SNAPSHOT.rar-ca312609764d3645/contents/
      14:53:02,137 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) JBAS014142: Started message driven bean 'InboundMDB' with 'test-ear.ear#test-rar-2.0.0-SNAPSHOT' resource adapter
      14:53:02,188 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool – 64) Hibernate Validator 4.2.0.Final
      14:53:02,381 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS018559: Deployed "test-ear.ear"
      14:53:06,898 INFO [stdout] (MSC service thread 1-4) TestRA stopped
      14:53:06,923 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment test-ejb-2.0.0-SNAPSHOT.jar in 39ms
      14:53:06,925 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test-rar-2.0.0-SNAPSHOT.rar in 40ms
      14:53:06,926 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test-ear.ear in 42ms
      14:53:06,997 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS018558: Undeployed "test-ear.ear"
      14:53:11,789 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014901: Content removed from location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
      14:53:19,937 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014900: Content added at location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
      14:53:25,438 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test-ear.ear"
      14:53:25,447 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test-ejb-2.0.0-SNAPSHOT.jar"
      14:53:25,447 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test-rar-2.0.0-SNAPSHOT.rar"
      14:53:25,604 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-2) IJ020002: Deployed: file:/home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/tmp/vfs/deploymentcae5cd1d0b6a9fb7/test-rar-2.0.0-SNAPSHOT.rar-26147c352a452c34/contents/
      14:53:25,815 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS015870: Deploy of deployment "test-ear.ear" was rolled back with failure message

      {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".moduleDeploymentRuntimeInformation Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.ejb3.timerService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.TimedObjectInvoker Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.VIEW.\"test.TestEventListener\".MESSAGE_ENDPOINT Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"test-ear.ear\".deploymentCompleteService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.START Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".deploymentCompleteService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.CREATE Missing[jboss.ra.\"test-ear.ear#test-rar-2.0.0-SNAPSHOT\"]"]}

      14:53:25,823 INFO [stdout] (MSC service thread 1-3) TestRA stopped
      14:53:25,861 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test-ejb-2.0.0-SNAPSHOT.jar in 45ms
      14:53:25,862 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment test-rar-2.0.0-SNAPSHOT.rar in 45ms
      14:53:25,864 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test-ear.ear in 48ms
      }}

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            sebek64 Marcel Šebek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: