0 Replies Latest reply on May 9, 2007 8:16 AM by Zoltan Fabian

    Dependency injection on iterceptor failed after activation

    Zoltan Fabian Newbie

      Hi!

      In our project, we use an interceptor method with an ejb3 statefull session bean. It is implemented on separate class. The interceptor uses resources (datasource, ejb context) and uses dependecy injection to access resources.
      Everything goes fine until the container passivates the SFSB. After activation it does not inject resources into the interceptor and it seems the interceptor class no longer shares the same environment with the SFSB because it can't lookup resources in the environment of the bean even via JNDI.
      I've searched the web but didn't find any info about this issue. Did anyone meet with similar issue? Does anyone have any idea to solve the problem?
      Thanks for any help.