0 Replies Latest reply on Jan 11, 2006 3:21 AM by lis0x90

    Passivation/Remove session bean security exception

      I have a web application utilizing JAAS (form based authentication, DatabaseServerLoginModule), JSF, Session Bean as facade to web layer and Entity Beans. This configuration is working successfully, but I have noticed an unexpected error when Session bean passivated or removed by container on timeout:

      10:53:43,250 WARN [AbstractInstanceCache] failed to passivate, id=eibc774i-6
      javax.ejb.AccessLocalException: SecurityException; CausedByException is:
      User name are null
      at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:366)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:125)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
      at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
      at org.jboss.ejb.Container.invoke(Container.java:894)
      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
      at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
      .....

      What's the problem?

      Thanks in advance