Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hello guys,

I have seen this error in different flavours in the forum. My case is a little different let me explain:

I just run the docker-container from your github, I then add a dataset in the form of a CSV file (I also checked Persist file).

I then go into the Cockpit and then when I try to add a widget I get the error.

What's the solution in this case?
in Data Set by (160 points)

1 Answer

0 votes

You should show your knowage.log info.

You can try configuration like this .

In conf/server.xml

add:

<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/ds_cache" type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/cachedb" username="root" password="root" />

add datasource :

label:CacheDS

JNDI:java:comp/env/jdbc/ds_cache

Selected Write Default

by (2.2k points)
Hello there,

I have followed all your steps from a blank installation and it didn't solve the problem.

I have looked quickly into the logs but I don't see anything obviously suspicious.

Let me know if and what type of logs do you need.

Cheers.
...