Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Sging
Contributor
Contributor

Error com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.

Hello everyone,

I know this is a common error (after searching in the forum I saw some related posts), however I struggle to find a solution.

I have the job below, which has a big runtime. Sometimes it runs successfully sometimes, it returns the error

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed .

 

The failing component is a tDBInput one. (in red circle).0693p00000BXpleAAD.pngOther answers similar to this one suggest to add on JDBC parameters "autoReconnect=true" ( using & on top of other parameters

"noDatetimeStringSync=true&allowMultiQueries=True&autoReconnect=True" )

. I did, inside the tDBConnection component, as shown below, but it again failed.

0693p00000BXpnzAAD.png 

What else should I try?

Thanks in advance!

Labels (2)
1 Reply
Anonymous
Not applicable

Hi

Make sure the 'close the DB connection' on tXXXOutput or txxxCommit component is not checked.

is this job executed independently? or it is called by other job or is running parallelly? Like the DB action part of job is triggered by iteration.

 

Regards

Shong