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

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

始める前に

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

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

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

このタスクのステップ

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

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

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

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

    install_root/bin/wsadmin.sh –lang jython -f refreshStaffQuery.py 
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root/bin/wsadmin.sh –lang jython -f refreshStaffQuery.py 
            -node nodeName
            -server serverName
           [-processTemplate templateName | 
           (-taskTemplate templateName [-nameSpace nameSpace]) | 
            -userList username{,username}...]
           [-profileName profileName]
    
    install_root/bin/wsadmin.sh –lang jython -f refreshStaffQuery.py 
            -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 も指定しない場合は、データベースに保管されているすべてのスタッフ照会が更新されます。パフォーマンス上の理由により、この処理は避けた方がよいでしょう。

注: スタッフ照会の更新スクリプトの jacl バージョン refreshStaffQuery.jacl は、 推奨されていません。これは、ProcessChoreographer ディレクトリーの util サブディレクトリーでは 使用可能で、ここで説明しているのと同じパラメーターを使用しますが 、–lang jython オプションは省略する必要があります。
関連タスク
管理コンソールを使用したスタッフ照会結果の最新表示

(c) Copyright IBM Corporation 2005, 2006. All rights reserved.
(c) Copyright IBM Japan 2006
このインフォメーション・センターでは、Eclipse テクノロジー (http://www.eclipse.org) が採用されています。