geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject geode git commit: GEODE-2194: Fix pulse webapp context
Date Thu, 12 Jan 2017 23:27:54 GMT
Repository: geode
Updated Branches:
  refs/heads/develop 9081128bb -> a4f38f33a


GEODE-2194: Fix pulse webapp context

* this closes #336


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/a4f38f33
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/a4f38f33
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/a4f38f33

Branch: refs/heads/develop
Commit: a4f38f33a7724653fa878e5c05170cdde6676c79
Parents: 9081128
Author: Jared Stewart <jstewart@pivotal.io>
Authored: Thu Jan 12 15:14:17 2017 -0800
Committer: Jinmei Liao <jiliao@pivotal.io>
Committed: Thu Jan 12 15:27:18 2017 -0800

----------------------------------------------------------------------
 geode-pulse/src/main/webapp/WEB-INF/web.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/a4f38f33/geode-pulse/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/geode-pulse/src/main/webapp/WEB-INF/web.xml b/geode-pulse/src/main/webapp/WEB-INF/web.xml
index d0b10c0..8aa78d7 100644
--- a/geode-pulse/src/main/webapp/WEB-INF/web.xml
+++ b/geode-pulse/src/main/webapp/WEB-INF/web.xml
@@ -32,7 +32,10 @@
   </servlet>
   <servlet-mapping>
     <servlet-name>mvc-dispatcher</servlet-name>
-    <url-pattern>/pulse/*</url-pattern>
+    <url-pattern>/</url-pattern>
+    <!-- We expect Pulse to receive requests to URLs like /pulse/pulseVersion, but Jetty
will match /pulse/
+    to the web app context for this WAR and only pass /pulseVersion into the servlet configured
with this <url-pattern/>
+  -->
   </servlet-mapping>
   <listener>
     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>


Mime
View raw message