I'm trying to run JBoss in debug mode. It seems to work fine - JBoss starts up and deploys everything. Then just before jboss-service.xml would have finished deploying, the VM just crashes/stops/exits and a new one starts up. And JBoss goes through the whole startup procedure again. And again. And again...
The last line displayed before the VM restarts is this:
[URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
JAVA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=javadebug %JAVA_OPTS%
I have the same problem on linux with jdk 1.4.2_02-b03. On Windows with
jdk1.4.2_02, it runs.