管理コマンドを使用した、スタッフ照会の最新表示

スタッフ照会の結果は静的です。管理コマンドを使用して、スタッフ照会を最新表示します。

始める前に

この手順を始める前に、次の条件が満たされている必要があります。
  • 使用しているユーザー ID に管理権限がある必要があります。
  • メッセージが照会または再生されるアプリケーション・サーバーが稼働している必要があります。つまり、サーバー接続が必要であるため、wsadmin の -conntype none オプションは使用できません。
  • セキュリティーが使用可能に設定されている場合は、オペレーター権限を持っている必要があります。

このタスクを実行する理由と時期

Business Process Choreographer は、ランタイム・データベースで 、Lightweight Directory Access Protocol (LDAP) サーバーなど、スタッフ・ディレクトリーに対して評価されたスタッフ割り当ての結果をキャッシュに入れます。スタッフ・ディレクトリーを変更する場合は、 スタッフ割り当てを再評価するよう強制できます。

このタスクのステップ

  1. スクリプトがある Business Process Choreographer ユーティリティー・ディレクトリーに移動します。
    Windows® システムの場合は、次のように入力します。
    cd install_root¥ProcessChoreographer¥util
    UNIX® および Linux® システムの場合は、次のように入力します。
    cd install_root/ProcessChoreographer/util
  2. スタッフ割り当てを再評価するよう強制します。

    Windows システムでは、次のコマンドのいずれかを入力します。コマンド間の相違を強調して表示しています。

    install_root¥bin¥wsadmin -f refreshStaffQuery.jacl 
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root¥bin¥wsadmin -f refreshStaffQuery.jacl 
            -node nodeName
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root¥bin¥wsadmin -f refreshStaffQuery.jacl 
            -cluster clusterName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]

    UNIX および Linux システムでは、次のコマンドのいずれかを入力します。コマンド間の相違を強調して表示しています。

    install_root/bin/wsadmin.sh -f refreshStaffQuery.jacl 
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root/bin/wsadmin.sh -f refreshStaffQuery.jacl 
            -node nodeName
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root/bin/wsadmin.sh -f refreshStaffQuery.jacl 
            -cluster clusterName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]

    各部の意味は、次のとおりです。

    cluster clusterName
    クラスターの名前。ビジネス・プロセス・コンテナーが WebSphere® クラスター用に構成されている場合は必須です。
    node nodeName
    サーバー名を指定する場合のオプション。 この名前は、ノードを示します。 デフォルトはローカル・ノードです。
    server serverName
    サーバーの名前。クラスター名が指定されていない場合は必須です。
    processTemplate templateName
    プロセス・テンプレートの名前。 このプロセス・テンプレートに属すスタッフ割り当てが更新されます。
    taskTemplate templateName
    タスク・テンプレートの名前。 このプロセス・テンプレートに属すスタッフ割り当てが更新されます。
    nameSpace nameSpace
    タスク・テンプレートのネーム・スペース。
    userList userName
    コンマで区切られたユーザー名のリスト。 指定された名前を含むスタッフ割り当てが更新されます。
    profileName profileName
    ユーザー定義プロファイルの名前。デフォルト・プロファイルで作業していない場合、このオプションを指定します。
    注: templateNameuserList も指定しない場合は、データベースに保管されているすべてのスタッフ照会が更新されます。パフォーマンス上の理由により、この処理は避けた方がよいでしょう。
関連タスク
管理コンソールを使用したスタッフ照会の最新表示

ご利用条件 |


(c) Copyright IBM Corporation 2005, 2006.
本製品では Eclipse テクノロジーが採用されています。(http://www.eclipse.org)