File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes getSessionContext.setRollBackOnly() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "getSessionContext.setRollBackOnly()" Watch "getSessionContext.setRollBackOnly()" New topic


Jane Barnett

Joined: Oct 12, 2009
Posts: 5
I have an application running on Websphere I have doing some performance monitoring with Tivoli Performance Viewer. There is a particular metric called, ActiveMethodCount - which is available per EJB. I notice that ActiveMethodCount is directly proportional to the number of times that I call getSessionContext().setRollBackOnly(). Why is this so?

According to IBM docs - ActiveMethodCount siginifies - The number of concurrently active methods - the number of methods called at the same time.
I agree. Here's the link:
subject: getSessionContext.setRollBackOnly()
It's not a secret anymore!