0
votes

I have a web application deployed in cloudfoundry, and now i want to change the default protocol used by tomcat by editing servelt.xml in my cloud deployment.

Does cloudfoundry allow you to alter servlet.xml ?

    <!--
<Connector port="8080" protocol="**HTTP/1.1**" 
           connectionTimeout="20000" 
           redirectPort="8443" />
           -->

<Connector connectionTimeout="20000" port="8080"   
   protocol="**org.apache.coyote.http11.Http11NioProtocol**" redirectPort="8443"/>
1

1 Answers

1
votes

If you want to configure Tomcat with HTTPS, you cannot. All SSL is terminated at the router, and internal traffic is HTTP.

You can make other changes to yourTomcat configuration by using Standalone Application: http://blog.cloudfoundry.org/2012/06/18/deploying-tomcat-7-using-the-standalone-framework/