SRM: 속성 가져오기 작업에는 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException 오류가 있습니다. 통신 링크 오류
Summary: 과도하게 로드된 apg 데이터베이스로 인해 소켓 시간 초과 시 import-porperties 작업이 계속 실패하는 경우 socketTimeout을 늘릴 수 있습니다.
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
속성 가져오기 작업에서 apg 데이터베이스에 연결할 때 다음과 같은 오류가 발생합니다.
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.
예외의 원인은 다음과 같습니다.
java.net.SocketTimeoutException : 읽기 시간 초과
Cause
socketTimeout은 속성 가져오기 작업에서 data_property 테이블에서 데이터를 가져올 때까지 대기하는 데 사용됩니다. 이 시간에 과도하게 로드된 데이터베이스로 인해 이 시간을 초과하면 작업이 실패합니다.
Resolution
APG/Web-Servers/Tomcat/Default/conf/server.xml 파일의 socketTimeout 설정을 아래와 같이 5분(300000밀리초)으로 늘릴 수 있습니다.
<!-- 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.