Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-333

Invalid injection via ejb-jar.xml in war

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • ejb
    • None
    • JBoss AS 6.0.0.Final

    • Workaround Exists
    • Hide

      From the forum:

      The workaround is to remove the @EJB from the class and instead use the ejb-local-ref or ejb-ref with a <injection-target> to point to the field/method to be injected.

      Show
      From the forum: The workaround is to remove the @EJB from the class and instead use the ejb-local-ref or ejb-ref with a <injection-target> to point to the field/method to be injected.
    • Hide

      see forum

      Show
      see forum

      When @EJB annotation is used and 2 or more possible implementation exists, there is not possible to set up dependency via ejb-jar.xml by war packaging. There is a workaround, please follow the forum link.

              parsharm Parul Sharma (Inactive)
              teliatko Michal Bigos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: