camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfaath <>
Subject Re: Deploying as web app with jetty endpoint
Date Thu, 08 Apr 2010 20:29:27 GMT

This is exactly like what I was looking for.  However, I tried out the simple
example defined in the link you provided and I keep getting this error:

SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException:
Cannot find the deployed servlet, please configure the ServletComponent or
configure a org.apache.camel.component.servlet.CamelHttpTransportServlet
servlet in web.xml 

which appears to happen when the route is being read.  Any ideas?

willem.jiang wrote:
> Hi,
> If you don't want start the jetty engine, you can try to use the 
> camel-servlet[1] component.
> [1]
> Willem
> jfaath wrote:
>> I've deployed my camel app as a web application in tomcat.  Works great. 
>> The
>> main starting point for my route is an http server endpoint using
>> camel-jetty.  So, it seems weird to me that tomcat starts and then starts
>> a
>> jetty instance.  Is there any way to use the actual tomcat instance for
>> this
>> endpoint?  Does this make any sense?
>> Regards,
>> JF

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message