Hi Team,
I am using below configuration in server.xml for tomcat
<Connector port="8010" protocol="org.apache.coyote.ajp.AjpNioProtocol"
secretRequired="false" secure="false" address="127.0.0.1"
tomcatAuthentication="false" enableLookups="false"
maxPostSize="-1" maxSavePostSize="8388608" maxParameterCount="-1"
useBodyEncodingForURI="true" URIEncoding="UTF-8" backlog="100"
packetSize="8192"
maxThreads="320" minSpareThreads="8"/>
but I got below exception in start up time
2020-02-27 17:59:57,524 ERROR [Servlet engine main]
org.apache.catalina.core.StandardService - Failed to start connector
[Connector[AJP/1.3-8010]]
org.apache.catalina.LifecycleException: Protocol handler start failed
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 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 com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:495)
at com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:439)
at
com.ptc.tomcat.embedded.Bootstrap.lambda$new$0(Bootstrap.java:167)
at java.lang.Thread.run(Thread.java:748)
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)
... 19 more
Please let me know what should I put to fix the issue, it will be very helpful
for me.
I am stuck because of the above issue, we are using Apache and tomcat for
serving the request.
Let me know if anything else required from my side.
Thanks and Regards,
Rajendra Rathore
9922701491