How to deploy War file in Fuse ESB
I have developed a webservice using Apache CXF and deployed it on Apache
Tomcat and its working fine.
Now i required to deploy it on Jboss Fuse. I tried to deploy it by copying
in deploy folder but not able to get ?wsdl and found following error in
fuse.log
16:28:49,889 | ERROR | Executor: 1 | ContextLoader | 174 -
org.springframework.web - 3.1.3.RELEASE | Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from ServletContext resource
[/WEB-INF/cxf-beans.xml]; nested exception is
org.springframework.beans.FatalBeanException: Class
[org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace
[http://cxf.apache.org/jaxws] does not implement the
[org.springframework.beans.factory.xml.NamespaceHandler] interface at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)[105:org.springframework.beans:3.1.3.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[105:org.springframework.beans:3.1.3.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[105:org.springframework.beans:3.1.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[105:org.springframework.beans:3.1.3.RELEASE]
Please guide how i can deploy it on Fuse and what kind of configuration
changes required.
Regards, imran
No comments:
Post a Comment