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]

Reply via email to