Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedules don't launch #1150

Closed
hjdr4 opened this issue Mar 25, 2015 · 8 comments
Closed

Schedules don't launch #1150

hjdr4 opened this issue Mar 25, 2015 · 8 comments
Milestone

Comments

@hjdr4
Copy link

hjdr4 commented Mar 25, 2015

Using 2.5 snapshot from yesterday, schedules don't launch. Is there anything more to do than setting the schedules in the jobs ?

@hjdr4
Copy link
Author

hjdr4 commented Mar 25, 2015

Went a bit further :

2015-03-25 14:35:00,003 [quartzScheduler_Worker-1] ERROR grails.app.jobs.rundeck.quartzjobs.ExecutionJob - Unable to start Job execution: Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
org.springframework.dao.DataAccessResourceFailureException: Could not obtain current Hibernate Session; nested exception is org.hibernate.HibernateException: No Session found for current thread
at rundeck.quartzjobs.ExecutionJob.fetchScheduledExecution(ExecutionJob.groovy:413)
at rundeck.quartzjobs.ExecutionJob.initialize(ExecutionJob.groovy:170)
at rundeck.quartzjobs.ExecutionJob.execute_internal(ExecutionJob.groovy:90)
at rundeck.quartzjobs.ExecutionJob$_execute_closure1.doCall(ExecutionJob.groovy:69)
at com.codahale.metrics.Timer.time(Timer.java:99)
at rundeck.quartzjobs.ExecutionJob.execute(ExecutionJob.groovy:68)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.hibernate.HibernateException: No Session found for current thread
... 8 more

@gschueler gschueler added this to the 2.5.0 milestone Mar 25, 2015
@gschueler
Copy link
Member

not seeing this behavior in the latest code. what 2.5 snapshot do you mean?

@hjdr4
Copy link
Author

hjdr4 commented Mar 26, 2015

Hello,

I used development branch from 2015-03-24.
I will triple check by compiling today's version.

For now, it looks like schedules work for the time my session exists(I'm the creator/owner). When it expires, schedules produce the attached error and don't launch. There is no trace in activity, just the general log.

@hjdr4
Copy link
Author

hjdr4 commented Mar 27, 2015

Hello,

With latest snapshot, it looks ok for now with hourly jobs. I have some daily jobs pending, I'll take a look on Monday.

@gschueler
Copy link
Member

thanks

@gschueler
Copy link
Member

any more issues like this?

@hjdr4
Copy link
Author

hjdr4 commented Apr 3, 2015

Looks like this is ok with latest code :)

@hjdr4 hjdr4 closed this as completed Apr 3, 2015
@gschueler
Copy link
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants