0 Replies Latest reply on Oct 26, 2011 9:57 AM by 896272

    WebLogic 10.3 Jndi Issue on EntityListener

      I'm new of weblogic, I'm using JPA under weblogic with ejb, I need to call an Ejb from an EntityListener class the entity is signed with annotation @EntityListeners(MainListener.class)
      in MyListener when every event is triggered, like @PreUpdate I can't call an EJB, I can't lookup it, with @EJB injection the object is null and with the context lookup I got a ClassCastException, how can I do it? Is it possible to call and EJB from EntityListener?
      I can't see in the JndiTree of weblogic console, the local interface, only the remote!
      Thanks in advance