Valdis Rigdon <vrigdon <at> ekosystems.com> writes:

> 
> This is is a patch for a simple refactor of ServerServlet, breaking up 
> getServer() into three methods -- (1) the original getServer(), (2) one 
> to create the HttpServerHelper, and (3) one to create the Application.  
> No functionality has been changed; in my application I need to override 
> the mechanism for creating an Application to load it from a Spring 
> ApplicationContext as opposed to using reflection.  This patch gives me 
> that extension point easier than trying to override the entire 
> getServer() method.


Hello Valdis,
I am trying something probably that you have already worked on. I am using your
patched code for ServerServlet. I am trying to deploy Rest into webapplication,
with my Restlets wired in Spring XML. The Jetty starts ok, but whenever I try to
access the Rest URL, I always get component.getDefaultHost() NULL! It is
returning null :(
I have wasted few hours behind this, maybe I am doing something really silly.
Can you please guide me, any help would be appreciated.
thanks,
-shlok

Reply via email to