Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
disabled ssl and added TODO item to README
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed Dec 10, 2010
1 parent 74c1325 commit e3be650
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tomcat/README.md
Expand Up @@ -33,6 +33,7 @@ Simply include the recipe where you want Tomcat installed.
TODO TODO
==== ====


* SSL support
* create a LWRP for deploying WAR files (file based and ) * create a LWRP for deploying WAR files (file based and )


License and Author License and Author
Expand Down
4 changes: 4 additions & 0 deletions tomcat/templates/default/server.xml.erb
Expand Up @@ -26,7 +26,9 @@
<Server port="8005" shutdown="SHUTDOWN"> <Server port="8005" shutdown="SHUTDOWN">


<!--APR library loader. Documentation at /docs/apr.html --> <!--APR library loader. Documentation at /docs/apr.html -->
<!--
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
-->
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" /> <Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs--> <!-- Prevent memory leaks due to use of particular java/javax APIs-->
Expand Down Expand Up @@ -85,9 +87,11 @@
This connector uses the JSSE configuration, when using APR, the This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration connector should be using the OpenSSL style configuration
described in the APR documentation --> described in the APR documentation -->
<!--
<Connector port="<%= node["tomcat"]["ssl_port"] %>" protocol="HTTP/1.1" SSLEnabled="true" <Connector port="<%= node["tomcat"]["ssl_port"] %>" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true" maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" /> clientAuth="false" sslProtocol="TLS" />
-->


<!-- Define an AJP 1.3 Connector on port <%= node["tomcat"]["ajp_port"] %> --> <!-- Define an AJP 1.3 Connector on port <%= node["tomcat"]["ajp_port"] %> -->
<Connector port="<%= node["tomcat"]["ajp_port"] %>" protocol="AJP/1.3" redirectPort="<%= node["tomcat"]["ssl_port"] %>" /> <Connector port="<%= node["tomcat"]["ajp_port"] %>" protocol="AJP/1.3" redirectPort="<%= node["tomcat"]["ssl_port"] %>" />
Expand Down

0 comments on commit e3be650

Please sign in to comment.