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

Support HTTPS protocol for standalone Tomcat 5.x

Description

The Cargo Maven 2 plugin does not support https for Tomcat 5.x. Using the following configuration

<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>0.2-SNAPSHOT</version>
<configuration>
<container>
<containerId>tomcat5x</containerId>
<home>c:/java/apache-tomcat-5.5.15</home>
</container>
<configuration>
<dir>${project.build.directory}/tomcat</dir>
<properties>
<cargo.servlet.port>443</cargo.servlet.port>
<cargo.protocol>https</cargo.protocol>
</properties>
</configuration>
</configuration>
</plugin>

produces the following Connector in server.xml:

<Connector port="443"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
debug="2"/-->

Comparing it to the one from Tomcat 5.5.15, it's missing:
scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"

References

Status

Assignee

Vincent Massol

Reporter

Wendy Smoak

Components

Fix versions

Affects versions

0.7

Priority

Major