I guest you are using Spring Web Application context listener to watch the change of camel-config.xml. I think you need to make sure the Spring Application close rightly before redeploy the war again.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 13, 2014 at 4:22:29 PM, Royamit (amitroy...@gmail.com) wrote: > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:camel="http://camel.apache.org/schema/spring" > xmlns:cxf="http://camel.apache.org/schema/cxf" > xmlns:context="http://www.springframework.org/schema/context" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd"> > > > > location="classpath:incident.properties,file:target/custom.properties" > ignore-resource-not-found="true"/> > > > > > address="http://localhost:${proxy.port}/camel-example-cxf-proxy/webservices/versionAdapter" > > endpointName="s:VersionHttpSoap11Endpoint" > serviceName="s:Version" > wsdlURL="etc/versionAdapter.wsdl" > xmlns:s="http://axisversion.sample"/> > > > > > > > location="classpath:incident.properties,file:target/custom.properties"/> > > > uri="http://localhost:${real.port}/axis2/services/Version?throwExceptionOnFailure=false"/> > > > > > > > > > > > > > > > > > > > > > > > > Above is my camel-config.xml. Now my question is how can i shutdown camel > context from here > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Error-while-deploying-camel-proxy-in-tomcat-tp5758987p5759029.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >