IBM Support

CADS - Websphsere Liberty Read timed out で一部のジョブが実行できない現象

Question & Answer


Question

CADS - Websphsere Liberty Read timed out で一部のジョブが実行できない現象

Cause

J2CA0045E: リソース ConnectionFactory に対してメソッド createOrWaitForConnection を呼び出しているときに、接続が利用不能でした。 30,001 ミリ秒待機してタイムアウトしました。残りの待ち要求: 0、現在使用中の接続の合計: 20
                                            R

Answer

cds_server.xmlの以下の4つのパラメータの値がデフォルトで20と設定されていますので、この値を大きい値に変更して、CADSを再起動して現象についてご確認ください。変更する値につきましては使用状況によって異なりますので、トライ&エラーで適切な値を見つけていただけますようお願いいたします。
変更するパラメータは以下の4つになります。

<dataSource id="CDS_DataSource" jndiName="jdbc/spss/PlatformDS" type="javax.sql.ConnectionPoolDataSource" containerAuthDataRef="CDS_DBAuth_Alias" connectionSharing="MatchCurrentState" isolationLevel="TRANSACTION_READ_COMMITTED" statementCacheSize="20">

<dataSource id="DefaultDataSource" jndiName="jdbc/DefaultDatasource" type="javax.sql.ConnectionPoolDataSource" containerAuthDataRef="CDS_DBAuth_Alias" connectionSharing="MatchCurrentState" isolationLevel="TRANSACTION_READ_COMMITTED" statementCacheSize="20">

<connectionManager id="ConMgr4MDB" maxPoolSize="20"></connectionManager>

<connectionManager id="ConMgr4Topic" maxPoolSize="20"></connectionManager>

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS69YH","label":"IBM SPSS Collaboration and Deployment Services"},"ARM Category":[{"code":"a8m3p000000hCNpAAM","label":"AA Japanese-\u003ECADS"}],"ARM Case Number":"TS014458945","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Document Information

Modified date:
26 October 2023

UID

ibm17060756