Tutorial on debuging web services...
http://wso2.org/library/225

~Thilina

On 12/7/06, George Stanchev <[EMAIL PROTECTED]> wrote:

No, its all automated.

________________________________
From: Danny Lin [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 8:02 AM

To: [email protected]
Subject: RE: WS debugging in Eclipse


George, thank you for the info. Do I still need to set the JAVA_OPTS
environment variable if I use this Eclipse plugin?

________________________________
From: George Stanchev [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 9:50 AM
To: [email protected]
Subject: RE: WS debugging in Eclipse


Another suggestion is to use Tomcat for Eclipse plugin from
Sysdeo. It integrates pretty well with eclipse and allows you
to start/stop/restart tomcat from the eclipse toolbar and
saves you the step to attach the debugger. It gives you
also some additional control as you can add projects to
the tomcat classpath, jvm paramaters, etc.

http://www.sysdeo.com/eclipse/tomcatplugin
George Stanchev

________________________________

From: Betsy Frey [mailto:[EMAIL PROTECTED]
Sent: Thu 12/7/2006 5:57 AM
To: [email protected]
Subject: RE: WS debugging in Eclipse




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:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 12:24 AM
To: [email protected]
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:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 7:36 PM
To: [email protected]
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 < [EMAIL PROTECTED]> wrote:
Hi all,
Is it possible to debug web services in Eclipse?


       Vladi


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**********************************************************************
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to