[Spacewalk-list] Taskomatic trouble... Was: Problems after 1.2 -> 1.4 upgrade
Tomas Lestach
tlestach at redhat.com
Fri Jul 8 13:54:07 UTC 2011
----- Original Message -----
> From: "Andre van der Vlies" <andre at vandervlies.xs4all.nl>
> To: spacewalk-list at redhat.com
> Sent: Tuesday, June 28, 2011 3:11:43 PM
> Subject: Re: [Spacewalk-list] Taskomatic trouble... Was: Problems after 1.2 -> 1.4 upgrade
>
>
> >
> >>
> >> Upgraded to 1.4. The error on syncing repositories (The scheduling
> >> service
> >> appears down. Please contact your Satellite administrator)
> >> persists...
> >>
> >
> > Done a 'service taskomatic console'
> >
> > Running RHN Taskomatic...
> > wrapper | --> Wrapper Started as Console
> > wrapper | Launching a JVM...
> > jvm 1 | Wrapper (Version 3.2.1)
> > http://wrapper.tanukisoftware.org
> > jvm 1 |
> > jvm 1 | org.quartz.SchedulerException: JobStore class
> > 'org.quartz.simpl.RAMJobStore' props could not be configured. [See
> > nested
> > exception: java.lang.NoSuchMethodException: No setter for property
> > 'driverDelegateClass']
> >
>
> I don't get it...
>
> Quartz clearly states:
>
> Configuring Quartz to use RAMJobStore
>
> org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
>
> There are no other settings you need to worry about.
>
>
> In /etc/rhn/default/rhn_org_quartz.conf exactly this line is given...
Hmmm, I do not see RAMJobStore in my /etc/rhn/default/rhn_org_quartz.conf
It would be better you check whether your upgrade went ok.
> So, what is this about 'driverDelegateClass'??
This property is hardcoded in the java code:
java/code/src/com/redhat/rhn/taskomatic/core/SchedulerKernel.java
org.quartz.jobStore.driverDelegateClass is set to org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
appropriate driver is set to oracle.jdbc.driver.OracleDriver
> Reading the doc on
> http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson09.html I
> should configure driverDelegateClass like this:
>
> org.quartz.jobStore.class =
> org.quartz.impl.jdbcjobstore.JobStoreTX
This is present in /etc/rhn/default/rhn_org_quartz.conf
>
> or like this (for J2EE transactions):
>
> org.quartz.jobStore.class =
> org.quartz.impl.jdbcjobstore.JobStoreCMT
>
> According to that doc I should config these things as well:
> org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
Not to StdJDBCDelegate, see above.
> org.quartz.jobStore.tablePrefix = QRTZ_
present in /etc/rhn/default/rhn_org_quartz.conf
> org.quartz.jobStore.dataSource = myDS
hardcoded in java/code/src/com/redhat/rhn/taskomatic/core/SchedulerKernel.java
>
>
> I've
> inserted the line
> org.quartz.jobStore.class =
> org.quartz.impl.jdbcjobstore.JobStoreTX
> and it seems to be moving (i.e. do somthing...)
There shall be no need to insert any more config lines.
Check your rpmnew and rpmsave files.
Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list