tomcat axis2 shared libs and spring destroy-method problem
Posted
by EugeneP
on Stack Overflow
See other posts from Stack Overflow
or by EugeneP
Published on 2010-05-23T15:52:31Z
Indexed on
2010/05/23
16:01 UTC
Read the original article
Hit count: 426
in tomcat\lib there are axis*, axis2* jars.
I cannot delete them [sysadmin won't allow to do that].
My web-app invokes web-services.
I put Jax-ws jars directly to myapp/web-inf/lib. so inner calls frow a web app servlets use jax-ws libraries.
but since "destroy-method" of the bean invokes a web-service, and session is destroyed, then spring makes a service call through tomcat/lib/* = axis2 libraries, and not by using web-inf/lib/jax-ws*
How to:
a) while not deleting axis2 libs from shared tomcat folder b) make spring use jax-ws libraries to make a web-service call ?
© Stack Overflow or respective owner