SRM: The import-properties task has the following errors: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Summary: The socketTimeout can be increased if the import-porperties task keeps failing on socket timeouts due to heavily loaded apg databases.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
The import properties task has the following errors on connectivity to apg databases:
160627 07:07:57 : com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 160627 07:07:57 : 160627 07:07:57 : The last packet successfully received from the server was 180,025 milliseconds ago. The last packet sent successfully to the server was 180,025 milliseconds ago.
The cause of the exception is:
aused by: java.net.SocketTimeoutException: Read timed out
Cause
The socketTimeout will be used in the import-properties task to wait for pulling in data from the data_property table.If this time is exceeded due to a heavily loaded database at that time, the task will fail.
Resolution
We can increase the socketTimeout setting in the APG/Web-Servers/Tomcat/Default/conf/server.xml file to e.g. 5 minutes (300000 milliseconds) as per below:
<!-- Defines the connection to the APG timeseries database for MySQL. --> <Resource name="jdbc/APG-DB" auth="Container" type="javax.sql.DataSource" maxActive="20" maxIdle="20" validationQuery="SELECT 1" testOnBorrow="false" testWhileIdle="true" validationQueryTimeout="5" timeBetweenEvictionRunsMillis="10000" minEvictableIdleTimeMillis="60000" maxWait="30000" username="apg" password="watch4net" driverClassName="com.mysql.jdbc.Driver" removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" url="jdbc:mysql://<db hostname>:53306/apg?autoReconnect=true&socketTimeout=300000"/>
Affected Products
SRMArticle Properties
Article Number: 000059197
Article Type: Solution
Last Modified: 29 Jul 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.