Yes, Faces starts the transaction in a PhaseListener. I'd like to be able to use it elsewhere besides Faces though.<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 14:54, Nicklas Karlsson <span dir="ltr"><<a href="mailto:nickarls@gmail.com">nickarls@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, it's probably not the best generic solution, I use it together with Faces which probably handles the starting etc.<div class="HOEnZb">
<div class="h5"><br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 11:51 PM, Jason Porter <span dir="ltr"><<a href="mailto:lightguard.jp@gmail.com" target="_blank">lightguard.jp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>We need to start the transaction too. What Lincoln and I talked about is much more helpful and more widely usable than this little filter bandaid. <br>
<br>Sent from my iPhone</div><div><div><div><br>On Nov 28, 2011, at 14:25, Shane Bryzak <<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div>
So what I have is this:<br>
<br>
<a href="https://github.com/seam/transaction/blob/develop/impl/src/main/java/org/jboss/seam/transaction/RollbackFilter.java" target="_blank">https://github.com/seam/transaction/blob/develop/impl/src/main/java/org/jboss/seam/transaction/RollbackFilter.java</a><br>
<br>
Do we need to support SeamTransaction also?<br>
<br>
<br>
<br>
On 29/11/11 07:18, Stuart Douglas wrote:
<blockquote type="cite">You should actually be checking for more states than
just ACTIVE (e.g. it could be MARKED_ROLLBACK).
<div><br>
</div>
<div>Anything other than UNKOWN or NO_TRANSACTION I think.</div>
<div><br>
</div>
<div>Stuart<br>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On 29/11/2011, at 8:15 AM, Nicklas Karlsson wrote:</div>
<br>
<blockquote type="cite">Sure, it's just something like
<a href="http://pastebin.com/7ZBMcYkG" target="_blank">http://pastebin.com/7ZBMcYkG</a> <br>
<br>
<div class="gmail_quote">On Mon, Nov 28, 2011 at 11:11 PM,
Shane Bryzak <span dir="ltr"><<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Would you mind
sharing that with us Nick? :)
<div>
<div><br>
<br>
On 29/11/11 07:08, Nicklas Karlsson wrote:
<blockquote type="cite">Like I commented in the
JIRA, I think I also had this issue and Stuart
recommended this simple rollback filter which
I currently use and appear to have solved the
issue.<br>
<br>
<div class="gmail_quote">On Mon, Nov 28, 2011
at 11:03 PM, Shane Bryzak <span dir="ltr"><<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So it looks
like the filter idea is what Jason and
Lincoln have come up<br>
with also. Jason, how long would this
take to implement?<br>
<div>
<div><br>
On 29/11/11 07:02, Stuart Douglas
wrote:<br>
> This looks like a transaction
leak, not sure where from.<br>
><br>
> EE app servers are supposed to
have a mechanism in place to detect
and rollback leaking transactions from
a web request. AS 7.0 was missing
this, however I added it for the 7.1
Beta release.<br>
><br>
> For 7.0 I think the only real
solution is to either figure out where
the TX leak is coming from, or write a
filter that detects transaction leaks
and rolls back.<br>
><br>
> Stuart<br>
><br>
><br>
> On 29/11/2011, at 7:54 AM, Shane
Bryzak wrote:<br>
><br>
>> Has someone consulted Stuart
about this issue?<br>
>><br>
>> On 29/11/11 03:29, Jason
Porter wrote:<br>
>>> That may work. If the
steps are relatively small to recreate
it.<br>
>>><br>
>>> Sent from my iPhone<br>
>>><br>
>>> On Nov 28, 2011, at
10:16, Cody Lerum<<a href="mailto:cody.lerum@gmail.com" target="_blank">cody.lerum@gmail.com</a>>
wrote:<br>
>>><br>
>>>> I don't have a test
for it, and I don't think I will have
the time to<br>
>>>> learn how to repo it
in arq anytime soon. I can branch my
seam-crm<br>
>>>> project to create an
easy repo if someone can craft a test
based on<br>
>>>> that.<br>
>>>><br>
>>>> -C<br>
>>>><br>
>>>> On Mon, Nov 28, 2011
at 10:12 AM, Jason Porter<<a href="mailto:lightguard.jp@gmail.com" target="_blank">lightguard.jp@gmail.com</a>>
wrote:<br>
>>>>> Cody, do you have
an arquillian test that reproduces
this? This is a pretty big one and I
don't want to say this is fixed
without a test demonstrating this is
fixed.<br>
>>>>><br>
>>>>> Sent from my
iPhone<br>
>>>>><br>
>>>>> On Nov 28, 2011,
at 9:24, Cody Lerum<<a href="mailto:cody.lerum@gmail.com" target="_blank">cody.lerum@gmail.com</a>>
wrote:<br>
>>>>><br>
>>>>>> FWIW I think
we should hold off on a CR1 release
until<br>
>>>>>> <a href="https://issues.jboss.org/browse/SEAM-99" target="_blank">https://issues.jboss.org/browse/SEAM-99</a>
can be resolved.<br>
>>>>>><br>
>>>>>> -C<br>
>>>>>><br>
>>>>>> On Sun, Nov
27, 2011 at 7:26 PM, Shane Bryzak<<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>>
wrote:<br>
>>>>>>> Hi
everyone,<br>
>>>>>>><br>
>>>>>>> We are
gearing up release Seam 3.1.0.CR1 in a
couple of days. Currently we<br>
>>>>>>> have 56
open issues [1], I'll probably be
bumping many of these but if you<br>
>>>>>>> are able
to help out by fixing one or two of
these then it would be much<br>
>>>>>>>
appreciated. I'll probably start the
release on Wednesday evening my time<br>
>>>>>>> (+10GMT),
so we'll need to have a code freeze by
then.<br>
>>>>>>><br>
>>>>>>> Thanks,<br>
>>>>>>> Shane<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> [1]<br>
>>>>>>> <a href="https://issues.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId=12314291" target="_blank">https://issues.jboss.org/secure/IssueNavigator.jspa?mode=hide&requestId=12314291</a><br>
>>>>>>>
_______________________________________________<br>
>>>>>>> seam-dev
mailing list<br>
>>>>>>> <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
>>>>>>> <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>
_______________________________________________<br>
>>>>>> seam-dev
mailing list<br>
>>>>>> <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
>>>>>> <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
>>
_______________________________________________<br>
>> seam-dev mailing list<br>
>> <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br>
_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
---<br>
Nik<br>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
---<br>
Nik<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seam-dev mailing list</span><br><span><a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a></span><br>
<span><a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>---<br>Nik<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jason Porter<br><a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br><a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>
<br>Software Engineer<br>Open Source Advocate<br>Author of Seam Catch - Next Generation Java Exception Handling<br><br>PGP key id: 926CCFF5<br>PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>