Async-Job-Problem: No date for job execution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2013 11:32 AM
Hi folks,
i have a very (example/simple) process:
START —-> ServiceTask(Java) —-> END
I start this process and everything is fine as long as the "async" is set to false for ServiceTask. But i do not
want that the caller has to wait - so i switched the ServiceTask to async=true. And now the trouble comes to me…
The caller initate the process - and gets back the control. fine
Accoding to the ActivitiExplorer the processintance is started. fine
According to the ActivitiExplorer the process is in the ServiceTask. (red border in the task picture). fine
According to the ActivitiExplorer the 'job' is susspended - because there is no execution date. !! WTF !!
After reading the docs i do not understand why this happens….
Any Ideas?
Regards, Martin
i have a very (example/simple) process:
START —-> ServiceTask(Java) —-> END
I start this process and everything is fine as long as the "async" is set to false for ServiceTask. But i do not
want that the caller has to wait - so i switched the ServiceTask to async=true. And now the trouble comes to me…
The caller initate the process - and gets back the control. fine
Accoding to the ActivitiExplorer the processintance is started. fine
According to the ActivitiExplorer the process is in the ServiceTask. (red border in the task picture). fine
According to the ActivitiExplorer the 'job' is susspended - because there is no execution date. !! WTF !!
After reading the docs i do not understand why this happens….
Any Ideas?
Regards, Martin
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2013 12:45 PM
I found the Problem….
This one does the magic …. in activiti.cfg.xml
<property name="jobExecutorActivate" value="true" />
This one does the magic …. in activiti.cfg.xml
<property name="jobExecutorActivate" value="true" />
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2013 08:16 AM
Do you see this behaviour in Activiti Explorer? Afaik, the job executor is activated in Explorer, no?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2013 05:54 AM
I have the tomcat(explorer) AND another tomcat(activiti) running, sharing the same database/tables. In explorer the job executor is set to false, in my tomcat environment it is set to true. (now…)
I want to control the system with the explorer - but not by the other activiti environment. the tomcat environment is just for productional purposes …. and will just execute tasks with "java-service-tasks" and start/end/timerevents. The explorer environment does not have any cutom 'java' classes and is only running if maintanance is needed. ….. this is the plan.
We will enter in 'production' in (maybe) 3 months ….
P.s. Great work from you! Thank you a lot! If (and only if) our project will gain (economical) success - we will remember you and your team….
I want to control the system with the explorer - but not by the other activiti environment. the tomcat environment is just for productional purposes …. and will just execute tasks with "java-service-tasks" and start/end/timerevents. The explorer environment does not have any cutom 'java' classes and is only running if maintanance is needed. ….. this is the plan.
We will enter in 'production' in (maybe) 3 months ….
P.s. Great work from you! Thank you a lot! If (and only if) our project will gain (economical) success - we will remember you and your team….
