Hi,
I don't really know if it's a plain tomcat issue or myfaces (or integration
of both).
I have a tomcat session manager that writes sessions to disk after some
seconds (testing purpouse)
<Manager className='org.apache.catalina.session.PersistentManager'
saveOnRestart='false'
processExpiresFrequency='15'
maxActiveSessions='300'
minIdleSwap='14'
maxIdleSwap='14'
maxIdleBackup='14'>
<Store className='org.apache.catalina.session.FileStore'/>
</Manager>
It works fine, I can see sessions going to and from the disk.
12:37:01.739 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
org.apache.catalina.session.PersistentManagerBase - Start expire sessions
PersistentManager at 1409308621739 sessioncount 1
12:37:01.740 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG
org.apache.catalina.session.PersistentManagerBase - End expire sessions
PersistentManager processingTime 1 expired sessions: 0
The problem comes with declarative security. Whenever a session is restored
from the disk I can see that request.getRemoteUser is null, so the user has
to login again...
I guess it's a tomcat problem... anybody has had this problem?
Thank you.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Session-passivation-and-remote-user-tp4671464.html
Sent from the TomEE Users mailing list archive at Nabble.com.