AnsweredAssumed Answered

NullpointerException in activiti-app log

Question asked by tanchinsheng on Oct 12, 2017

This is the first time I am installing activiti-app.war. I turned on logging with DEBUG mode. I noticed that several exceptions thrown at the database access layer.

E.g. 
1) 2017-10-12 04:15:37 DEBUG BasicResourcePool:1747 - trace com.mchange.v2.resourcepool.BasicResourcePool@739eaab4 [managed: 10, unused: 6, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@659b0247)
2017-10-12 04:15:37 DEBUG SqlUtils:111 - Converting Throwable to SQLException...
java.lang.NullPointerException

2) 2017-10-12 04:20:45 DEBUG AbstractPoolBackedDataSource:477 - com.mchange.v2.c3p0.ComboPooledDataSource@109c2d00 has been closed. 
java.lang.Exception: DEBUG STACK TRACE for PoolBackedDataSource.close().

3) 2017-10-12 04:20:45 DEBUG NewPooledConnection:646 - com.mchange.v2.c3p0.impl.NewPooledConnection@55606ba0 closed by a client.
java.lang.Exception: DEBUG – CLOSE BY CLIENT STACK TRACE

I attached the full log and configuration files.

There don't seems to be anywhere I could configure c3p0. Kindly advise the exceptions are normal or i need to make more configuration changes to avoid the exceptions.

Community version: 6.0.0 activiti-app.war

Database : MSSQL 2016

Tomcat 8.5.14 

Outcomes