Re: WS debugging in Eclipse

2006-12-09 Thread Thilina Gunarathne

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: axis-user@ws.apache.org
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: axis-user@ws.apache.org
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: axis-user@ws.apache.org
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: 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:[EMAIL PROTECTED]
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  [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]



RE: WS debugging in Eclipse

2006-12-07 Thread VF
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: 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  [EMAIL PROTECTED] mailto:[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]

 



RE: WS debugging in Eclipse

2006-12-07 Thread Betsy Frey
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: 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:[EMAIL PROTECTED] 
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  [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]



RE: WS debugging in Eclipse

2006-12-07 Thread George Stanchev
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: axis-user@ws.apache.org
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: 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:[EMAIL PROTECTED]
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  [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]



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

RE: WS debugging in Eclipse

2006-12-07 Thread Danny Lin
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: axis-user@ws.apache.org
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: axis-user@ws.apache.org
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: 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:[EMAIL PROTECTED]
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  [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]





RE: WS debugging in Eclipse

2006-12-07 Thread George Stanchev
No, its all automated.
 



From: Danny Lin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 07, 2006 8:02 AM
To: axis-user@ws.apache.org
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: axis-user@ws.apache.org
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: axis-user@ws.apache.org
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: 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:[EMAIL PROTECTED]
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  [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]





Re: WS debugging in Eclipse

2006-12-06 Thread Manuel Ernstberger
Hi Vladi,

with Eclipse WTP (http://www.eclipse.org/webtools/) you can run your web 
services on an application server in debug mode.

Regards,
Manuel


 Original-Nachricht 
Datum:  Wed, 6 Dec 2006 09:56:54 +0100
Von: VF [EMAIL PROTECTED]
An: axis-user@ws.apache.org
Betreff:  WS debugging in Eclipse

 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]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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



Re: WS debugging in Eclipse

2006-12-06 Thread Rajith Attapattu

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]




Re: WS debugging in Eclipse

2006-12-06 Thread Manoj Khangaonkar

Hi Vladi,

Assuming you are running AXIS2 with Tomcat,

Here is a link on how to debug tomcat with eclipse

http://tomcat.apache.org/faq/development.html#rd-eclipse

SInce you are interesed in debugging AXIS2 , put appropriate break points in
the AXIS2 code.

The same concept applies to any other environment from which you run AXIS2.

MJ



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]