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

    Container Interceptor runs as Client Interceptor

    Heiko Wiesner Newbie

      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?