KnowageLabs / Knowage-Server-Docker

Docker Image packaging for Knowage Server https://www.knowage-suite.com
GNU Affero General Public License v3.0
66 stars 77 forks source link

data source cache_ds is not correctly configured, cause "Unable to load data from dataset" error in widgets using REST datasets #40

Closed agaldemas closed 3 years ago

agaldemas commented 3 years ago

the default cache data source (cache_ds) is configured with jndi, and is not working after installation then it causes to have errors with REST datasets ("Unable to load data from dataset <ds name> Please check dataset & widget config" error in widgets using any REST dataset

I fixed the issue by configuring cache_ds using jdbc connection with the knowage db.

But the tomcat JNDI configuration should be aligned, with the jndi conf (java:comp/env/jdbc/cache_ds) from the database initial population

kerny3d commented 3 years ago

Fixed in:

https://github.com/KnowageLabs/Knowage-Server-Docker/commit/ba8358f7c4f37814755c1b23c2e558fa7bbbec2b

I've also updated the docker-compose.yml and docker-swarm.yml descriptors if you want an example