axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Betsy Frey" <>
Subject RE: WS debugging in Eclipse
Date Thu, 07 Dec 2006 12:57:09 GMT
To use eclipse to debug a tomcat servlet:
1. Be sure that tomcat is started with the below.  One way to do that is to edit tomcat/bin/catalina.bat,
where JAVA_OPTS is defined.
-Xdebug -Xnoagent  -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
2. Set a breakpoint in the servlet code.  Note that servlet timeouts may start to occur when
you debug, so you want the breakpoint close to the code being debugged.
3. Start the eclipse debugger.  Open Run | Debug...  Select the section for "remote java application".
 Select the project.  Connection type is socket.  Set host and address (8000 in the above
4. Run the test that invokes the server.  The breakpoint should show up in the Eclipse debugger.

From: VF [] 
Sent: Thursday, December 07, 2006 12:24 AM
Subject: RE: WS debugging in Eclipse

Hi Rajith,
Im using tcp monitor,but sometimes I need to step into code. Now I make it so,that i construct
skeleton class direct and run my web service as local application. But sometimes I need to
debbug it on Tomcat as it would run in bussiness with all settings. 

         Regards Vladi

From: Rajith Attapattu [] 
Sent: Wednesday, December 06, 2006 7:36 PM
Subject: Re: WS debugging in Eclipse


Another more easy option would be for you to deploy your services on axis2  and then remote
debug using eclipse.
You can also use tcpmon to check the SOAP messages that
are exchanged between the service and the client.


On 12/6/06, VF <> wrote:
Hi all,
Is it possible to debug web services in Eclipse?


To unsubscribe, e-mail: 
For additional commands, e-mail:

This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom they are addressed. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message