camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elezabeth <Elezabeth.greg...@ibsplc.com>
Subject Re: Camel and tomcat
Date Thu, 27 Sep 2012 08:26:56 GMT
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.

Mime
View raw message