Enabling Debugging - asadmin
28 August 2008Use –debug option while starting the server.
asadmin start-domain --debug [domain_name]
After that you may attach to the server from the debugger at its default JPDA port(1044)
jdb -connect com.sun.jdi.SocketAttach:port=1044
A good feature is that you can enable debugging even if you didnt use –debug option while starting the server.
This is done by setting the server to automatically start up in debug mode using:
- Administration Console
- Editing the domain.xml File
Related Posts:
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Enabling Debugging - asadmin