I did not use the OS package manager. I downloaded the from apache tomcat and unpacked manually.
Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -----Original Message----- From: Martin Grigorov <mgrigo...@apache.org> Sent: Thursday, September 17, 2020 8:50 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: tomcat warnings. [EXTERNAL] ** CAUTION: External message On Thu, Sep 17, 2020, 16:07 Beard, Shawn <sbe...@wrberkley.com.invalid> wrote: > Yes its 9.0.31.0 > The last 0 makes me think that you have installed Tomcat by using your OS package manager. Try with stock Tomcat downloaded from Apache servers. > [mwuser@usilg01-tcd003 ~]$ ./version.sh > Using CATALINA_BASE: /path/to/catalina_base > Using CATALINA_HOME: /path/to/catalina_home > Using CATALINA_TMPDIR: /path/to/catalina_base/temp > Using JRE_HOME: / > Using CLASSPATH: /path/to/catalina_base > /bin/bootstrap.jar:/usr/apache/tomcat/tomcat-current/bin/tomcat-juli.j > ar > Server version: Apache Tomcat/9.0.31 > Server built: Feb 5 2020 19:32:12 UTC > Server number: 9.0.31.0 > OS Name: Linux > OS Version: 3.10.0-957.21.3.el7.x86_64 > Architecture: amd64 > JVM Version: 1.8.0_212-b04 > JVM Vendor: Oracle Corporation > > I do have 3 connectors, one of them is the AJP connector, could the > warning be coming from them? > Remove the problematic attributes from each connector one by one and see when the warnings will disappear. > Below is all 3 connectors: > > <Connector port="9080" protocol="HTTP/1.1" > connectionTimeout="20000" > Server=" " > maxHttpHeaderSize="8192" > maxThreads="500" > minSpareThreads="30" > enableLookups="false" > disableUploadTimeout="true" > acceptCount="150" > redirectPort="9443" > > > compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf" > compression="on" > compressionMinSize="2048" > noCompressionUserAgents="gozilla,traviata" /> > > <Connector port="9443" > protocol="org.apache.coyote.http11.Http11Nio2Protocol" > connectionTimeout="20000" > Server=" " > maxHttpHeaderSize="8192" > maxThreads="500" > minSpareThreads="30" > enableLookups="false" > disableUploadTimeout="true" > acceptCount="150" > scheme="https" > secure="true" > SSLEnabled="true" > sslEnabledProtocols="+TLSv1.2" > keystoreFile="/path/to/tuststore/TomcatTrustStore.p12" > truststoreFile="/path/to/keystore/TomcatTrustStore.p12" > keystorePass="XXXXXXX" > truststorePass="XXXXXX" > > ciphers="TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA" > > > compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf" > compression="on" > compressionMinSize="2048" > noCompressionUserAgents="gozilla,traviata" /> > > <Connector port="8009" protocol="AJP/1.3" > address="hostname" > secretRequired="false" > connectionTimeout="20000" > server=" " > maxHttpHeaderSize="8192" > maxThreads="500" > minSpareThreads="30" > enableLookups="false" > disableUploadTimeout="true" > acceptCount="150" > redirectPort="9443" > scheme="https" > secure="true" > > > compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf" > compression="on" > compressionMinSize="2048" > noCompressionUserAgents="gozilla,traviata" /> > > > > Shawn Beard > Sr. Systems Engineer > BTS > +1-515-564-2528 > > -----Original Message----- > From: Mark Thomas <ma...@apache.org> > Sent: Thursday, September 17, 2020 3:19 AM > To: users@tomcat.apache.org > Subject: Re: tomcat warnings. [EXTERNAL] > > ** CAUTION: External message > > > On 16/09/2020 20:45, Beard, Shawn wrote: > > <Connector port="9081" > > protocol="HTTP/1.1" > > connectionTimeout="20000" > > Server=" " > > maxHttpHeaderSize="8192" > > maxThreads="500" > > minSpareThreads="30" > > enableLookups="false" > > disableUploadTimeout="true" > > acceptCount="150" > > redirectPort="9444" > > > compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf" > > compression="on" > > compressionMinSize="2048" > > noCompressionUserAgents="gozilla,traviata" /> > > I've added that exact configuration (copy and paste) to clean builds > of 10.0.x, 9.0.x and 9.0.31 and I don't see the errors you are seeing. > > Are you sure you are running 9.0.31? > > Have you tested this with a clean 9.0.31 install downloaded from > tomcat.apache.org? > > Mark > > > > > > > > > > Shawn Beard > > Sr. Systems Engineer > > BTS > > +1-515-564-2528 > > > > -----Original Message----- > > From: Mark Thomas <ma...@apache.org> > > Sent: Wednesday, September 16, 2020 2:40 PM > > To: users@tomcat.apache.org > > Subject: Re: tomcat warnings. [EXTERNAL] > > > > ** CAUTION: External message > > > > > > On 16/09/2020 19:46, Beard, Shawn wrote: > >> I’m getting these in the log: > >> > >> > >> > >> 16-Sep-2020 14:39:42.909 WARNING [main] > >> org.apache.catalina.startup.SetAllPropertiesRule.begin > >> [SetAllPropertiesRule]{Server/Service/Connector} Setting property > >> 'compressibleMimeType' to > >> > 'text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf' > >> did not find a matching property. > >> > >> 16-Sep-2020 14:39:42.909 WARNING [main] > >> org.apache.catalina.startup.SetAllPropertiesRule.begin > >> [SetAllPropertiesRule]{Server/Service/Connector} Setting property > >> 'compression' to 'on' did not find a matching property. > >> > >> 16-Sep-2020 14:39:42.909 WARNING [main] > >> org.apache.catalina.startup.SetAllPropertiesRule.begin > >> [SetAllPropertiesRule]{Server/Service/Connector} Setting property > >> 'compressionMinSize' to '2048' did not find a matching property. > >> > >> 16-Sep-2020 14:39:42.909 WARNING [main] > >> org.apache.catalina.startup.SetAllPropertiesRule.begin > >> [SetAllPropertiesRule]{Server/Service/Connector} Setting property > >> 'noCompressionUserAgents' to 'gozilla,traviata' did not find a > >> matching property. > >> > >> > >> > >> I’m running Tomcat 9.0.31. > >> > >> > >> > >> According to documentation these are valid connector attributes/ > >> > >> https://urldefense.com/v3/__https://tomcat.apache.org/tomcat-9.0-do > >> c/ > >> c > >> onfig/http.html__;!!Li8W9_Um1Taa!tE5GafpOhFxZJTxhrvKgtQvRPdfMY04jnC > >> LV > >> E > >> GdwcPdOT4zoevjuCwYb1Yrbu8i-$ > >> > >> > >> > >> Here is what is in the connector. Any ideas? > > > > Full connector configuration please. > > > > Mark > > > > > >> > >> > >> > >> > compressibleMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/xml,application/x-javascript,application/javascript,application/x-font-woff,application/font-woff,application/pdf" > >> > >> compression="on" > >> > >> compressionMinSize="2048" > >> > >> noCompressionUserAgents="gozilla,traviata" > >> > >> > >> > >> > >> > >> CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents > >> contain private, privileged and confidential information belonging > >> to the sender. The information therein is solely for the use of the > >> addressee. If your receipt of this transmission has occurred as the > >> result of an error, please immediately notify us so we can arrange > >> for the return of the documents. In such circumstances, you are > >> advised that you may not disclose, copy, distribute or take any > >> other action in reliance on the information transmitted. > >> > >> ** > >> > >> *Shawn Beard • Sr. Systems Engineer Middleware Engineering* > >> > >> ** > >> > >> > >> > >> * > >> 3840 109th Street Urbandale, IA 50322 > >> Phone: +1-515-564-2528 > >> Email: sbe...@wrberkley.com > >> Website: berkleytechnologyservices.com > >> <https://www.berkleytechnologyservices.com/>***** > >> > >> */Technology Leadership Unleashing Business Potential/* > >> > >> > > > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents > contain private, privileged and confidential information belonging to > the sender. The information therein is solely for the use of the > addressee. If your receipt of this transmission has occurred as the > result of an error, please immediately notify us so we can arrange for > the return of the documents. In such circumstances, you are advised > that you may not disclose, copy, distribute or take any other action > in reliance on the information transmitted. > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents > contain private, privileged and confidential information belonging to the > sender. > The information therein is solely for the use of the addressee. If > your receipt of this transmission has occurred as the result of an > error, please immediately notify us so we can arrange for the return > of the documents. In such circumstances, you are advised that you may > not disclose, copy, distribute or take any other action in reliance on > the information transmitted. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain private, privileged and confidential information belonging to the sender. The information therein is solely for the use of the addressee. If your receipt of this transmission has occurred as the result of an error, please immediately notify us so we can arrange for the return of the documents. In such circumstances, you are advised that you may not disclose, copy, distribute or take any other action in reliance on the information transmitted.