[jBPM] - Task persisted without potowners
daniemarques <[email protected]> Mon, 19 Aug 2013 07:32:03 -0400
| Newsgroups | gmane.comp.java.jboss.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1473870_107530847.1376911923466
Content-Type: multipart/alternative;
boundary="----=_Part_1473869_1686356679.1376911923466"
------=_Part_1473869_1686356679.1376911923466
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
daniemarques [https://community.jboss.org/people/daniemarques] created the discussion
"Task persisted without potowners"
To view the discussion, visit: https://community.jboss.org/message/833045#833045
--------------------------------------------------------------
Hi
I have a JBPM process that has a very strange behaviour.
"Sometimes" when a human task is persisted in the database the potowners aren't persisted.
If another instance of the process and another task is created, the previous task, the one that failed to be created with the potowners, has now the potowners in the database, and then I can resume the previous process.
Anyone had a similar problem? Did you find any solution?
I have no clues for the solution. Can this be a cache problem?
This is part of my persistence.xml file:
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/833045#833045]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
------=_Part_1473869_1686356679.1376911923466
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link=3D"#355491" alink=3D"#4262a1" vlink=3D"#355491" style=3D"backgro=
und: #e2e2e2; margin: 0; padding: 20px;">
<div>
=09<table cellpadding=3D"0" bgcolor=3D"#FFFFFF" border=3D"0" cellspacing=3D=
"0" style=3D"border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -=
moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09<tbody>
=09=09=09<tr>
=09=09=09=09<td>
=09=09=09=09=09<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" bgco=
lor=3D"#FFFFFF" style=3D"border: solid 2px #ccc; background: #dadada; width=
: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09=09=09=09=09<tbody>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#000000" valign=3D"middle" height=3D=
"58px" style=3D"border-bottom: 1px solid #ccc; padding: 20px; -moz-border-r=
adius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-ri=
ght-radius: 5px; -webkit-border-top-left-radius: 5px;">
=09=09=09=09=09=09=09=09=09<h1 style=3D"color: #333333; font: bold 22px Ari=
al, Helvetica, sans-serif; margin: 0; display: block !important;">
=09=09=09=09=09=09=09=09=09<!-- To have a header image/logo replace the nam=
e below with your img tag -->
=09=09=09=09=09=09=09=09=09<!-- Email clients will render the images when t=
he message is read so any image -->
=09=09=09=09=09=09=09=09=09<!-- must be made available on a public server, =
so that all recipients can load the image. -->
=09=09=09=09=09=09=09=09=09<a href=3D"https://community.jboss.org/index.jsp=
a" style=3D"text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
=09=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#FFFFFF" style=3D"font: normal 12px =
Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-ra=
dius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-b=
ottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style=
=3D"margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Task persisted without potowners
</h3>
<span style=3D"margin-bottom: 10px;">
created by <a href=3D"https://community.jboss.org/people/daniemarques">=
daniemarques</a> in <i>jBPM</i> - <a href=3D"https://community.jboss.org/me=
ssage/833045#833045">View the full discussion</a>
</span>
<hr style=3D"margin: 20px 0; border: none; background-color: #dadada; heigh=
t: 1px;">
<div class=3D"jive-rendered-content"><p>Hi</p><p style=3D"min-height: 8pt; =
height: 8pt; padding: 0px;"> </p><p>I have a JBPM process that has a v=
ery strange behaviour.</p><p style=3D"min-height: 8pt; height: 8pt; padding=
: 0px;"> </p><p>"Sometimes" when a human task is persisted in the data=
base the potowners aren't persisted.</p><p style=3D"min-height: 8pt; height=
: 8pt; padding: 0px;"> </p><p>If another instance of the process and a=
nother task is created, the previous task, the one that failed to be create=
d with the potowners, has now the potowners in the database, and then I can=
resume the previous process.</p><p style=3D"min-height: 8pt; height: 8pt; =
padding: 0px;"> </p><p>Anyone had a similar problem? Did you find any =
solution?</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;"> =
;</p><p>I have no clues for the solution. Can this be a cache problem?</p><=
p style=3D"min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>This i=
s part of my persistence.xml file:</p><p style=3D"min-height: 8pt; height: =
8pt; padding: 0px;"> </p><p style=3D"min-height: 8pt; height: 8pt; pad=
ding: 0px;"> </p><p style=3D"min-height: 8pt; height: 8pt; padding: 0p=
x;"> </p></div>
<div style=3D"background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style=3D"margin: 0;">Reply to this message by <a href=3D"https://com=
munity.jboss.org/message/833045#833045">going to Community</a></p>
=09<p style=3D"margin: 0;">Start a new discussion in jBPM at <a href=3D"htt=
ps://community.jboss.org/choose-container!input.jspa?contentType=3D1&contai=
nerType=3D14&container=3D2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
------=_Part_1473869_1686356679.1376911923466--
------=_Part_1473870_107530847.1376911923466
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
------=_Part_1473870_107530847.1376911923466--