Hi, Marco. Is this a ThingWorx Analytics server? Is it a new install or one that worked in the past and is just now failing?
Attach the application log(s) and we'll see if there are other errors reported. Similar reports of that
org.hibernate.exception.GenericJDBCException: Could not open connection
error are related to this article; see if that can help you out.
-- Craig A.