Hi, > On 18/03/2023 10:43, Thomas Hoffmann (Speed4Trade GmbH) wrote: >> Hello, >> >>> -----Ursprüngliche Nachricht----- >>> Von: Kevin Huntly <kmhun...@gmail.com> >>> Gesendet: Samstag, 18. März 2023 11:10 >>> An: Tomcat Users List <users@tomcat.apache.org> >>> Betreff: Re: Unable to start application >>> >>> Here are the logs - >>> https://drive.google.com/file/d/1jBsNaW_bQJ4KcDSvucJ5QWo642He6bgb/view >>> ?usp=sharing >>> >>> The JDBC driver is located under /opt/mysql/, and I added that path to >>> catalina.properties under the common loader. I did try to move it into >>> ${catalina.home}/lib, this did not change anything. >>> ________________________________________________ >> >> >> This message looks strange: >> 18-Mar-2023 06:06:13.305 WARNING [main] >> org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with >> JAR file >> [/opt/Apache/Tomcat/apache-tomcat-9.0.73/lib/mysql-connector-j-8.0.32.jar], >> exists: [true], canRead: [false] >> >> It seems that it cant load the jdbc driver from that path. >> Could you download the jar again from the mysql website and replace it? >> Can you open/unpack the jar without errors? > > More likely a permissions problem. That warning is generated before > Tomcat tries loading the file. It means a call to java.io.File.canRead() > returned false. > > Mark
Since this is on RHEL, it could also be an SELinux problem where access to the JAR is denied. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org