Hello,

In some cases, I use mod_jk and I am able to have Apache send a “secret” to my 
Tomcat Connector.
But in other cases, I don’t have a front end – I just use Tomcat 9.0.68 (with 
Tomcat Native 1.2.35) to host.
In the past, I did not need to provide a “secret”, but now it appears I do 
since I get the following error in Catalina.out:


java.lang.IllegalArgumentException: The AJP Connector is configured with 
secretRequired="true" but the secret attribute is either null or "". This 
combination is not valid.

I have modified the connector in my server.xml for Tomcat to include an address 
(server IP) and secret, or try secretRequired=”false”, but the error still 
persists.
Am I correct that I also need to add the “secret” to Tomcat Native?
If yes, where do I add it?
If no, what else should I do?

Thank you for your time,

Brian

Reply via email to