On 23/03/2020 14:02, Fritze, Florian wrote:
> Maybe I am making it too easy but if you or another tomcat developer could 
> prevent the newest Tomcat from throwing this exception: 
> 
> org.apache.catalina.core.StandardService.startInternal Failed to start 
> connector [Connector[AJP/1.3-8011]]
>       org.apache.catalina.LifecycleException: Der Start des 
> Protokoll-Handlers ist fehlgeschlagen
>               at 
> org.apache.catalina.connector.Connector.startInternal(Connector.java:1057)
>               at 
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>               at 
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:440)
>               at 
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>               at 
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
>               at 
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
>               at org.apache.catalina.startup.Catalina.start(Catalina.java:688)
>               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>               at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>               at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>               at java.lang.reflect.Method.invoke(Method.java:498)
>               at 
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
>               at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
>       Caused by: java.lang.IllegalArgumentException: The AJP Connector is 
> configured with secretRequired="true" but the secret attribute is either null 
> or "". This combination is not valid.
>               at 
> org.apache.coyote.ajp.AbstractAjpProtocol.start(AbstractAjpProtocol.java:274)
>               at 
> org.apache.catalina.connector.Connector.startInternal(Connector.java:1055)
>               ... 12 more
> 
> This could solve the problem for me: Please just let the tomcat run through 
> and do not let it check for the validation criterion.

Sorry, no.

Research indicated that a large number of Tomcat users were running an
AJP connector in an insecure configuration. The Tomcat team made a
deliberate choice to break those configurations and require users to
make configuration changes either to secure those configurations or to
explicitly allow the insecure ones.

Mark

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

Reply via email to