Hi ,

Thank you for the suggestion. Actually my issue got resolved . The issue was
with the name of the servlet that I have defined in the web.xml file. 

When i gave the name of the servlet as *"CamelServlet"* , it worked. 

*/web.xml/*


        <listener>
        
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener>

        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>/WEB-INF/spring/camel-context.xml</param-value>
        </context-param>

        <servlet>
                <servlet-name>*CamelServlet*</servlet-name>
        
<servlet-class>org.apache.camel.component.servlet.CamelHttpTransportServlet</servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>

        <servlet-mapping>
                <servlet-name>*CamelServlet*</servlet-name>
                <url-pattern>/services/*</url-pattern>
        </servlet-mapping>




-----
Thanks & Regards
Elz
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-and-tomcat-tp5719942p5720096.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to