This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: Interceptor invoked in context of Servlet but not JSPalen_ribic May 18, 2009 6:51 AM (in response to alen_ribic)Ok the Entity class relationship defined on the Department.getUsers is @javax.persistence.OneToMany and thats on the getter and not the attribute. 
 So, JSP could not be calling the attribute directly as the LazyInitializationException is thrown and @OneToMany that would cause it is defined on the getter.
 My jboss-aop.xml if defined in a separate jar file in the root of the .ear.MyEAR.ear/ | |-----MyEJBClient.jar/ | | | |----- META-INF/jboss-aop.xml | | | |----- com.mycomp.aop.myinterceptors.* | |----- com.mycomp.entity.* | |-----MyWebApp.war/ | |---- the Servlets + JSP 
