You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2017/01/12 23:27:54 UTC
geode git commit: GEODE-2194: Fix pulse webapp context
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 <js...@pivotal.io>
Authored: Thu Jan 12 15:14:17 2017 -0800
Committer: Jinmei Liao <ji...@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>