I am getting an error(JBAS014750) when i deploy an app in JBOSS 7.So i need to run it in debug mode to find the exact issue.Any help will be appreciated.
If you are using Eclipse you can switch to "Debug-Configurations" and add a new Remote Java-Application. If the server is started with the JAVA_OPTS set above, you are able to debug with your IDE. I edited <jboss-root>/bin/standalone. conf and as far as I know this is the recommended way to debug JBoss 7.
If you have a look at bin/standalone.sh
you will discover
# Use --debug to activate debug mode with an optional argument to specify the port. # Usage : standalone.bat --debug # standalone.bat --debug 9797
So, following this, just run the script with the --debug <port>
parameter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With