Application Server 7
  1. Application Server 7
  2. AS7-3560

ConnectionFactory not registered/bound for rar deployments inside an ear

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.1.0.Final
    • Component/s: JCA
    • Labels:
      None
    • Environment:
      Affected versions: nightly build #486 and current HEAD
    • Steps to Reproduce:
      Hide

      Get the testcase: https://github.com/rreimann/jboss-as/commit/6c5868677e5079b573c6d2af2b5bdaf19d25c93a
      mvn verify -Dts.smoke -Dtest=org.jboss.as.test.smoke.embedded.deployment.rar.examples.EarPackagedDeploymentTestCase

      Show
      Get the testcase: https://github.com/rreimann/jboss-as/commit/6c5868677e5079b573c6d2af2b5bdaf19d25c93a mvn verify -Dts.smoke -Dtest=org.jboss.as.test.smoke.embedded.deployment.rar.examples.EarPackagedDeploymentTestCase
    • Similar Issues:
      Show 10 results 

      Description

      During the deployment the ConnectionFactory is not registered/bound for rar deployments inside an ear. See https://github.com/rreimann/jboss-as/commit/6c5868677e5079b573c6d2af2b5bdaf19d25c93a for a testcase.

      Please notice: Although the ra config contains "ear_packaged.ear#ear_packaged.rar" as archive name the resorce-adapter is created with just "ear_packaged.ear" as archive name. Disabling the tearDown and manually editing of the archive name doesn't change the result the ConnectionFactory is still not bound.

      Putting the exported ear and the corresponding ra config (ear_packaged.xml) into nightly build #431 works as expected. The first time i noticed this issue was while updating to nightly build #486. So it must be introduced between #431 and #486.

        Activity

        Jesper Pedersen
        made changes -
        Field Original Value New Value
        Assignee Jesper Pedersen [ jesper.pedersen ] Stefano Maestri [ maeste ]
        Robert Reimann
        made changes -
        Environment Affected versions: nightly build #486 and current HEAD
        Description During the deployment the ConnectionFactory is not registered/bound for rar deployments inside an ear. See https://github.com/rreimann/jboss-as/commit/6c5868677e5079b573c6d2af2b5bdaf19d25c93a for a testcase.

        Please notice: Although the test config ear_packaged.xml contains "ear_packaged.ear#ear_packaged.rar" as archive name the resorce-adapter is created with just "ear_packaged.ear" as archive name. Disabling the tearDown and manually editing of the archive name doesn't change the result the ConnectionFactory is still not bound.

        Putting the exported ear and the corresponding ra config (ear_packaged.xml) into nightly build #431 works as expected. The first time i noticed this issue was while updating to nightly build #486. So it must be introduced between #431 and #486.
        During the deployment the ConnectionFactory is not registered/bound for rar deployments inside an ear. See https://github.com/rreimann/jboss-as/commit/6c5868677e5079b573c6d2af2b5bdaf19d25c93a for a testcase.

        Please notice: Although the [ra config|https://github.com/rreimann/jboss-as/blob/6c5868677e5079b573c6d2af2b5bdaf19d25c93a/testsuite/integration/smoke/src/test/resources/config/ear_packaged.xml#L4] contains "ear_packaged.ear#ear_packaged.rar" as archive name the resorce-adapter is created with just "ear_packaged.ear" as archive name. Disabling the tearDown and manually editing of the archive name doesn't change the result the ConnectionFactory is still not bound.

        Putting the exported ear and the corresponding ra config (ear_packaged.xml) into nightly build #431 works as expected. The first time i noticed this issue was while updating to nightly build #486. So it must be introduced between #431 and #486.
        Forum Reference https://community.jboss.org/message/649670#649670 https://community.jboss.org/message/649670#649670
        Stefano Maestri
        02/Feb/12 8:39 AM
        View full commit
        AS7-3560 ConnectionFactory not registered/bound for rar deployments inside an ear
        Stefano Maestri <stefano.maestri@redhat.com> committed ab07bec5fdea9b57e34c3ade81ad8f256fe2a0eb (1 file)
        Reviews: none

        AS7-3560 ConnectionFactory not registered/bound for rar deployments inside an ear

        Stefano Maestri
        made changes -
        Stefano Maestri
        made changes -
        Status Open [ 1 ] Pull Request Sent [ 10011 ]
        Git Pull Request https://github.com/jbossas/jboss-as/pull/1348
        Stefano Maestri
        made changes -
        Status Pull Request Sent [ 10011 ] Resolved [ 5 ]
        Resolution Done [ 1 ]

          People

          • Assignee:
            Stefano Maestri
            Reporter:
            Robert Reimann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: