Monday, March 5, 2012

JBoss and debug breakpoints

The problem

Got in on a Monday morning ready to write some code.  Start up the JBoss server via JBoss tools, but it just freezes after a while.  Works perfectly with debug arguments.  So I started the server via the bin/ command and connected Eclipse to the JBoss server.  As soon as I connected to the server it froze and when I disconnected everything went back to normal...

The Solution

Debug breakpoint in a EJB causes a heavy overhead to JBoss startup.  And that is exactly what I did had a breakpoint left in from the previous week.  So remove all breakpoints when you have finished debugging!

No comments:

Post a Comment