Axis2 / Spring3 / .aar file

2013-10-15 Thread Simone
Hi, I try to deploy a webservice with axis2 and spring 3.2. I wrote a SpringInit: ClassLoader classLoader = service.getClassLoader(); ClassPathXmlApplicationContext appCtx = new ClassPathXmlApplicationContext( new String[] { "application.xml" }, false);

Re: Axis2 / Spring3 / .aar file

2013-10-15 Thread robertlazarski .
On Tue, Oct 15, 2013 at 7:03 AM, Simone wrote: > Hi, > > I try to deploy a webservice with axis2 and spring 3.2. > > I wrote a SpringInit: > ClassLoader classLoader = service.getClassLoader(); > ClassPathXmlApplicationContext appCtx = new > ClassPathXmlApplicationContext( >

Re: Axis2 / Spring3 / .aar file

2013-10-15 Thread Simone
Did you do this step? "move the axis2-spring-*.jar from WEB-INF/lib to inside the AAR, as shown below - it will not work otherwise." Make sure that jar is only in the aar. Also, try expanding your springframework jar to verify org/springframework/context/ApplicationContextAware is inside. A qui

RE: Axis2 / Spring3 / .aar file

2013-10-15 Thread Martin Gainty
Simone and Robert i dont know how many times Ive been bitten by CNFE by Spring Injector http://www.grepcode.com/search/?query=org/springframework/context/ApplicationContextAware reveals ApplicationContextAware is located in spring-context-3.x.jar but spring-core-3.x.jar is a dependency

Re: Axis2 / Spring3 / .aar file

2013-10-15 Thread Simone
But it works now, after I added the jars into the web-inf/lib folder of axis2. I thought because of the: name="ServiceTCCL">composite, spring is "inside" of the .aar ? As I wrote in my previous e-mail the next problem is hibernate with spring: [INFO] Loaded JDBC driver: com.mysql.jdbc.Driver [I

Re: Axis2 / Spring3 / .aar file

2013-10-15 Thread Simone
I copied the mysql connector jar to the web-inf/lib folder... now it works. But I prefer that it's using the jars from the .aar file. Is the lib folder the correct place for the jars in the .aar file??? - To unsubscribe, e-mail:

Re: Axis2 / Spring3 / .aar file

2013-10-15 Thread robertlazarski .
On Tue, Oct 15, 2013 at 8:48 AM, Simone wrote: > I copied the mysql connector jar to the web-inf/lib folder... now it works. > But I prefer that it's using the jars from the .aar file. > Is the lib folder the correct place for the jars in the .aar file??? > > Some libs like hibernate and DB drive