hi,
I encounter a problem when archive engine takes the data from ioc via channel access and place the data to mysql database. Here is the details in termintor window:
...
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 65,099,938 milliseconds ago. The last packet sent successfully to the server was 65,099,971 milliseconds ago. is longer
than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property
'autoReconnect=true' to avoid this problem.
...
It seems the connection is timeout.
I have downloaded the mysql-connector-java-5.1.39.tar.gz, unzip it and add CLASSPATH to the mysql-connector-java-5.1.39-bin.jar in
the .bashrc file.
I am not quite familar with JAVA and my question is, according to the tips in terminal window, where to set the Connector/J connection property 'autoReconnect=true' to
avoid this problem.
Any help will be appreciate and thanks in advance !
Zhefu