axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Betsy Frey" <BF...@SERENA.com>
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
case).
4. Run the test that invokes the server.  The breakpoint should show up in the Eclipse debugger.

Betsy
________________________________________
From: VF [mailto:vf@imh.cz] 
Sent: Thursday, December 07, 2006 12:24 AM
To: axis-user@ws.apache.org
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 [mailto:rajith77@gmail.com] 
Sent: Wednesday, December 06, 2006 7:36 PM
To: axis-user@ws.apache.org
Subject: Re: WS debugging in Eclipse

Vladi,

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 http://ws.apache.org/commons/tcpmon/ to check the SOAP messages that
are exchanged between the service and the client.

Regards,

Rajith
On 12/6/06, VF < vf@imh.cz> wrote:
Hi all,
Is it possible to debug web services in Eclipse?


       Vladi


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org 
For additional commands, e-mail: axis-user-help@ws.apache.org


**********************************************************************
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message