View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821643#3821643

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821643

I just noticed that there probably should be one small adjustment to the patch I 
posted.  Instead of using log.warn, I should have used log.error:



===================================================================

RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/cache/invalidation/InvalidationsTxGrouper.java,v

retrieving revision 1.1.2.1

diff -u -r1.1.2.1 InvalidationsTxGrouper.java

--- InvalidationsTxGrouper.java 8 Nov 2002 16:35:34 -0000 1.1.2.1

+++ InvalidationsTxGrouper.java 15 Feb 2004 20:01:18 -0000

@@ -66,6 +66,11 @@



public static void registerInvalidationSynchronization(Transaction tx, 
InvalidationGroup group, Serializable key) throws Exception

{

+ if (tx == null)

+ {

+ log.error("JBossCMP requires a transaction.");

+ throw new IllegalStateException("JBossCMP requires a transaction.");

+ }

InvalidatorSynchronization synch = null;

synchronized(synchronizations)

{



--Chris




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to