Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-10 Thread Manik Surtani
Scott, if you want I can cut CR5 this morning based on what we have and then a CR6 for next week, with the bits we originally had in mind for CR5. I'm trying to compete with Bob McW for the largest number of release candidates. ;) On 9 Jun 2011, at 21:42, Scott Marlow wrote: As a short

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-09 Thread Scott Marlow
As a short term way to resolve this in AS 7.0. I'd like to have a fix based on CR4 (since CR5 won't be available soon enough). We really need to get this pulled together sometime tomorrow morning (June 10th) for AS 7.0. I created a branch based on the CR4 tag for this.

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-08 Thread Manik Surtani
On 8 Jun 2011, at 11:57, Galder Zamarreño wrote: In the mean time, I can quickly modify the dummy TM to make the same check as JBoss TS and see whether it fails in the 2LC testsuite. -1. Better to just switch the testsuite to use JBossTS. -- Manik Surtani ma...@jboss.org

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-08 Thread Manik Surtani
So what is the final proposed solution here? On 8 Jun 2011, at 01:07, Scott Marlow wrote: I just hit this case locally. http://pastie.org/2035067 This is running with a hacked AS7, in the sense that IronJacamar (JBJCA-594), Hibernate JPA and the EJB3.1 container are registering TSR

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-07 Thread Scott Marlow
I just hit this case locally. http://pastie.org/2035067 This is running with a hacked AS7, in the sense that IronJacamar (JBJCA-594), Hibernate JPA and the EJB3.1 container are registering TSR interposed synchronizations (https://github.com/scottmarlow/jboss-as/commits/jpa_tsr). This is for

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-03 Thread Scott Marlow
On 06/02/2011 11:27 AM, Mircea Markus wrote: On 2 Jun 2011, at 15:09, Scott Marlow wrote: On 06/02/2011 09:50 AM, Mircea Markus wrote: On 2 Jun 2011, at 13:19, Scott Marlow wrote: On 06/02/2011 05:31 AM, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-03 Thread Sanne Grinovero
2011/6/2 Mircea Markus mircea.mar...@jboss.com: So, the rule for activity in beforeCompletion is:  - a Sync registered via registerSynchronization may call either registerSynchronization or registerInterposedSynchronization.  - a Sync registered via registerInterposedSynchronization may

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Mircea Markus
On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the TransactionSynchronizationRegistry. Does Infinispan currently register Transaction synchronization objects?

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Mircea Markus
On 2 Jun 2011, at 10:31, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the TransactionSynchronizationRegistry. Does Infinispan

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Scott Marlow
On 06/02/2011 05:31 AM, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the TransactionSynchronizationRegistry. Does Infinispan currently

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Sanne Grinovero
Both Infinispan Query and Hibernate Search register transaction synchronizations: org.infinispan.query.backend.TransactionalEventTransactionContext.registerSynchronization(Synchronization) org.hibernate.search.backend.impl.EventSourceTransactionContext.registerSynchronization(Synchronization)

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Mircea Markus
On 2 Jun 2011, at 13:19, Scott Marlow wrote: On 06/02/2011 05:31 AM, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Scott Marlow
On 06/02/2011 09:50 AM, Mircea Markus wrote: On 2 Jun 2011, at 13:19, Scott Marlow wrote: On 06/02/2011 05:31 AM, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html),

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Mircea Markus
On 2 Jun 2011, at 15:09, Scott Marlow wrote: On 06/02/2011 09:50 AM, Mircea Markus wrote: On 2 Jun 2011, at 13:19, Scott Marlow wrote: On 06/02/2011 05:31 AM, Mircea Markus wrote: On 1 Jun 2011, at 20:49, Scott Marlow wrote: I posted a message on the as7-dev ml

Re: [infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-02 Thread Mircea Markus
So, the rule for activity in beforeCompletion is: - a Sync registered via registerSynchronization may call either registerSynchronization or registerInterposedSynchronization. - a Sync registered via registerInterposedSynchronization may call only registerInterposedSynchronization.

[infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

2011-06-01 Thread Scott Marlow
I posted a message on the as7-dev ml (http://lists.jboss.org/pipermail/jboss-as7-dev/2011-May/002254.html), about switching to use the TransactionSynchronizationRegistry. Does Infinispan currently register Transaction synchronization objects? Does Infinispan currently register