Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001897 [Resin] minor always 07-23-07 17:18 09-04-07 14:18
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001897: session timeout issue
Description (rep by Bradley Van Cleave)


In our logs, we noticed an increase of IllegalStateException errors.

A few of the errors we have seen are listed below:

[08:38:31.535] java.lang.IllegalStateException: Can't call getEntrySet() when session is no longer valid.
[08:38:31.537] com.caucho.vfs.IOExceptionWrapper: java.lang.IllegalStateException: Can't call setAttribute(String, Object) when session is no longer valid.
[08:38:31.537] at com.caucho.vfs.IOExceptionWrapper.create(IOExceptionWrapper.java:65)
[08:38:31.537] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:890)
[08:38:31.537] at com.caucho.server.session.SessionManager.load(SessionManager.java:1482)
[08:38:31.537] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:288)
[08:38:31.537] at com.caucho.server.cluster.FileBacking.loadSelf(FileBacking.java:318)
[08:38:31.537] at com.caucho.server.cluster.ClusterStore.load(ClusterStore.java:423)
[08:38:31.537] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:259)
[08:38:31.537] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:693)
[08:38:31.537] at com.caucho.server.session.SessionManager.getSession(SessionManager.java:1278)
[08:38:31.537] at com.caucho.server.connection.AbstractHttpRequest.createSession(AbstractHttpRequest.java:1444)
[08:38:31.537] at com.caucho.server.connection.AbstractHttpRequest.getSession(AbstractHttpRequest.java:1256)
[08:38:31.537] at com.caucho.server.connection.AbstractHttpRequest.authenticate(AbstractHttpRequest.java:1561)
[08:38:31.537] at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:120)
[08:38:31.537] at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:209)
[08:38:31.537] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
[08:38:31.537] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
[08:38:31.537] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
[08:38:31.537] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
[08:38:31.537] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[08:38:31.537] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[08:38:31.537] at java.lang.Thread.run(Thread.java:595)

[20:38:22.912] java.lang.IllegalStateException
[20:38:22.912] at com.caucho.server.cluster.ClusterObject.load(ClusterObject.java:253)
[20:38:22.912] at com.caucho.server.session.SessionImpl.load(SessionImpl.java:693)
[20:38:22.912] at com.caucho.server.session.SessionManager.getSession(SessionManager.java:1278)
[20:38:22.912] at com.caucho.server.security.AbstractAuthenticator.logout(AbstractAuthenticator.java:672)
[20:38:22.912] at com.caucho.server.session.SessionImpl.logout(SessionImpl.java:584)
[20:38:22.912] at com.caucho.server.session.SessionImpl.invalidate(SessionImpl.java:529)
[20:38:22.912] at com.caucho.server.session.SessionManager.handleAlarm(SessionManager.java:1562)
[20:38:22.912] at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
[20:38:22.912] at com.caucho.util.Alarm.run(Alarm.java:309)
[20:38:22.912] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
[20:38:22.912] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
[20:38:22.912] at java.lang.Thread.run(Thread.java:595)

While the frequency of these errors are low, occurs maybe once or twice a night per server, I wanted to pass them along to you
to understand their meaning. I haven't see these particular errors before regarding getEntrySet() or com.caucho.util.Alarm.
Additional Information
Attached Files

- Relationships

- Notes
(0002264)
ferg
09-04-07 14:18

timing issues with sessions and invalidation
 

- Issue History
Date Modified Username Field Change
07-23-07 17:18 ferg New Issue
09-04-07 14:18 ferg Note Added: 0002264
09-04-07 14:18 ferg Assigned To  => ferg
09-04-07 14:18 ferg Status new => closed
09-04-07 14:18 ferg Resolution open => fixed
09-04-07 14:18 ferg Fixed in Version  => 3.1.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker