in my project  we are using  quartz scheduler  and i am getting the below
error ,when i am running my camel context.  pls help me ?


java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.camel.maven.RunMojo$1.run(RunMojo.java:415)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.camel.RuntimeCamelException:
org.quartz.JobPersistenceException: New trigger is not related to the same
job as the old trigger.



and  this is my spring config 


<route>
                        <from uri="quartz://report?cron=0 0/30 * * * ?" />
                        <process 
ref="expWorkItemEscSchedulerGatewayInBoundStageTransformer"/>
                        <process ref="commonGatewayOutBoundRouter"/>
                        <choice>
                                        <when>
                                        <simple>${header.FileVMPath} equals
'vm://SCHX-GW-01_SCHEDULER_SCHEDULER'</simple>
                                        <to 
uri="vm://SCHX-GW-01_SCHEDULER_SCHEDULER"/>
                                        </when>
                        </choice>
                </route>
                        
                <route>
                        <from uri="quartz://report?cron=0 0/30 * * * ?" />
                        <process 
ref="qcJobsSchedulerGatewayInBoundStageTransformer"/>
                        <process ref="commonGatewayOutBoundRouter"/>
                        <choice>
                                        <when>
                                        <simple>${header.FileVMPath} equals
'vm://SCHX-GW-01_SCHEDULER_SCHEDULER'</simple>
                                        <to 
uri="vm://SCHX-GW-01_SCHEDULER_SCHEDULER"/>
                                        </when>
                        </choice>
                </route>



--
View this message in context: 
http://camel.465427.n5.nabble.com/quartz-sheduler-problem-tp5527391p5527391.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to