This works when configuring ServletContext in /META-INF/ApplicationContext.xml http://ws.apache.org/axis2/1_3/spring.html
(Feel free to email me offline as this is decidedly more 'Spring' related than Axis) Thanks/ Martin ----- Original Message ----- From: "robert lazarski" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, November 08, 2007 7:53 AM Subject: Re: Spring inside AAR - autoproxied transaction manager > This seems to be a common problem outside of axis2. Some quick > googling turned up lots of hits, including: > > http://forum.springframework.org/archive/index.php/t-11648.html > > Looks like you'll need to setup the class loader a bit - since you say > you already have spring working inside the aar, I presume you already > have a reference to it. Let us know if you need more help, we'll see > what we can do. > > HTH, > Robert > > On Nov 7, 2007 10:29 PM, Anthony Bull <[EMAIL PROTECTED]> wrote: > > Hi, having done a couple of services successfully with Spring inside the > > .aar, I was surprised today when I tried to get my web-service to deploy > > that features a Spring loaded web-service that has an auto-proxied > > transaction manager around one of its beans. > > > > I could not get this to run without having the spring.jar library under > > axis-2/WEB-INF/lib - it gives the following error, if the spring related > > classes (spring.jar, axis2-spring.jar) are only in my AAR files lib folder. > > > > interface org.springframework.aop.framework.Advised is not visible from > > class loader > > > > I've set my Spring based service up as per the docs on the Axis2 site, > > and have several other services running with Spring inside the AAR fine. > > I've also tried the exploded web service trick to no avail. > > > > Hash anyone else successfully setup a Spring based service that features > > an auto-proxied bean in it, without having to throw all the jars into > > the axis2/WEB-INF/lib folder? > > > > My other option is to get Spring to load the auto-proxied bean in the > > init() method of my service skeleton. > > > > cheers, > > Ants. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
