SRM: The import-properties task has the following errors: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

요약: The socketTimeout can be increased if the import-porperties task keeps failing on socket timeouts due to heavily loaded apg databases.

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

증상

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

The socketTimeout as set for each database in APG/Web-Servers/Tomcat/Default/conf/server.xml was in this particular case set to 180000 milliseconds.

원인

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.

해결

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&amp;socketTimeout=300000"/>
 

해당 제품

SRM
문서 속성
문서 번호: 000059197
문서 유형: Solution
마지막 수정 시간: 29 7월 2025
버전:  4
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.