Yes, Faces starts the transaction in a PhaseListener. I&#39;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">&lt;<a href="mailto:nickarls@gmail.com">nickarls@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, it&#39;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">&lt;<a href="mailto:lightguard.jp@gmail.com" target="_blank">lightguard.jp@gmail.com</a>&gt;</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 &lt;<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>&gt; 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&#39;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">&lt;<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>&gt;</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">&lt;<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>&gt;</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>
                                  &gt; This looks like a transaction
                                  leak, not sure where from.<br>
                                  &gt;<br>
                                  &gt; 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>
                                  &gt;<br>
                                  &gt; 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>
                                  &gt;<br>
                                  &gt; Stuart<br>
                                  &gt;<br>
                                  &gt;<br>
                                  &gt; On 29/11/2011, at 7:54 AM, Shane
                                  Bryzak wrote:<br>
                                  &gt;<br>
                                  &gt;&gt; Has someone consulted Stuart
                                  about this issue?<br>
                                  &gt;&gt;<br>
                                  &gt;&gt; On 29/11/11 03:29, Jason
                                  Porter wrote:<br>
                                  &gt;&gt;&gt; That may work. If the
                                  steps are relatively small to recreate
                                  it.<br>
                                  &gt;&gt;&gt;<br>
                                  &gt;&gt;&gt; Sent from my iPhone<br>
                                  &gt;&gt;&gt;<br>
                                  &gt;&gt;&gt; On Nov 28, 2011, at
                                  10:16, Cody Lerum&lt;<a href="mailto:cody.lerum@gmail.com" target="_blank">cody.lerum@gmail.com</a>&gt;

                                    wrote:<br>
                                  &gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt; I don&#39;t have a test
                                  for it, and I don&#39;t think I will have
                                  the time to<br>
                                  &gt;&gt;&gt;&gt; learn how to repo it
                                  in arq anytime soon. I can branch my
                                  seam-crm<br>
                                  &gt;&gt;&gt;&gt; project to create an
                                  easy repo if someone can craft a test
                                  based on<br>
                                  &gt;&gt;&gt;&gt; that.<br>
                                  &gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt; -C<br>
                                  &gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt; On Mon, Nov 28, 2011
                                  at 10:12 AM, Jason Porter&lt;<a href="mailto:lightguard.jp@gmail.com" target="_blank">lightguard.jp@gmail.com</a>&gt;

                                    wrote:<br>
                                  &gt;&gt;&gt;&gt;&gt; Cody, do you have
                                  an arquillian test that reproduces
                                  this? This is a pretty big one and I
                                  don&#39;t want to say this is fixed
                                  without a test demonstrating this is
                                  fixed.<br>
                                  &gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt; Sent from my
                                  iPhone<br>
                                  &gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt; On Nov 28, 2011,
                                  at 9:24, Cody Lerum&lt;<a href="mailto:cody.lerum@gmail.com" target="_blank">cody.lerum@gmail.com</a>&gt;

                                    wrote:<br>
                                  &gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; FWIW I think
                                  we should hold off on a CR1 release
                                  until<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; <a href="https://issues.jboss.org/browse/SEAM-99" target="_blank">https://issues.jboss.org/browse/SEAM-99</a>
                                  can be resolved.<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; -C<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; On Sun, Nov
                                  27, 2011 at 7:26 PM, Shane Bryzak&lt;<a href="mailto:sbryzak@redhat.com" target="_blank">sbryzak@redhat.com</a>&gt;

                                    wrote:<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
                                  everyone,<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; We are
                                  gearing up release Seam 3.1.0.CR1 in a
                                  couple of days.  Currently we<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; have 56
                                  open issues [1], I&#39;ll probably be
                                  bumping many of these but if you<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; are able
                                  to help out by fixing one or two of
                                  these then it would be much<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;
                                  appreciated.  I&#39;ll probably start the
                                  release on Wednesday evening my time<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; (+10GMT),
                                  so we&#39;ll need to have a code freeze by
                                  then.<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks,<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; Shane<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; [1]<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://issues.jboss.org/secure/IssueNavigator.jspa?mode=hide&amp;requestId=12314291" target="_blank">https://issues.jboss.org/secure/IssueNavigator.jspa?mode=hide&amp;requestId=12314291</a><br>



                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;
                                  _______________________________________________<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; seam-dev
                                  mailing list<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt;
                                  _______________________________________________<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; seam-dev
                                  mailing list<br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
                                  &gt;&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
                                  &gt;&gt;
                                  _______________________________________________<br>
                                  &gt;&gt; seam-dev mailing list<br>
                                  &gt;&gt; <a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
                                  &gt;&gt; <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>