Friday, January 30, 2009

Tomcat slowly starts in a debug mode

When tomcat starts slowly if you use remote debug with a tomcat and an Eclipse...
remove "watch expressions" in the Eclipse.
That should fixed it.

If no click at "skip all breakpoints"
Try to start.

NOTE:
Start tomcat in debug mode in a linux:
****************************
REMOTE_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"
JAVA_OPTS="$JAVA_OPTS $REMOTE_DEBUG"

export JAVA_OPTS
****************************

Thanks to Sergey.

No comments: