On 20/10/2022 17:59, Paquin, Brian wrote:
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?

No. That is for AJP connectors only.

If yes, where do I add it?

N/A.

If no, what else should I do?

Show us all the Connector elements in you server.xml file. Mask any sensitive information.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to