-
1. Re: How to remote debug a servlet in JBoss
chgrimm Oct 7, 2002 2:32 AM (in response to greencap)as you said: simply start JBoss in debugging mode.
i always do with the suspend flag set to "no" and then attach to the jboss-vm after deployment of the ear-file.
the vm willstop for every breakpoint that you have set in your sourcecode.
for netbeans this is very simple. just mount the appropriate directories and set your breakpoints and start the remote debugging session.
beware that you should debug a server only if there's a single user on it. otherwise you will get a total mess. -
2. Re: How to remote debug a servlet in JBoss
prabhakar Oct 7, 2002 3:34 PM (in response to greencap)You can also use Eclipse to attach to a running Jboss process and debug your ejbs/servlets.
-prabhakar -
3. Re: How to remote debug a servlet in JBoss
dan1 Oct 7, 2002 4:11 PM (in response to greencap)Use the Genuitec JBoss plugin for Eclipse.
After you set it up and start JBoss from within Eclipse, you can simply compile the code in the project, deploy and set the breakpoints in the code.
Dan