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.

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.

Reply via email to