Dead-Slow Debugger/Tomcat (Selena Build 7590)

I am experiencing extremely slow startup and running for my IDEA Tomcat Run Configuration in local debug mode.

I tried to recreate the problem running from the command-line:

With IntelliJ remotely connected via JPDA, if I use IntelliJ's CATALINA_BASE (in my case cached under /Users/cherro/Library/Caches/IntelliJIDEA70/tomcat_Unnamed_MyProject2b9e4dc6), tomcat takes about 60 seconds to start up.

If I use the normal CATALINA_BASE for my tomcat install, (all other config the same), tomcat takes about 12 seconds to start up.

I first noticed this after downloading EAP build 7590, however the problem persists after rolling back to the 7.0.2 GM and clearing the cache directory. I was debugging the day before without this behavior - and can't think of anything else that has changed.

I'm using the Selena EAP build 7590 / Mac OS X 10.5.2 / Java 1.5.0_13

Has anybody else seen this kind of problem, or have any suggestions as to other things I can try to resolve it?

Thanks,

Chris.

0
3 comments
Avatar
Permanently deleted user

Do you have any method breakpoints set? (Those breakpoints are extremely expensive and should be avoided during server startup.)

0
Avatar
Permanently deleted user

Do you have any method breakpoints set? (Those
breakpoints are extremely expensive and should be
avoided during server startup.)


I don't have any breakpoints set - I already removed them to see if it would help - no luck. Note that in both cases (60 secs versus 12 secs) I had the debugger connected - the difference was the catalina_base directory location.

0
Avatar
Permanently deleted user

Doh!
Martin - I checked again, and did indeed have a couple of method breakpoints set. I thought I'd removed all my breakpoints but missed those. That solved it.

Thanks,

Chris.

0

Please sign in to leave a comment.