You can also enable logs on the command line or pass parameters to the JBoss server using the IDE as:
set "JAVA_OPTS=%JAVA_OPTS% -Xms2048m -Xmx4096m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dorg.apache.camel.jmx.disabled=true -Djboss.server.log.threshold=DEBUG -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
Here we also increase memory, since writing debugging results to a file / console increases memory consumption. Sometimes, if we do not increase memory, this causes a permGem error.
source share