From 96c4b0fea8203a0520a42b56c468dc7f3ca49673 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sun, 22 Sep 2013 20:25:21 -0700 Subject: 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. --- web/META-INF/context.xml | 2 +- web/WEB-INF/restlet.xml | 20 -------------------- web/WEB-INF/web.xml | 4 ++++ 3 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 web/WEB-INF/restlet.xml (limited to 'web') diff --git a/web/META-INF/context.xml b/web/META-INF/context.xml index 24744f5..c8a8f07 100644 --- a/web/META-INF/context.xml +++ b/web/META-INF/context.xml @@ -1,4 +1,4 @@ - + diff --git a/web/WEB-INF/restlet.xml b/web/WEB-INF/restlet.xml deleted file mode 100644 index 67ee36d..0000000 --- a/web/WEB-INF/restlet.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 @@ org.restlet.ext.servlet.ServerServlet + + org.restlet.component + com.p4square.grow.GrowProcessComponent + -- cgit v1.2.3