관리 콘솔을 사용하여 스태프 결과 새로 고치기

스태프 조회의 결과는 정적입니다. 스태프 조회를 새로 고치려면 관리 명령을 사용하십시오.

시작하기 전에

이 절차를 시작하려면 다음 조건이 충족되어야 합니다.
  • 메시지를 조회하거나 재생할 Application Server가 실행 중이어야 합니다. 서버 연결이 필요하므로 wsadmin의 -conntype none 옵션을 사용할 수 없습니다.
  • 보안이 활성화된 경우 운영자 권한을 갖고 있어야 합니다.

이 타스크의 수행 목적 및 시기

Business Process Choreographer는 스태프 디렉토리(예: LDAP(Lightweight Directory Access Protocol) 서버)에 대해 평가한 스태프 지정 결과를 런타임 데이터베이스에 캐시합니다. 스태프 디렉토리가 변경되면 스태프 지정이 다시 평가되도록 강제 실행할 수 있습니다.

이 타스크의 단계

  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
    사용자 정의 프로파일의 이름입니다. 기본 프로파일에 대해 작업 중이 아닌 경우 이 옵션을 지정하십시오.
    주: templateName이나 userList를 지정하지 않으면 데이터베이스에 저장된 모든 스태프 조회가 새로 고쳐집니다. 성능 향상을 위해 이 작업을 수행하지 않을 수도 있습니다.

예제

주: 스태프 새로 고치기 조회 스크립트의 jacl 버전인 refreshStaffQuery.jacl은 권장되지 않습니다. ProcessChoreographer 디렉토리의 util 하위 디렉토리에서 사용 가능하며 여기서 설명한 것과 동일한 매개변수를 취하지만, –lang jython 옵션을 생략해야 합니다.
관련 태스크
관리 콘솔을 사용하여 스태프 조회 결과 새로 고치기

ⓒ Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)