axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage" <>
Subject Re: How to Debug Axis2 Engine
Date Thu, 05 Jun 2008 14:30:57 GMT
This is how you can do it in Eclipse.
Download the Axis2 source distribution from the Axis2 site.
Follow the same procedure as debugging a web service.
(JMSMessageReceiver is in the axis2-kernel jar so far.)
You can attach the source zip to the project either by, right clicking on
one of the axis2 jars and attaching the source zip or when debugging when
you go to axis2 classes away from your classes, give the src zip when asked
for attaching source.
Then you can put break points etc on the attached source. If you open up an
Axis2 class then Eclipse will show the relevant source file from the zip.

Otherwise you can create a project with the downloaded axis2 source code or
checking out the source code from svn repository. Start the standalone Axis2
server or the web container with debug options on.  Put debug points in the
Axis2 code and remote connect to the server.

Also, Apache Synapse ( has a more updated JMS
transport code in the synapse transports jar. It is the same code base but
an updated version. You can download that and replace the axis2.xml entry
jms transport listener with that class name and try. That is you can add the
synapse transport jar to the lib and replace the axis2 jms transport
listener entry with the one in the Synapse axis2.xml file.


On Thu, Jun 5, 2008 at 7:23 PM, adisesha <>

>  Sending to Dev team, kindly provide me details to debug this class as I
> am getting "Exception in thread "JMSWorker-1" java.lang.NullPointerException
> "  exception in which does n't have any solution
> yet in net.
> Many thanks
>  ------------------------------
> *From:* adisesha []
> *Sent:* Thursday, June 05, 2008 6:11 PM
> *To:* ''
> *Subject:* How to Debug Axis2 Engine
> Hi,
> How can I debug
> axis2-1.4\modules\kernel\src\org\apache\axis2\transport\jms\*
> *(axis2 engine)?
> will helps us to debug web service & not axis2
> code. And which jar file has this class? I feel this is part of module which
> cant be debugged?
> Thanks in advance
>  Disclaimer
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. If you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or taking any action in reliance
> on the contents of this information is strictly prohibited and may be
> unlawful. If you have received this communication in error, please notify us
> immediately by forwarding this email to and then delete
> it from your system. Ness technologies is neither liable for the proper and
> complete transmission of the information contained in this communication nor
> for any delay in its receipt.

View raw message