tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Son <>
Subject Strange MySQL error when starting tomcat 8 on boot
Date Fri, 05 Aug 2016 21:19:05 GMT

I am currently running Tomcat 8 on RHEL 7.2 with one web application called
AppVet (A mobile Application  Vetting program).  The application works well
but when I tried to use a script to allow tomcat to start up at boot, the
webapp gives an authentication error. I saw the following error in the logs
for appvet:

[ERROR] Could not connect to database:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failure

The last packet sent successfully to the server was 0 milliseconds ago. The
driver has not received any packets from the server.
Make sure your MySQL password in your AppVetProperties.xml file is correct

I know for a fact that the MySQL password is correct in that XML file. I
double checked it already.  Any ideas on how I should fix this error?

This is the script that I am using for startup/shutdown of Tomcat8 on boot:



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message