"Saviola" wrote : Hi!
  | I have similar problems like mdonato.
  | How can I get a SchedulerThread running and where is the appropriate place 
for running it?
  | Actually is there any other way for using timers without a scheduler thread?
  | 
  | Appreciate any help
  | Thanks
  | 
  | Saviola

Hi!

I dont know if the thread will work fine for you, but there is a class named 
Scheduler that is the main entrance for Scheduler Thread, take a look in the 
source of those classes to see.

the package is : org.jbpm.scheduler.impl

i've started this thread in the context listener of web app, but after the star 
of all jbpm engine! there is a sample web app in the downloadable jbpm that 
uses a servlet do do this work.

But, like i'm using it in a j2ee with a CMT Transaction, i changed the class 
SchedulerThread to do not initialize a transaction implicit, the container will 
provide this for me! 

about other ways, i dont know! Some one could tell you, but i think that its 
more pratical to do this, couse its parse the duedate and so much things!!!

i hope it helps you!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912865#3912865

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912865


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to