camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: StackOverflowError when using restlet component with relative path
Date Mon, 05 Nov 2012 16:05:00 GMT
On Mon, Nov 5, 2012 at 11:41 AM, massyl <massil.nait@gmail.com> wrote:
> Hi Claus,
> i'm using camel 2.10.0 and restlet 2.1-M7, but i've tried camel 2.10.2 and
> all restlet version from 2.0  up to 2.1-M7.
> this problem arise when we use SpringServerServlet (that extends
> ServerServlet), there is a method init(Component) that adds an entry to deal
> with war protocol and then causes deap recusion to find resources
> (restlet.xml).
> The java doc of ServerServlet states that there is 3 modes of configuration
> and when we use second option (2) then :
> The "/WEB-INF/web.xml" file contains a parameter named
> "org.restlet.component" that gives the class of the component to use. with
> SpringServerServlet this component is looked up from the applciaitonContext
> and this is true and the component is found. but after this look up there is
> a call to init(Component) inside ServerServlet that causes a search for
> restlet.xml and this is why i get StackOverFlowError.
>

Is this an issue in Restlet? Then you can report it to them so they
can help / fix this.


> Cheers
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/StackOverflowError-when-using-restlet-component-with-relative-path-tp5722101p5722134.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message