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

EJB annotation processing DUP fails to find annotations from classes belonging to jars in .ear/lib

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Final
    • 7.0.0.CR1
    • EJB
    • None

    Description

      Consider the following deployment:

      .ear
      |
      |--- lib/lib.jar
      |
      |--- ejb.jar
      

      If ejb.jar contains:

      @Stateless
      public class MyBean implements SomeInterface {
      
      }
      

      and the lib/lib.jar contains the interface:

      @Remote
      public interface SomeInterface  {
      ...
      }
      

      then the BusinessViewAnnotationProcessor complains about missing index for the SomeInterface class:

      09:05:28,739 WARN  [org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor] (MSC service thread 1-2) Could not read annotations on EJB interface blah.blah.SomeInterface
      

      Please see the referenced forum thread for the details.

      Attachments

        Activity

          People

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: