You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2005/09/14 07:13:47 UTC
[Axis2] Debugging server code in Eclipse
Does anyone have suggestions for setting up a project to debug service
code in Eclipse? I started trying to set this up, then realized I didn't
know how to configure it so the Axis2 servlet would find the actual
service code I wanted to debug. Is it possible to add a service without
going the .aar file route? Thought I'd check if anyone is already doing
this successfully.
- Dennis
Re: [Axis2] Debugging server code in Eclipse
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Thanks for the pointers, Ruchith - this sounds like exactly what I need.
- Dennis
Ruchith Fernando wrote:
>Hi Dennis,
>
>You can use SimpleHTTPServer to debug services/modules.
>You will have to start
>org.apache.axis2.transport.http.SimpleHTTPServer in debug mode
>pointing. You will have to provide the 'axis2/WEB-INF' directory and
>the port as arguments.
>
>The org.apache.axis2.integration.UtilServer is used with the test
>cases and it still require you to specify a repository location. You
>can use it to add a simple service without a '.aar'. For example
>please see the setUp() method in
>org.apache.axis2.mtom.EchoRawMTOMTest.
>
>If you want to debug your service which is deployed in Tomcat , then
>you will have to enable remote debugging in Tomcat [1] and setup a
>'Remote Java Application' in eclipse and run it.
>
>Thanks
>Ruchith
>
>[1] http://jakarta.apache.org/tomcat/faq/development.html
>
>On 9/14/05, Dennis Sosnoski <dm...@sosnoski.com> wrote:
>
>
>>Does anyone have suggestions for setting up a project to debug service
>>code in Eclipse? I started trying to set this up, then realized I didn't
>>know how to configure it so the Axis2 servlet would find the actual
>>service code I wanted to debug. Is it possible to add a service without
>>going the .aar file route? Thought I'd check if anyone is already doing
>>this successfully.
>>
>> - Dennis
>>
>>
>>
>
>
>
>
Re: [Axis2] Debugging server code in Eclipse
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Dennis,
You can use SimpleHTTPServer to debug services/modules.
You will have to start
org.apache.axis2.transport.http.SimpleHTTPServer in debug mode
pointing. You will have to provide the 'axis2/WEB-INF' directory and
the port as arguments.
The org.apache.axis2.integration.UtilServer is used with the test
cases and it still require you to specify a repository location. You
can use it to add a simple service without a '.aar'. For example
please see the setUp() method in
org.apache.axis2.mtom.EchoRawMTOMTest.
If you want to debug your service which is deployed in Tomcat , then
you will have to enable remote debugging in Tomcat [1] and setup a
'Remote Java Application' in eclipse and run it.
Thanks
Ruchith
[1] http://jakarta.apache.org/tomcat/faq/development.html
On 9/14/05, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> Does anyone have suggestions for setting up a project to debug service
> code in Eclipse? I started trying to set this up, then realized I didn't
> know how to configure it so the Axis2 servlet would find the actual
> service code I wanted to debug. Is it possible to add a service without
> going the .aar file route? Thought I'd check if anyone is already doing
> this successfully.
>
> - Dennis
>
--
Ruchith