Friday, May 20, 2016

Build WSO2 ESB from source and remote debugging the source code


We have to debug an application which is not running from it's source code in a IDE. So to do we need this remote debug concept. When it runs it will broadcast debug information via a socket deployed. The IDE running locally will capture those broadcast debug information through that socket and it will do the debug through the source code. From Below image we can understand clearly.
To build, debug WSO2 ESB product i followed this link [1]. But In the middle, After deploying the
SimpleStockQuoteService sample in the axis2server i tried to execute sh axis2server.sh to run the axis2 server. But i got error 

" ls: cannot access '/home/biruntha/Downloads/axis2-1.7.2/../../repository/components/plugins/*.jar': No such file or directory
ls: cannot access '/home/biruntha/Downloads/axis2-1.7.2/../../repository/components/plugins/*.jar': No such file or directory
Using JAVA_HOME: /usr/lib/jvm/jdk1.8.0_91
Using AXIS2 Repository : /home/biruntha/Downloads/axis2-1.7.2/repository
Using AXIS2 Configuration : /home/biruntha/Downloads/axis2-1.7.2/repository/conf/axis2.xml
Error: Could not find or load main class samples.util.SampleAxis2Server "

To solve i follow [2] this by removing the AXIS2_HOME variable,then server started as expected







No comments:

Post a Comment