portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1172055 - /portals/pluto/trunk/dist-build.xml
Date Sat, 17 Sep 2011 19:35:04 GMT
Author: ate
Date: Sat Sep 17 19:35:04 2011
New Revision: 1172055

URL: http://svn.apache.org/viewvc?rev=1172055&view=rev
Log:
PLUTO-611: Upgrade binary distribution to use latest Tomcat 7.0.21
See: http://issues.apache.org/jira/browse/PLUTO-611

Modified:
    portals/pluto/trunk/dist-build.xml

Modified: portals/pluto/trunk/dist-build.xml
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/dist-build.xml?rev=1172055&r1=1172054&r2=1172055&view=diff
==============================================================================
--- portals/pluto/trunk/dist-build.xml (original)
+++ portals/pluto/trunk/dist-build.xml Sat Sep 17 19:35:04 2011
@@ -44,8 +44,8 @@
 -->
 <project name="PlutoDistributions" default="bundle-dist">
 
-    <property name="tomcat.major.version" value="6" description="Major version of Tomcat
to deploy Pluto war files."/>
-    <property name="tomcat.full.version" value="6.0.26" description="Full version of Tomcat
to deploy Pluto war files."/>
+    <property name="tomcat.major.version" value="7" description="Major version of Tomcat
to deploy Pluto war files."/>
+    <property name="tomcat.full.version" value="7.0.21" description="Full version of Tomcat
to deploy Pluto war files."/>
 
     <xmlproperty file="pom.xml"/> <!-- picks up pluto build version from pom file
-->
     <property name="pluto.version" value="${project.version}" description="Version of
Pluto to build"/>
@@ -125,10 +125,11 @@
             </fileset>
         </copy>
 
-         <!-- Add emptySessionPath="true" to Connector element in server.xml -->
-		<replace file="${dist.dir}/conf/server.xml"
-			token="redirectPort=&quot;8443&quot; /&gt;" 
-			value="redirectPort=&quot;8443&quot; emptySessionPath=&quot;true&quot;
/&gt;" 
+         <!-- Add sessionCookiePath="/" to root Context in context.xml
+             (Tomcat 6.0.27+ replacement for emptySessionPath="true" attribute of Connector
element in server.xml) -->
+		<replace file="${dist.dir}/conf/context.xml"
+			token="&lt;Context&gt;" 
+			value="&lt;Context sessionCookiePath=&quot;/&quot;&gt;" 
 			summary="true"
 		/>
 		



Mime
View raw message