[jboss-user] [JBoss jBPM] - Timer action is not called and event mail is also not fired

2009-03-23 Thread Arunkumar DSRC
Hi, In a task-node I configured a timer with action. When timer executes the action class is not getting called. Also I have a event configured on which I am trying to send mail which is not happening as expected. But below the same event under mail I have a script with SOP, which I printed, in

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-18 Thread Arunkumar DSRC
Even I tried having mail node instead of task-node to send mail. I am able to see the log in the node-entered event but the mail is not sent. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219085#4219085 Reply to the post : http://www.jboss.org/index.html?mo

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-18 Thread Arunkumar DSRC
My timer works fine, I am able to see the Log in the node-entered event getting printed on the task-node but the assignment handler attached to that task-node is not executed since I am not seeing the Log from that handler class from where I am setting the actorId to send mail. When I looked at

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-18 Thread Arunkumar DSRC
Thanks for the code gchanteb. When I integrated the code with my application there are no exceptions thrown but the SOP we have in assignment handler is not prinitng and mail is not send. Do you have any idea what is wrong? Am I missing some configuration. But If I dont have a timer and signal ma

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-18 Thread Arunkumar DSRC
Do you have some thing like the one below which works? | | | | | | | System.out.println("Arunkumar---::"+node.getName()); | | | | | | | | | | | | thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=421

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-18 Thread Arunkumar DSRC
Thanks for the info Toriton I also have same kind of requirement. When timer executes on a state node I want it to move to a node where I can send mail. If you find any solution plz let me know Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
Even if I try to have the ActionHandler it throws the same exception. Is it a issue with the jbpm3.2.3 version View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218875#4218875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
gchanteb as you requested I have the code | public void assign(Assignable assignable, ExecutionContext executionContext) | throws Exception { | // TODO Auto-generated method stub | System.out.println("escalation mail to customer"); |

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
For example plz conside the following: | | | | | | | | | | | | | | | | | | Syste

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
When I tried to have a actionHandler inside the timer It throws the following exception: org.jbpm.graph.def.DelegationException at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:382) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
It works fine Thanks gchanteb. But Instead if I have a timer on a state node and upon escalation I have to send a mail for which I need a task node or mail node or node and configure a Handler accordingly. If I try to have a actionHandler class I am able to see exception in JBPM_jobs table (Del

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
When I tried this solution with my application the SOP's are printed in a infinite loop and the process never ends. Any suggestion on this plz. -Arunkumar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218692#4218692 Reply to the post : http://www.jboss.org/

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
My actionHandler contains | public void execute(ExecutionContext executionContext) throws Exception { | try { | System.out.println("It is not working..."); | } catch (Exception e) { | e.printStackTrace(); |

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
If I have a actionHandler insted of script the following error occurs: | org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:382) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeM

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
I am using JBPM 3.2.3 and tomcat 5.5.20 | | | | | | | System.out.println("escalatedr---::"+node.getName()); | node.leave(executionContext,"to escalated"); | | | | | | I have a state node where I have a timer

[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
When I try to add action handler I am getting the following error: org.jbpm.graph.def.DelegationException at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:382) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAcce

[jboss-user] [JBoss jBPM] - Need help to fix timer issue

2009-03-17 Thread Arunkumar DSRC
Hi, I am trying to create a timer on a state node which works fine(with script) but once the timer is executed I want to move to next mail node and send a mail automatically. When I tried doing that mail is not sent. Also on the state node where I have the time configured if I try to specify act