synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinusha Dilrukshi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYNAPSE-885) Need to check whether task is already running before scheduling it.
Date Tue, 03 Jul 2012 05:08:02 GMT
Dinusha Dilrukshi created SYNAPSE-885:
-----------------------------------------

             Summary: Need to check whether task is already running before scheduling it.
                 Key: SYNAPSE-885
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-885
             Project: Synapse
          Issue Type: Bug
         Environment: synapse trunk.
            Reporter: Dinusha Dilrukshi


It throws following exception if we try to schedule an already running task,

{org.apache.synapse.startup.quartz.SimpleQuartz} - Error starting up Scheduler : Error scheduling
job : JobDetail 'synapse.simple.quartz.stock': jobClass: 'org.apache.synapse.startup.quartz.SimpleQuartzJob
isStateful: false isVolatile: false isDurable: false requestsRecovers: false with trigger
Trigger 'synapse.simple.quartz.stock-trigger--8523023903163020996': triggerClass: 'org.quartz.SimpleTrigger
isVolatile: true calendar: 'null' misfireInstruction: 0 nextFireTime: Wed Jun 20 00:57:46
PDT 2012 {org.apache.synapse.startup.quartz.SimpleQuartz}
org.apache.synapse.task.SynapseTaskException: Error scheduling job : JobDetail 'synapse.simple.quartz.stock':
jobClass: 'org.apache.synapse.startup.quartz.SimpleQuartzJob isStateful: false isVolatile:
false isDurable: false requestsRecovers: false with trigger Trigger 'synapse.simple.quartz.stock-trigger--8523023903163020996':
triggerClass: 'org.quartz.SimpleTrigger isVolatile: true calendar: 'null' misfireInstruction:
0 nextFireTime: Wed Jun 20 00:57:46 PDT 2012
        at org.apache.synapse.task.TaskScheduler.scheduleTask(TaskScheduler.java:266)
        at org.apache.synapse.startup.quartz.SimpleQuartz.init(SimpleQuartz.java:178)
        at org.apache.synapse.config.SynapseConfiguration.init(SynapseConfiguration.java:1398)
        at org.apache.synapse.Axis2SynapseController.createSynapseEnvironment(Axis2SynapseController.java:421)
        at org.apache.synapse.ServerManager.start(ServerManager.java:181) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message