Announcement Announcement Module
Collapse
No announcement yet.
Weblogic 10.3 @EJB SpringBeanAutowiringInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Weblogic 10.3 @EJB SpringBeanAutowiringInterceptor

    Hi

    I am having a problem with an EJB 3.0 running inside WLS 10.3.1.

    Note, the EJB is using:

    @Stateless
    @Interceptors(SpringBeanAutowiringInterceptor.clas s)
    public class MyEjb {

    @EJB
    AnotherEJB anotherEjb; // EJB

    @Autowired
    @Qualifier("aBean")
    MyInterface myInterface; // Spring bean
    }

    @EJB annotation does not resolve the EJB correctly, bea internal classes try to resolve the EJB through Spring (but does not get into Spring classes).

    If I move the @EJB annotation out into a static factory class (ie. one that does not have @Interceptors(SpringBeanAutowiringInterceptor.clas s) at the top of the class, then it works fine.

    Any ideas?
Working...
X