I have a code that uses JMX API to connect to a remote system and query stats on a JMX Application, and return the results. This works fine from a main method. But, when I try to deploy the methods as web services using Axis2, I get NoClassFoundException for one of the classes in the jar (imported as external Jar in Eclipse).
There are no issues with Axis2 configuration since I am able to test and deploy simpler web services.
I'd like to know if Axis2 has some inherent limitations that would prevent what I am trying to achieve here.