This is a Warbler question and I couldn’t find a place for just Warbler
questions, so I’m asking here (please tell me where I should post if
this is the wrong place).
I have successfully used Warbler to deploy a Merb app. into Websphere -
however, I don’t seem to be able to get the context root of the
Websphere containter to be honored.
So my app. is named “merb_test”, and when I request
http://localhost:8080/merb_test/, instead of getting the default root
route result, I get an error that says that the controller “merb_test”
is not found. Clearly the Merb app. is attempting to serve up
“/merb_test” instead of “/”.
I created a custom web.xml file in MERB_ROOT/config, and I set the
“public.root” param to be “/merb_test”. I thought for sure that this
would fix it, but it doesn’t seem to help.
Is there something in the warble.rb file that I should be setting
perhaps? Or is “public.root” not the correct context-param to set?
I’ll start reading the source to the servlet next.
Here is my web.xml file:rails.env production public.root /merb_test RackFilter org.jruby.rack.RackFilter RackFilter /*
To unsubscribe from this list, please visit: