"adrian(a)jboss.org" wrote : "timfox" wrote :
| | If I don't remove the instance then I get a memory leak.
| |
|
| You only have a memory leak if the number grows large.
| Which you can give a warning about anyway.
| if (map.size() > 100)
| log.warn("Your TM is probably broken!");
|
| The usual solution is to move the transaction to an "in doubt" state
| after a configurable period of time. e.g. 1 hour
| or if you have to recover after a failure.
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972268#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...