Does your code in the try block fail due to a transaction failing?
What seems to be the problem is that your cache participates in your transaction (perhaps a call to the cache in your try block), the tx fails, and then you attempt to try more operations on the cache in your catch block.
If the cache operation in catch doesn't need to be transactional, you could suspend the transaction before your cache call, and then resume it afterwards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070027#4070027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070027
oops, it doesnt dissplay the xml snippet properly...here goes again
mbean code="org.jboss.varia.scheduler.Scheduler"
name="jboss:service=MyClassScheduler"
attribute name="StartAtStartup">false</attribute
attribute name="SchedulableMBean">xx:service=yy</attribute
attribute name="SchedulableMBeanMethod">mySchedulableMethod()</attribute
attribute name="DateFormat">MM/dd/yyyy kk:mm:ss</attribute
attribute name="InitialStartDate">08/01/2007 23:59:00</attribute
attribute name="SchedulePeriod">10000</attribute
attribute name="InitialRepetitions">1</attribute
/mbean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070023#4070023
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070023