Unfortunately, the job map contains the jbi quartz component as a reference and the component is not serializable. You will need to implement a JobFactory (see http://www.opensymphony.com/quartz/api/org/quartz/spi/JobFactory.html) which will have a reference to the component, and which will give it to the job (ServiceMixJob). When you have a patch ready, feel free to raise a JIRA and attach it :) You may also create a small wiki page explaining the steps involved in using a clustered quartz.
Cheers, Guillaume Nodet On 7/27/06, DivyaKumarVijay <[EMAIL PROTECTED]> wrote:
Hi Guillaume, I have finally been able to get my head around setting up of the clustering creating a quartz.properties file as described at http://www.opensymphony.com/quartz/wikidocs/ConfigJDBCJobStoreClustering.html rather than using the default that is supplied with quartz.jar file. It is trying to set up the quartz cluster but getting an exception, which I am trying to sort it out. but at least there is HOPE now :) Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in file [C:\servicemix-3.0-SNAPSHOT\patrol-sms\usage_replication.xml]: Initialization of bean failed; nested exception is javax.jbi.JBIException: Failed to add trigger: Trigger 'ServiceMix.Usage_Replication_Job': triggerClass: 'org.quartz.SimpleTrigger isVolatile: false calendar: 'null' misfireInstruction: 0 nextFireTime: Thu Jul 27 13:07:57 GMT 2006 with detail: JobDetail 'ServiceMix.Usage_Replication_Job': jobClass: 'org.apache.servicemix.components.quartz.ServiceMixJob isStateful: false isVolatile: false isDurable: false requestsRecovers: false. Reason: org.quartz.JobPersistenceException: Couldn't store job: org.apache.servicemix.components.quartz.QuartzComponent [See nested ex ception: java.io.NotSerializableException: org.apache.servicemix.components.quartz.QuartzComponent] Thanks for all the help. Cheers, Divya -- View this message in context: http://www.nabble.com/Quartz-Cluster-Support-tf2008543.html#a5520689 Sent from the ServiceMix - User forum at Nabble.com.
-- Cheers, Guillaume Nodet
