Symptom

When adding a Runtime or a Log Database in Analytics, the following error occurs: "Connection to the data source could not be established - Reason : Could not connect to the data source".

Solution

Install the JDBC drivers for the Runtime log database, into the <STAMBIA_WEBAPP_HOME>/jdbc directory:

[~/analytics_webapp_home/]# ls -l
internal
jdbc
navigator
repositories
stambia.logs
temp
users

Reminder: the analytics's webapp home depends on your Application Server installation. This location can be controlled with the STAMBIA_WEBAPP_HOME environment variable. It is different from the webapp installation directory inside your application server (which contains META-INF and WEB-INF folders).