This content has been marked as final.
Show 5 replies
-
1. Re: Mail notification
kukeltje Aug 1, 2007 12:25 PM (in response to orochimaru19860000)what is "it does not work" Exceptions? Atomic blast?
-
2. Re: Mail notification
orochimaru19860000 Aug 2, 2007 6:50 AM (in response to orochimaru19860000)Well, it doesen't give any exeption, but just a warning:
[ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
My processdefinition.xml is like this:<?xml version="1.0" encoding="UTF-8"?> <process-definition xmlns="" name="exempde"> <start-state name="start"> <transition name="debuter" to="identification"></transition> </start-state> <task-node name="identification"> <task name="identify"></task> <transition name="evaluate" to="evaluer"> </transition> </task-node> <decision name="evaluer"> <transition name="winner" to="winner"> <condition>#{nom == 'ettaib'}</condition> </transition> <transition name="loser" to="loser"> <condition>#{nom == 'waterman'}</condition> </transition> </decision> <task-node name="winner"> <task name="win"></task> <transition name="fin1" to="end1"></transition> </task-node> <task-node name="loser"> <task name="lose"></task> <transition name="fin2" to="end1"></transition> </task-node> <end-state name="end1"></end-state> </process-definition>
Should I install a mail server?
Have you already tested it?
If you have any suggestion please let me know very soon.
thx -
3. Re: Mail notification
kukeltje Aug 2, 2007 7:17 AM (in response to orochimaru19860000)so where is the mail node?
The 'narrowing' is not important (as you can find out when you search for it)
And yes we have tested it. And yes you need some kind of mailserver (obviously) -
4. Re: Mail notification
orochimaru19860000 Aug 2, 2007 1:01 PM (in response to orochimaru19860000)thx for the response kukeltje
Sorry for the code, this is the code I'm testing<?xml version="1.0" encoding="UTF-8"?> <process-definition xmlns="" name="exempde"> <start-state name="start"> <transition name="debuter" to="identification"></transition> </start-state> <task-node name="identification"> <task name="identify"></task> <transition name="evaluate" to="evaluer"> </transition> </task-node> <decision name="evaluer"> <transition name="winner" to="winner"> <condition>#{nom == 'ettaib'}</condition> </transition> <transition name="loser" to="loser"> <condition>#{nom == 'waterman'}</condition> </transition> </decision> <task-node name="winner"> <task name="win"></task> <transition name="fin1" to="end1"></transition> </task-node> <task-node name="loser"> <task name="lose"></task> <transition name="fin2" to="end1"></transition> </task-node> <mail-node name="send email" to='ettaib_m@hotmail.com' subject="readmylips" text="nomoretaxes"> <transition to="the next node" /> </mail-node> <end-state name="end1"></end-state> </process-definition>
Well actually I installed the jBossMailServer 1.0M4 and I configured it as shown in: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToInstallJBossMailServer1.0M4
But there is still a problem, when I run the tomcat server (or the jbpm server), I got exceptions and the application does not work at all, souldn't I run both of them in the same machine?
Please send me code of your process def that you've tested.
I'm looking dorward to your answer
Thank you -
5. Re: Mail notification
kukeltje Aug 2, 2007 2:43 PM (in response to orochimaru19860000)Tests are in the source of jbpm. And if you get exceptions and post topics about them, PLEASE POST THEM. We cannot guess.