On Mon, Jun 2, 2014 at 10:34 AM, Billy Buzzard <billy.buzz...@bnsflogistics.com> wrote: > This thread originally asked about Service Classpath and it was hijacked > asking how to make a web service using Kepler and Axis2. Please in the > future create a new thread if you want to ask a question that is NOT > related to the subject. > > > > The original question about Service Classpath remains unanswered. <snip> > > On Tue, May 27, 2014 at 7:45 PM, Billy Buzzard > <billy.buzz...@bnsflogistics.com> wrote: > > I wrote a couple of Axis2 Web Services using Eclipse and both seem to work > fine. I am working on a larger web service that requires a couple of jar > files to the included on the classpath. I placed the jar files in the Axis2 > lib folder and that works, but I would like to keep the jar files in a > location specific to the service. > > > > The Axis2 Service Archiver allows the user to add jar files to the lib > folder in the aar file. How do I add those jar files to the classpath of > that service? >
You can change the behavior of the Axis2 Service classloader via the ServiceTCCL param in services.xml . This article is a quick summary: http://wso2.com/node/1131 You can see how the Axis2 Spring config uses ServiceTCCL here: http://axis.apache.org/axis2/java/core/docs/spring.html - R --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org