When trying to manually configure Tomcat 10 (Apache Tomcat/10.1.8) for ARD 3.5, seeing the below errors
Caused by: java.lang.IllegalArgumentException:%TOMCAT_HOME%\conf\self-cert (The system cannot find the file specified)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:106)
at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:70)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:207)
at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1256)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1269)
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@59b38691]
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:878)
%TOMCAT_HOME%\webapps\ok] is not a directory or war file, or is not readable (it does not exist or permissions to access it are missing)
at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:707)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 28 more
ARD 3.5 and Tomcat 10
1. In server.xml file, if Tomcat is configured to use SSL/TLS with a self-signed certificate, this usually occurs due to an incorrect file path or permissions issue. Confirm that the password provided for the keystore in server.xml is correct. An incorrect password will prevent Tomcat from accessing the certificate.
2. In Server.xml, Webapps section had auto deploy and unpackWars set to false
Edit the server.xml file at %TOMCAT_HOME%\conf and modify the certificate location and password
1.
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/ardCert.jks" certificateKeystorePassword="password" />
</SSLHostConfig>
</Connector>
2.
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">