Opened 17 years ago

Closed 17 years ago

#793 closed defect (fixed)

Job agent get logged out when waiting for a job to finish

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 2.4.4
Component: core Version:
Keywords: Cc:

Description

If a job takes longer time to execute than the setting in base.config[cache.timeout] the job agent thread that is handling the job gets logged out from BASE. This results in a PermissionDeniedException

08:38:53,322 ERROR JobRunner:151 - Permission denied: Not allowed to read Job[id
=51; name=Normalization: Lowess(8)]
net.sf.basedb.core.PermissionDeniedException: Permission denied: Not allowed to
read Job[id=51; name=Normalization: Lowess(8)]
        at net.sf.basedb.core.BasicItem.checkPermission(BasicItem.java:110)
        at net.sf.basedb.core.DbControl.getItem(DbControl.java:807)
        at net.sf.basedb.core.DbControl.loadItem(DbControl.java:692)
        at net.sf.basedb.core.Job.getById(Job.java:157)
        at net.sf.basedb.clients.jobagent.JobRunner.run(JobRunner.java:137)
        at java.lang.Thread.run(Thread.java:595) 

Change History (1)

comment:1 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: newclosed

(In [3809]) Fixes #793: Job agent get logged out when waiting for a job to finish

Should be more stable now.

Note: See TracTickets for help on using tickets.