2 Replies Latest reply on Nov 21, 2005 4:40 AM by sagi7

    Container Interceptor runs as Client Interceptor

    sagi7

      Hello,

      i have configured a Container-Interceptor in JBAS 4.0.2 with JBoss.xml and following configuration:

      <container-configuration extends="Standard Stateless SessionBean">
      <container-name>Test Container</container-name>
      <container-interceptors>

      de.test.pps.ejb.interceptor.SecurityInterceptor


      org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor


      org.jboss.ejb.plugins.LogInterceptor


      org.jboss.ejb.plugins.SecurityInterceptor


      org.jboss.ejb.plugins.LogInterceptor


      org.jboss.ejb.plugins.TxInterceptorCMT


      org.jboss.ejb.plugins.MetricsInterceptor


      org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor


      org.jboss.resource.connectionmanager.CachedConnectionInterceptor

      </container-interceptors>
      </container-configuration>

      </container-configurations>

      My problem is, that the Interceptor runs in Client Container and cannot obtain a Hibernate Session.
      Any Suggestions to configure as Container Interceptor?