You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Dinusha Dilrukshi (JIRA)" <ji...@apache.org> on 2012/07/03 07:11:01 UTC
[jira] [Updated] (SYNAPSE-885) Need to check whether task is
already running before scheduling it.
[ https://issues.apache.org/jira/browse/SYNAPSE-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinusha Dilrukshi updated SYNAPSE-885:
--------------------------------------
Attachment: SYNAPSE-885.patch
SYNAPSE-885.patch has been attached to resolve this.
> 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
> Attachments: SYNAPSE-885.patch
>
>
> 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