We're updating the issue view to help you get more done. 

Starting Tomcat 7 with Cargo logs warning on emptySessionPath

Description

When starting a Tomcat 7 container in Cargo a warning [1] is logged as Cargo sets sets the property emptySessionPath in server.xml [2] that no longer exists in Tomcat 7.

Steps to reproduce:
1) Create the cargo-archetype-webapp-single-module archetype [3]
2) Update the tomcat6x profile to tomcat7x and use as zip URL
http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.53/bin/apache-tomcat-7.0.53.zip
3) run mvn clean verify -P tomcat7x

[1] Warning:
[WARNING] [talledLocalContainer] WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'emptySessionPath' to 'true' did not find a matching property.

[2] In server.xml:
<Connector SSLEnabled="false" URIEncoding="ISO-8859-1" connectionTimeout="20000" emptySessionPath="true" port="8080" protocol="HTTP/1.1" redirectPort="8443" scheme="http" secure="false"/>

[3] mvn archetype:generate -DarchetypeGroupId=org.codehaus.cargo-DarchetypeArtifactId=cargo-archetype-webapp-single-module -DarchetypeVersion=1.4.8

Status

Assignee

Savas Ali Tokmen

Reporter

AJ Banck

Components

Fix versions

Affects versions

1.4.8

Priority

Major