Now, it works. But i had to change the class Scheduler and ShedulerThread to 
work with CMTTransaction, 'couse it doesn't allows to implicity call an begin 
transaction.

But like i told before, the db Table JBPM_TIMER does not contains any rows in 
it.

I've tried those samples described before and the one above:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   name="teste-timer-2">
  |    <swimlane name="direct">
  |       <assignment 
class="br.com.glr.jbpm.handlers.SwimlaneAssignmentHandler" config-type="bean">
  |       </assignment>
  |    </swimlane>
  |    <start-state name="start">
  |       <transition name="tr1" to="task1"></transition>
  |    </start-state>
  |    <task-node name="task1">
  |       <task name="task1" swimlane="direct">
  |          <timer duedate="30 seconds" repeat="yes" name="lembrete">
  |             <action config-type="field" 
class="br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler" >
  |                <from>[EMAIL PROTECTED]</from>
  |                <subject>Lembrete</subject>
  |                <message>Lembrete de novo</message>
  |             </action>
  |          </timer>
  |       </task>
  |       <transition name="tr1" to="end1"></transition>
  |    </task-node>
  |    <end-state name="end1"></end-state>
  | </process-definition>
  | 



and the table never contains rows !!!!

What is happening?

now i'll try to deploy web-sale on my application, for tests of course!


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

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


-------------------------------------------------------
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