Long running job may cause a timeout on session on internal job queue
It seems like if a job doesn't do anything for some time that triggers call to SessionControl.
the session is automatically logged out and closed and this results in problems later. Since the session is closed the problems can't be reported back and they are not properly logged either. There are only two indications of the problem:
- The job is left in "Executing" state. It is not executing and trying to abort it leave it in "Aborting" state.
- Tomcat's log file contains:
23:13:07,275 ERROR jobqueue:518 - Exception while executing job: Job[id=190; name=M6#80.1]
net.sf.basedb.core.PermissionDeniedException: Permission denied: SessonControl is closed
at net.sf.basedb.core.SessionControl.updateLastAccess(SessionControl.java:211)
at net.sf.basedb.core.SessionControl.logout(SessionControl.java:669)
at net.sf.basedb.core.InternalJobQueue$JobRunner.run(InternalJobQueue.java:507)
at java.lang.Thread.run(Thread.java:619)
Change History
(3)
Owner: |
changed from everyone to Nicklas Nordborg
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
(In [4801]) Fixes #1248: Long running job may cause a timeout on session on internal job queue