[infinispan-dev] How to configure Infinispan with transactions, backed by relational DB on JBoss AS 7 vs. Tomcat 7 ?

Martin Gencur mgencur at redhat.com
Thu May 24 03:08:42 EDT 2012


Tristan Tarrant píše v Thu 24. 05. 2012 v 09:02 +0200:
> On 05/23/2012 09:31 PM, Dan Berindei wrote:
> > On Wed, May 23, 2012 at 9:06 PM, Sanne Grinovero<sanne at infinispan.org>  wrote:
> >> Nice work Martin!
> >>
> >> Just one doubt, especially since it's a rather long post.. why would
> >> someone want to use c3p0 on AS7 ? Isn't the included datasource pool
> >> far superior?
> >>
> > The AS7 datasource tries to join the cache transaction, but that won't
> > work because it's too late (we only write to the cache store during
> > commit). Martin alluded to that problem, but he wasn't very specific -
> > he just pointed at https://issues.jboss.org/browse/ISPN-604
> >
> > Martin, I think it would have been best if you listed the error
> > message as well so any users having the same problem can find your
> > post.
> >
> Actually since the inclusion of ISPN-2040 in master, 5.1.x and JDG, that 
> is not strictly true anymore...

Not strictly but still true, right? What happens when there is a
transaction and it rolls back? Will the entry be removed back from the
cache store? If yea, why is this marked as workaround?


> 
> Tristan
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Martin Gencur
--
QA Engineer, JBoss Data Grid
Desk phone: +420 532 294 192, ext. 62192



More information about the infinispan-dev mailing list