users@glassfish.java.net

Re: Glassfish, after session replicated, one is 'isExpired=true'

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 Apr 2008 12:47:56 PDT

I have the same problem. Any Idea? Actually, when the isExpired changes from false to true, all data in my session is deleted.

In the first log entry, the session is not expired, but in the last one, it is...

[#|2008-04-15T14:17:49.471-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=30;_ThreadName=httpSSLWorkerThread-38083-0;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBackingStoreImpl;MethodName=createHttpReplicationState;_RequestID=addd3836-efbe-4be2-b37e-ed602c90fff6;|JxtaBackingStoreImpl>>createHttpReplicationState:transmitState = _mode=web
_id=38478854d532e0c6037985199036
_appId=WEB:cluster1:com.sun.appserv:server:/BizAgi-war
_version=12
_command=valveSave
_lastAccess=1208287069440
_maxInactiveInterval=3600
_extraParam=
_queryResult=null
_instanceName=null
isExpired=false
_ackRequired=false
|#]

[#|2008-04-15T14:17:49.471-0500|FINE|sun-appserver9.1|org.apache.coyote.tomcat5.OutputBuffer|_ThreadID=30;_ThreadName=httpSSLWorkerThread-38083-0;ClassName=org.apache.coyote.tomcat5.OutputBuffer;MethodName=recycle;_RequestID=addd3836-efbe-4be2-b37e-ed602c90fff6;|recycle()|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=31;_ThreadName=httpSSLWorkerThread-38083-1;ClassName=org.apache.coyote.tomcat5.CoyoteRequest;MethodName=parseSessionCookiesId;_RequestID=a7ae51f2-25af-4a6f-a299-5b15e87e214d;|Requested cookie session id is 38478854d532e0c6037985199036|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|org.apache.catalina.authenticator.AuthenticatorBase|_ThreadID=31;_ThreadName=httpSSLWorkerThread-38083-1;ClassName=org.apache.catalina.authenticator.AuthenticatorBase;MethodName=invoke;_RequestID=a7ae51f2-25af-4a6f-a299-5b15e87e214d;|Security checking request GET /BizAgi-war/img/tools/cal.gif|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|org.apache.catalina.authenticator.AuthenticatorBase|_ThreadID=31;_ThreadName=httpSSLWorkerThread-38083-1;ClassName=org.apache.catalina.authenticator.AuthenticatorBase;MethodName=invoke;_RequestID=a7ae51f2-25af-4a6f-a299-5b15e87e214d;| Calling hasUserDataPermission()|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=31;_ThreadName=httpSSLWorkerThread-38083-1;ClassName=com.sun.web.security.RealmAdapter;MethodName=hasUserDataPermission;_RequestID=a7ae51f2-25af-4a6f-a299-5b15e87e214d;|[Web-Security][ hasUserDataPermission ] Principal: null ContextPath: /BizAgi-war|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=31;_ThreadName=httpSSLWorkerThread-38083-1;ClassName=com.sun.web.security.RealmAdapter;MethodName=invokeWebSecurityManager;_RequestID=a7ae51f2-25af-4a6f-a299-5b15e87e214d;|[Web-Security] [ hasResourcePermission ] Principal: null ContextPath: /BizAgi-war|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteRequest|_ThreadID=46;_ThreadName=httpSSLWorkerThread-38083-2;ClassName=org.apache.coyote.tomcat5.CoyoteRequest;MethodName=parseSessionCookiesId;_RequestID=d94174e2-363c-4408-b8f6-dce4fe417473;|Requested cookie session id is 38478854d532e0c6037985199036|#]

[#|2008-04-15T14:17:49.502-0500|INFO|sun-appserver9.1|com.sun.enterprise.ee.web.sessmgmt|_ThreadID=46;_ThreadName=httpSSLWorkerThread-38083-2;|transferFromReplicationCache for id: 38478854d532e0c6037985199036 took: 0 ms|#]

[#|2008-04-15T14:17:49.502-0500|INFO|sun-appserver9.1|com.sun.enterprise.ee.web.sessmgmt|_ThreadID=46;_ThreadName=httpSSLWorkerThread-38083-2;|ReplicationStore>>load:localCachedState=null|#]

[#|2008-04-15T14:17:49.502-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=46;_ThreadName=httpSSLWorkerThread-38083-2;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBackingStoreImpl;MethodName=findSessionViaBroadcast;_RequestID=d94174e2-363c-4408-b8f6-dce4fe417473;|JxtaBackingStoreImpl>>findSessionViaBroadcast:queryInputState=_mode=web
_id=38478854d532e0c6037985199036
_appId=WEB:cluster1:com.sun.appserv:server:/BizAgi-war
_version=12
_command=broadcastFindSession
_lastAccess=0
_maxInactiveInterval=0
_extraParam=null
_queryResult=null
_instanceName=I1
isExpired=true
_ackRequired=false
|#]


Any Idea? Thnx
[Message sent by forum member 'jobocanegra' (jobocanegra)]

http://forums.java.net/jive/thread.jspa?messageID=269346