Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4692

Persistence unit deployed outside an EAR is no longer injectable into the EAR components

    Details

    • Affects:
      Release Notes
    • Workaround Description:
      Hide

      Package the persistence unit within the EAR

      Show
      Package the persistence unit within the EAR
    • Affects Testing:
      Regression

      Description

      If a persistence unit is deployed outside the EAR and if a bean within the EAR tries to inject the persistence unit, the injection fails because it can't find the persistence unit. Although the EJB3 spec does not allow such injection, JBoss did allow this (and still allows in the community 4.2.3 version). This JBoss specific feature no longer works and the regression is a side effect of JBPAPP-604.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  wolfc Carlo de Wolf
                  Reporter:
                  sjmenden Samuel Mendenhall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: