On 2/4/2016 10:52 AM, Bill Kelm wrote:
Not sure if anyone has seen this before, whenever we go to configure the SSL connector and set the connector port to 8443, on tomcat startup they are getting rewritten to another random port. So we will have: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="8443" /> <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" keystoreFile="/etc/tomcat7/keystore" keystorePass="xxxxx" clientAuth="false" sslProtocol="TLS" /> and I end up with this in the server.xml file on startup: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="13043" /> <Connector port="13043" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" keystoreFile="/etc/tomcat7/keystore" keystorePass="xxxxx" clientAuth="false" sslProtocol="TLS" /> Thanks for any thoughts.
Are you running a distribution provided version of Tomcat? It looks to me like there's a startup script that's reading something like /etc/sysconfig and re-writing server.xml on the fly. You need to dig into the startup script.
Bill K.
-- George Sexton *MH Software, Inc.* Voice: 303 438 9585 http://www.mhsoftware.com