Problem with camel-example-spring-ws example provided in extras folder shipped with Fuse distribution.
Issue
- User is trying to run the example
${karaf.home}extras\apache-camel-2.15.1.redhat-620133\examples\camel-example-spring-wsonWindows 7system, user got some problems. -
Here is what user did by following README and more:
- run
mvn clean install-- Build Success - copy the .war file from ../target to
webapps - start Tomcat
- run
mvn jetty:run-- build failure.
- run
-
According to the error from the result
ERROR MessageDispatcherServlet - Context initialization failed
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 36 in XML document from ServletContext resource [/WEB-INF/spring-ws-servlet.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 36; columnNumber: 45; cvc-complex-type.3.2.2: Attribute 'local' is not allowed to appear in element 'ref'."
- User modified ../src/main/webapp/WEB-INF/spring-ws-servlet.xml file from
<ref local="validatingInterceptor"/>
<ref local="loggingInterceptor"/>
- to
<ref bean="validatingInterceptor"/>
<ref bean="loggingInterceptor"/>
- And user re-run the steps descriped above (plus stop
Tomcat, delete the oldwarfile, startTomcat), still there is problem.
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
