After following the steps given in the README of the open source tool provided by Jaguards, I always get the "Database configured incorrectly" warning icon, and can't manage to login with the default credentials, or worse, a "checkDB error : com.google.gwt.user.client.rpc.StatusCodeException: 500 The call failed on the server; see server log for details" popup.
Steps followed :
- Install a tomcat server, and load the war file
- Install a mysql server (also tried a mariadb server) and init the database with jaguards-4.0.sql
- Changed the database user's password in config file (user and db named "jaguards_gwt" so it matches with default config)
Database configuration : 8.0.31 MySQL Community Server - GPL
Tried on Ubuntu Server 22.04 and Debian, does not work on both.
Looking at the logs in /opt/tomcat/logs/catalina.out :
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
I managed to get rid of the warning by including the latest connector, but still cannot login.
Any idea ?
UPDATE
- Browser console gives the following : "Failed to load resource: the server responded with a status of 404 ()
0.js:1777 Uncaught zp
0.js:2418 POST http://srvjaguards:8080/jaguards-4/gwtRequest 404"