[Beginners Corner] - Question regarding using shutdown with -e
by matthewtap
I'm too new with JBoss to just be able to do both commands and be sure of what I'm seeing, so I'm hoping someone can help me with this question.
In using the shutdown.bat command to shutdown JBoss, there's the option of:
> shutdown -S
in order to shutdown the server [which I assume has the same effect as using ctrl +C in the JBoss command window].
but there is also:
> shutdown -e
which has the description stating it will "Force the VM to exit with a status code."
I was hoping I could get some insight as to what exactly this means/how it differs (aside from the status code) from shutting down the server...
... as in, does this mean the JVM will shutdown but somehow JBoss stays up? Or is it that JBoss shuts down because the JVM exits from supporting JBoss?
I greatly appreciate any assistance anyone can give.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201145#4201145
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201145
17 years, 6 months
[JBoss jBPM] - Re: Workflow periodic execution and timers
by kukeltje
anonymous wrote :
| I would like to know if it's possible to have periodic execution of a certain workflow definition.
Yes
anonymous wrote :
| In case the answer is YES, and jBPM offers this scheduling functionality, could anyone point me in the right direction ?
|
jBPM does not offer this. Use e.g. quartz. jBPM 4 will most likely support this, but maybe not in the initial 4.0 release
anonymous wrote :
| I have tried to use timers (using the repeat property), but without too much success.
|
Timers with repeat work perfectly, just not for starting processes
anonymous wrote :
| Also I have been looking at the documents but I am having problems for using timers specifying an absolute value. Could anyone provide me a basic example where the basedate is defined ? I have been examples in the manual, but I am not able to find where dateOfPension (as an example) is defined, or how to define it (java code ? other configuration file ? in the bussines calendar config file??)
|
| <timer name="pensionReminder" duedate="#{dateOfPension} - 1 year" >...</timer>
dateOfPension is a processvariable, just like any other thing in EL (or a seam component if jBPM is used in seam)
anonymous wrote :
| Thanks.
| Jose.
|
You're welcome
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201135#4201135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201135
17 years, 6 months