You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/07/26 11:18:35 UTC

[jira] [Commented] (CAMEL-5454) camel-example-gae silently fails (needs updates to use latest CamelHttpTransportServlet)

    [ https://issues.apache.org/jira/browse/CAMEL-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422976#comment-13422976 ] 

Willem Jiang commented on CAMEL-5454:
-------------------------------------

I just committed a fix camel context loading issue of camel-example-gae. It also fix a log issue of camel-exmple-gae.
When I tested the example on the GAE, I found there is another issue of GAE task. I will try to fix it shortly.
                
> camel-example-gae silently fails (needs updates to use latest CamelHttpTransportServlet)
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5454
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5454
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.10.0
>         Environment: All
>            Reporter: Jayson Raymond
>            Assignee: Willem Jiang
>
> Example silently fails.
> It depends on CamelHttpTransportServlet which appears to have changed at 2.7 -  Spring context initializing RouteBuilder is never read.
> Following steps were taken in 2.10 to get example to function again:
> 1) web.xml: needs CamelHttpTransportServlet configuration as it is on http://camel.apache.org/servlet-tomcat-example.html including adding Spring ContextLoaderListener.
> 2) pom.xml: Needs the following dependency added to access Spring ContextLoaderListener:
>         <!-- we need spring web to read context -->
>         <dependency>
>             <groupId>org.springframework</groupId>
>             <artifactId>spring-web</artifactId>
>             <version>3.0.7.RELEASE</version>
>         </dependency>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira