Re: Re: Re: super-kill a process

Peter Taucher <[email protected]> Fri, 6 Nov 2009 08:44:18 +0100
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1257493462-8018-153
Content-Type: multipart/alternative; boundary=001485f723a4e9c93d0477af0214


--001485f723a4e9c93d0477af0214
Content-Type: text/plain; charset=ISO-8859-1

What about conditinal transitions? You could always 'leave' the process wiht
a transition ("on exception"). Isn't that a possibility?


2009/11/5 Vojtech Huser <[email protected]>

> OK. That is a possibility.
> *How and where would you call this process.abort ?* - in en external
> applications which accesses the engine via an API ?  (We could do that.But
> prefer a different solution.
>
> Ideally we would do it within the process definition (in the XPDL) - "from
> within the process").
> Something like "super-end node" in the XPDL.
>
> I am not sure if the engine would like a a JavaClassToolAgent which calls
> process.abort  (Activity tries to kill the Parent Process) ? Would it work
> or crash the engine?
>
> Vojtech
>
>

--001485f723a4e9c93d0477af0214
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

What about conditinal transitions? You could always &#39;leave&#39; the pro=
cess wiht a transition (&quot;on exception&quot;). Isn&#39;t that a possibi=
lity?<div><br><br><div class=3D"gmail_quote">2009/11/5 Vojtech Huser <span =
dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">huser.vojtech@gm=
ail.com</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">OK. That is a possibility.<br><b>How and wh=
ere would you call this process.abort ?</b> - in en external applications w=
hich accesses the engine via an API ?=A0 (We could do that.But prefer a dif=
ferent solution.<br>
<br>Ideally we would do it within the process definition (in the XPDL) - &q=
uot;from within the process&quot;).<br>

Something like &quot;super-end node&quot; in the XPDL.<br><br>I
am not sure if the engine would like a a JavaClassToolAgent which calls
process.abort=A0 (Activity tries to kill the Parent Process) ? Would it
work or crash the engine?<br><font color=3D"#888888"><font color=3D"#888888=
">
<br>Vojtech<br><font class=3D"Apple-style-span" color=3D"#000000"><font cla=
ss=3D"Apple-style-span" color=3D"#888888"><br></font></font></font></font><=
/blockquote></div>
</div>

--001485f723a4e9c93d0477af0214--

------------=_1257493462-8018-153
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: quoted-printable


--
You receive this message as a subscriber of the [email protected] mailing lis=
t.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=3Dhelp
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1257493462-8018-153--