This is an automated email from the ASF dual-hosted git repository.

jasonhuynh pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 74185bf  GEODE-4999: Added tomcat 8.5 directory for tcserver support 
(#1762)
74185bf is described below

commit 74185bf07a8f9dd88dc2de53a3c560d37bfa7497
Author: Jason Huynh <huyn...@gmail.com>
AuthorDate: Tue Apr 10 13:33:51 2018 -0700

    GEODE-4999: Added tomcat 8.5 directory for tcserver support (#1762)
---
 extensions/geode-modules-assembly/build.gradle            | 12 ++++++++++++
 .../tcserver/geode-cs-tomcat-85/context-fragment.xml      | 15 +++++++++++++++
 .../tcserver/geode-p2p-tomcat-85/context-fragment.xml     | 15 +++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/extensions/geode-modules-assembly/build.gradle 
b/extensions/geode-modules-assembly/build.gradle
index 59398ce..ff12c9d 100644
--- a/extensions/geode-modules-assembly/build.gradle
+++ b/extensions/geode-modules-assembly/build.gradle
@@ -128,11 +128,23 @@ def configureTcServer30Assembly = {
     }
   }
 
+  into('geode-cs-tomcat-85/conf') {
+    from('release/tcserver/geode-cs-tomcat-85') {
+      include 'context-fragment.xml'
+    }
+  }
+
   into('geode-p2p-tomcat-8/conf') {
     from('release/tcserver/geode-p2p-tomcat-8') {
       include 'context-fragment.xml'
     }
   }
+
+  into('geode-p2p-tomcat-85/conf') {
+    from('release/tcserver/geode-p2p-tomcat-85') {
+      include 'context-fragment.xml'
+    }
+  }
 }
 
 task distTomcat(type: Zip, dependsOn: ':extensions/geode-modules:assemble') {
diff --git 
a/extensions/geode-modules-assembly/release/tcserver/geode-cs-tomcat-85/context-fragment.xml
 
b/extensions/geode-modules-assembly/release/tcserver/geode-cs-tomcat-85/context-fragment.xml
new file mode 100644
index 0000000..c8ff83d
--- /dev/null
+++ 
b/extensions/geode-modules-assembly/release/tcserver/geode-cs-tomcat-85/context-fragment.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context>
+
+    <remove:Manager 
className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>
+
+    <add:Manager 
className="org.apache.geode.modules.session.catalina.Tomcat8DeltaSessionManager"
+      enableDebugListener="${enable.debug.listener:false}"
+      enableGatewayReplication="${enable.gateway.replication:false}"
+      enableLocalCache="${enable.local.cache:true}"
+      enableCommitValve="${enable.commit.valve:true}"
+      preferDeserializedForm="${prefer.deserialized.form:true}"
+      regionAttributesId="${region.attributes.id:PARTITION_REDUNDANT}"
+      regionName="${region.name:gemfire_modules_sessions}"/>
+
+</Context>
diff --git 
a/extensions/geode-modules-assembly/release/tcserver/geode-p2p-tomcat-85/context-fragment.xml
 
b/extensions/geode-modules-assembly/release/tcserver/geode-p2p-tomcat-85/context-fragment.xml
new file mode 100644
index 0000000..48bfcbb
--- /dev/null
+++ 
b/extensions/geode-modules-assembly/release/tcserver/geode-p2p-tomcat-85/context-fragment.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context>
+
+    <remove:Manager 
className="org.apache.geode.modules.session.catalina.Tomcat6DeltaSessionManager"/>
+
+    <add:Manager 
className="org.apache.geode.modules.session.catalina.Tomcat8DeltaSessionManager"
+      enableDebugListener="${enable.debug.listener:false}"
+      enableGatewayReplication="${enable.gateway.replication:false}"
+      enableLocalCache="${enable.local.cache:false}"
+      enableCommitValve="${enable.commit.valve:true}"
+      preferDeserializedForm="${prefer.deserialized.form:true}"
+      regionAttributesId="${region.attributes.id:REPLICATE}"
+      regionName="${region.name:gemfire_modules_sessions}"/>
+
+</Context>

-- 
To stop receiving notification emails like this one, please contact
jasonhu...@apache.org.

Reply via email to