アプリケーションプログラミングインターフェイスガイド> サーバーアクション> サーバーアクションリファレンス> ClearDataSourceConnectionPools
 
ClearDataSourceConnectionPools
指定されたデータソースの接続プールをクリアします。
引数
dataSourcePaths(STRING_ARRAY):接続プールがクリアされるデータソースへのリソースパス。
サンプルリクエスト
<ns1:performServerAction xmlns:ns1="http://www.compositesw.com/services/system/admin/server" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <ns1:actionName>ClearDataSourceConnectionPools</ns1:actionName>
 <ns1:attributes>
  <ns2:attribute xmlns:ns2="http://www.compositesw.com/services/system/util/common">
   <ns2:name>dataSourcePaths</ns2:name>
   <ns2:type>STRING_ARRAY</ns2:type>
   <ns2:valueArray>
    <ns2:item>/users/composite/admin/mysql</ns2:item>
   </ns2:valueArray>
  </ns2:attribute>
 </ns1:attributes>
</ns1:performServerAction>
サンプル応答
<server:performServerActionResponse xmlns:server="http://www.compositesw.com/services/system/admin/server">
 <status>SUCCESS</status>
 <server:messages>
  <common:entry xmlns:common="http://www.compositesw.com/services/system/util/common">
   <common:code>9901130</common:code>
   <common:name>ClearDataSourceConnectionPools</common:name>
   <common:message>Data source connection pool(s) cleared</common:message>
  </common:entry>
 </server:messages>
</server:performServerActionResponse>
エラー解析
セキュリティ:呼び出し元にACCESS_TOOLS権限がなく、MODIFY_ALL_STATUS権限または指定されたデータソースへの書き込みアクセス権がない場合。