1

以下の構成を使用して IMS ST サーバーに接続していますが、正常に動作します:-

 <connectionFactory  id="ims" jndiName="eis/IMSSyncNonPersistent">
<properties.imsico91025a dataStoreName="st.datastoreName" hostName="st.hostname" portNumber="st.portnumber"/>
  </connectionFactory>

しかし、ETで同じ構成を使用すると、上記のエラーが発生します。それを解決するために、パージ ポリシーに関する IBM ドキュメントのエラーを調べた後、以下の構成を使用しました。

ICO0005E SocketException is thrown when:
A Java client attempts to use a connection for which the underlying socket is no longer connected to IMS Connect. The socket connection might be lost if IMS Connect is recycled, but the application server is not. After IMS Connect is restarted, the connections that were formerly successfully connected to IMS Connect are still in the connection pool. As clients attempt to reuse each of these connections, the exception java.net.SocketException is thrown, and the connection object is removed from the connection pool.
You can change this behavior in WebSphere Application Server by setting the purge policy of the connection factory that is used by the Java application to the entire pool.
 <authData id="et.authalias" user="et.username" password="et.password"/>
  <connectionFactory  id="ims" authDataAlias="et.authalias" jndiName="eis/IMSSyncNonPersistent" purgePolicy="EntirePool" maxPoolSize="50">
    <properties.imsico91025a dataStoreName="et.datastore" hostName="et.hostname" portNumber="et.portnumber"/>
  </connectionFactory>

うまくいきませんでした。私を助けてください。ありがとう!

4

1 に答える 1