diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-09-22 20:25:21 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-09-22 20:25:21 -0700 |
commit | 96c4b0fea8203a0520a42b56c468dc7f3ca49673 (patch) | |
tree | b12a0ce7fce0da67924114c5da79493169291314 /web/WEB-INF/web.xml | |
parent | 8b6dce760201677bb6a8eba37cabd87d826687ce (diff) |
Fixing tomcat config overrides.
Finally fixing config overrides. Found a bug? in restlet where the
Servlet context parameters aren't passed to the final application. I'm
working around the issue by creating my own component which builds the
config and shares it with the frontend and backend. Overall I think it's
a much more elegant solution.
Now we have the ability to specify an external config file for the F1
credentials and the ability configure different domains in different
tomcat containers.
Diffstat (limited to 'web/WEB-INF/web.xml')
-rw-r--r-- | web/WEB-INF/web.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 758b004..4b85bde 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -14,6 +14,10 @@ <servlet-class> org.restlet.ext.servlet.ServerServlet </servlet-class> + <init-param> + <param-name>org.restlet.component</param-name> + <param-value>com.p4square.grow.GrowProcessComponent</param-value> + </init-param> </servlet> <!-- Catch all requests --> |