Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-951

Deployment error when enabling interceptor in beans.xml if already enabled in included jar

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.2.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Jboss AS6 Final and JBoss A6.1 Snapshot

      Description

      This case is a Seam 3 app when enabling interceptor for Seam Persistence transactions

      <interceptors>
      <class>org.jboss.seam.transaction.TransactionInterceptor</class>
      </interceptors>

      Seam Secuitry already enables this interceptor https://github.com/seam/security/blob/3.0.0.Final/impl/src/main/resources/META-INF/beans.xml

      Stack trace here: https://gist.github.com/1140927

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            alesj Ales Justin added a comment -

            AS6 merges all metadata for (sub)deployment, and throws an error on dups.
            AS7 is per bean archive and it should work.
            There is no fix for this (or it's too big of a change for AS6).
            Unfortunately this means you need to adjust your deployment wrt env; AS6 vs. AS7/GF.

            Show
            alesj Ales Justin added a comment - AS6 merges all metadata for (sub)deployment, and throws an error on dups. AS7 is per bean archive and it should work. There is no fix for this (or it's too big of a change for AS6). Unfortunately this means you need to adjust your deployment wrt env; AS6 vs. AS7/GF.
            Hide
            clerum Cody Lerum added a comment -

            Is the interceptor being activated accross the entire deployment in AS6?

            Show
            clerum Cody Lerum added a comment - Is the interceptor being activated accross the entire deployment in AS6?
            Hide
            alesj Ales Justin added a comment -

            Yes, across entire (sub)deployment.

            Show
            alesj Ales Justin added a comment - Yes, across entire (sub)deployment.

              People

              • Assignee:
                Unassigned
                Reporter:
                clerum Cody Lerum
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development