Hi,

In OSGi container, the good practice is that your war shouldn't embed jars, it 
should use bundles installed in the OSGi container. So I suggest you revise 
your war, remove embed axis jar, and use those from OSGi container, that said, 
you need OSGi-fy your war, take a look at [1] to get more details.

[1]http://karaf.apache.org/manual/2.2.10/users-guide/web-applications.html

-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-1-18, at 上午3:31, nvtd4000 wrote:

> I have a war file that embedded axis1.4 (axis stays inside war file). I have
> installed war file into SMX 4.4.1 and everything worked well. My war file
> was able to use axis to make web service call. 
> 
> Now, i have to install another axis1.4 into SMX beside the war file. Then
> the problem happens. Looks like the war file tried to use the outsider axis,
> not the embedded one. And that causes an error due to not able to create
> Service.
> 
> My question is how to force my war uses embedded axis not the outsider. 
> (sorry, i can not uninstall outsider axis because some other bundles have
> dependency on it)
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/servicemix-and-axis1-4-tp5715517.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to