This content has been marked as final. Show 2 replies
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx2048m -XX:MaxPermSize=1024m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xdebug -Xrun
You have enabled JBoss to run in debug mode and set the suspend=y. So unless you connect a debugger (like Eclipse IDE), the server will be in suspended state.
You have 2 options:
1) Disable debugging - You can do this in the run.bat file by commenting out the JAVA_OPTS section where the debugging options are set
2) Set the suspend=n in the JAVA_OPTS. This way, the server will start without waiting for the debugger to attach itself.
Thanks, it works. Stupid of me.