SRM:import-properties タスクに次のエラーがあります: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 通信リンク障害
Résumé: apgデータベースの負荷が高いために、import-porpertiesタスクがソケット タイムアウトで失敗し続ける場合は、socketTimeoutを増やすことができます。
Cet article concerne
Cet article ne concerne pas
Cet article n’est associé à aucun produit spécifique.
Toutes les versions du produit ne sont pas identifiées dans cet article.
Symptômes
プロパティのインポート タスクで、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.
例外の原因は次のとおりです。
aused by: java.net.SocketTimeoutException: 読み取りがタイムアウトしました
Cause
socketTimeout は、data_property テーブルからデータを取り込むのを待機するために、import-properties タスクで使用されます。その時点でデータベースの負荷が高いためにこの時間を超えると、タスクは失敗します。
Résolution
次のように、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"/>
Produits concernés
SRMPropriétés de l’article
Numéro d’article: 000059197
Type d’article: Solution
Dernière modification: 29 juil. 2025
Version: 4
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.