Symptoms
One or more SQL macros return the following error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused)
Cause
The data source configuration is unable to attach itself to the specified database because of an invalid port.
Resolution
Ensure that the database is listening to the requested port, and verify the port configurations on server.xml and database.