The moose likes Servlets and the fly likes JBoss: extremly slow when in debug mode? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JBoss: extremly slow when in debug mode?" Watch "JBoss: extremly slow when in debug mode?" New topic
Author

JBoss: extremly slow when in debug mode?

Dan Not
Greenhorn

Joined: Mar 19, 2004
Posts: 1
I am using JBuilderX + Jboss 3.2.3
I am trying to debug my servlet,jsp and ejb in jboss by enabling following statement in run.bat:
set JAVA_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
it takes about 50 seconds to startup the server(my PC 4,512M) and it's very slow for every operation after started. Is there any better way to improve the performance in debuging mode?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JBoss: extremly slow when in debug mode?