I got a strange performance problem switching from JBoss 4 to JBoss 5. There is a stateless bean method and it is invoked in 44 sec in JBoss. It's OK. After I run that method in JBoss 5 it takes > 5 min and transaction timeout exception interrupts the flow.
What can be a reason of that performance problem in two versions of JBoss? Any ideas are welcomed.
That all depends entirely on what your stateless bean method does. You should use some performance analysis and monitoring tools to determine where the time is being spent.
Peter Johnson wrote:That all depends entirely on what your stateless bean method does. You should use some performance analysis and monitoring tools to determine where the time is being spent.
Thanks for advice! I've looked through the sources and found a bottleneck.