wsadmin 스크립트를 사용한 AdminApp 오브젝트에 대한 명령

AdminApp 오브젝트를 사용하여 애플리케이션을 설치, 수정 및 관리합니다.

AdminApp 오브젝트는 WebSphere® Application Server 관리 및 구성 서비스와 상호작용하여 애플리케이션 조회 및 변경을 수행합니다. 이 상호작용에는 애플리케이션 설치 및 설치 제거, 모듈 나열, 내보내기 등이 포함됩니다.

로컬 조작만을 사용하려는 경우 실행 중인 서버가 없을 때 스크립트 클라이언트를 시작할 수 있습니다. 로컬 모드로 실행하려면, -conntype NONE 옵션을 사용하여 스크립트 클라이언트를 시작하십시오. 로컬 모드에서 실행 중임을 나타내는 메시지를 수신합니다. 서버가 현재 실행 중인 경우 로컬 모드로 AdminApp 오브젝트를 실행하는 것은 권장되지 않습니다. 이는 로컬 모드에서 작성된 구성 변경사항이 실행 중인 서버 구성에 반영되지 않기 때문입니다(이와 반대의 경우도 포함). 충돌하는 구성을 저장하면 구성이 손상될 수 있습니다.

[AIX Solaris HP-UX Linux Windows]중요사항: wsadmin -conntype NONE을 사용하여 로컬 모드에서 애플리케이션을 배치하려는 경우, install_root/bin 디렉토리에서 wsadmin.bat 또는 wsadmin.sh 명령 파일을 수정해야 합니다. 다음 단계를 완료하십시오.
  1. install_root/bin/wsadmin.bat 또는 install_dir/bin/wsadmin.bat 파일의 백업 사본을 작성하십시오.
  2. setupCmdLine.bat 또는 setupCmdLine.sh 파일에 대한 호출 후 바로 다음 코드 행을 wsadmin 파일에 추가하십시오.
    [AIX]
    LIBPATH="$WAS_LIBPATH":$LIBPATH
    export LIBPATH EXTSHM
    [HP-UX]
    SHLIB_PATH="$WAS_LIBPATH":$SHLIB_PATH
    export SHLIB_PATH
    [Linux][Solaris]
    LD_LIBRARY_PATH="$WAS_LIBPATH":$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH
    [Windows]
    SET PATH=%WAS_PATH%
    문제점 방지 문제점 방지: 이전 내보내기 명령문에서 LD_LIBRARY_PATH 대신 LD_LIBRARY_PATH_64를 지정하지 마십시오. 내보내기 명령문에 LD_LIBRARY_PATH_64를 지정하면 기타 스크립트에 존재하는 LD_LIBRARY_PATH 값을 대체합니다.gotcha
  3. 업데이트된 wsadmin.bat 또는 wsadmin.sh 파일을 저장하십시오.
  4. 애플리케이션를 배치하십시오.

배치 관리자 환경에서 구성 업데이트사항은 스크립트 클라이언트가 배치 관리자에 연결되어 있는 경우에만 사용 가능합니다.

노드 에이전트 또는 관리 대상 애플리케이션 서버에 연결된 경우, 이러한 서버 프로세스의 구성은 배치 관리자에 위치하는 마스터 구성의 사본이므로 구성을 업데이트할 수 없습니다. 사본은 배치 관리자와 노드 에이전트 사이에 구성 동기화가 발생할 때 노드 시스템에서 작성됩니다. 배치 관리자에 스크립트 클라이언트를 연결하여 서버 프로세스에 대한 구성 변경을 작성하십시오. 따라서, 구성을 변경하려는 경우, 노드 시스템의 로컬 모드에서 스크립트 클라이언트를 실행하지 마십시오. 지원되는 구성이 아닙니다.

다음 참고는 이 주제의 xmi 파일 참조에 적용됩니다.
지원된 구성 지원된 구성: IBM® 확장 및 바인딩 파일의 경우 .xmi 또는 .xml 파일 이름 확장자는 Java EE 5 이전 애플리케이션이나 모듈을 사용하는지 또는 Java™ EE 5 이상 애플리케이션이나 모듈을 사용하는지 여부에 따라 달라집니다. IBM 확장 또는 바인딩 파일 이름은 ibm-*-ext.xmi 또는 ibm-*-bnd.xmi입니다. 여기서, *는 확장 또는 바인딩 파일의 유형입니다(예: app, application, ejb-jar 또는 web). 다음 조건이 적용됩니다.
  • 버전 5 이전의 Java EE 버전을 사용하는 애플리케이션 또는 모듈의 경우, 파일 확장자는 .xmi여야 합니다.
  • Java EE 5 이상을 사용하는 애플리케이션 또는 모듈의 경우, 파일 확장자는 .xml이어야 합니다. .xmi 파일이 애플리케이션 또는 모듈에 포함된 경우 제품에서 .xmi 파일을 무시합니다.

그러나 Java EE 5 이상 모듈은 Java EE 5 이전 파일이 포함되어 있고 .xmi 파일 이름 확장자가 사용된 애플리케이션에 있을 수 있습니다.

ibm-webservices-ext.xmi, ibm-webservices-bnd.xmi, ibm-webservicesclient-bnd.xmi, ibm-webservicesclient-ext.xmi, ibm-portlet-ext.xmi 파일은 .xmi 파일 확장자를 계속 사용합니다.

sptcfg

deleteUserAndGroupEntries

deleteUserAndGroupEntries 명령을 사용하여 모든 역할에 대한 사용자 또는 그룹을 삭제하고 애플리케이션에 정의된 모든 RunAs 역할에 대한 사용자 ID 및 비밀번호를 삭제하십시오.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.

선택적 매개변수

없음.

예제

  • Jacl 사용:
    $AdminApp deleteUserAndGroupEntries myapp
  • Jython 문자열 사용:
    print AdminApp.deleteUserAndGroupEntries('myapp')
  • Jython 목록 사용:
    print AdminApp.deleteUserAndGroupEntries(['myapp'])

edit

edit 명령을 사용하여 일괄처리 모드에서 애플리케이션 또는 모듈을 편집하십시오. edit 명령은 옵션 인수로 지정된 옵션을 사용하여 애플리케이션 이름 인수로 지정된 애플리케이션을 변경합니다. edit 명령에 대한 필수 옵션은 없습니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.
options
애플리케이션 또는 모듈 구성에 적용할 옵션을 지정합니다.

선택적 매개변수

없음.

예제

  • Jacl 사용:
    $AdminApp edit "JavaMail Sample" {-MapWebModToVH {{"JavaMail Sample WebApp" mtcomps.war,WEB-INF/web.xml newVH}}}
  • Jython 문자열 사용:
    print AdminApp.edit("JavaMail Sample", '[-MapWebModToVH [["JavaMail 32 Sample WebApp" 
    mtcomps.war,WEB-INF/web.xml newVH]]]')
  • Jython 목록 사용:
    option = [["JavaMail 32 Sample WebApp", "mtcomps.war,WEB-INF/web.xml", "newVH"]] 
    mapVHOption = ["-MapWebModToVH", option]
    print AdminApp.edit("JavaMail Sample", mapVHOption)

editInteractive

editInteractive 명령을 사용하여 대화식 모드에서 애플리케이션 또는 모듈을 편집하십시오. editInteractive 명령은 애플리케이션 배치를 변경합니다. options 매개변수에 이들 변경사항을 지정하십시오. editInteractive 명령에 대한 필수 옵션은 없습니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.
options
애플리케이션 또는 모듈 구성에 적용할 옵션을 지정합니다.

선택적 매개변수

없음.

예제

  • Jacl 사용:
    $AdminApp editInteractive ivtApp 
  • Jython 문자열 사용:
    AdminApp.editInteractive('ivtApp')

export

export 명령을 사용하여 application name 매개변수를 파일 이름별로 지정하는 파일로 내보내십시오.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.
file name
애플리케이션 이름을 내보낼 파일 이름을 지정합니다.

선택적 매개변수

exportToLocal
시스템이 로컬 클라이언트 시스템에 지정된 파일 이름으로 관심 있는 애플리케이션을 내보내야 함을 지정합니다.

예제

  • Jacl 사용:
    $AdminApp export DefaultApplication c:/temp/export.ear {-exportToLocal}
  • Jython 사용:
    AdminApp.export('DefaultApplication', 'c:/temp/export.ear', '[-exportToLocal]')

exportDDL

exportDDL 명령을 사용하여 DDL(데이터 정의 언어)을 애플리케이션 이름 매개변수에서 디렉토리가 지정하는 디렉토리 이름 매개변수로 추출하십시오. options 매개변수는 선택적입니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.
directory name
애플리케이션 이름을 내보낼 디렉토리의 이름을 지정합니다.

선택적 매개변수

options
지정된 애플리케이션 이름으로 전달할 옵션을 지정합니다.

예제

  • Jacl 사용:
    $AdminApp exportDDL "My App" /usr/me/DDL {-ddlprefix myApp}
  • Jython 문자열 사용:
    print AdminApp.exportDDL("My App", '/usr/me/DDL', '[-ddlprefix myApp]')

exportFile

exportFile 명령을 사용하면 원하는 애플리케이션에서 고유 자원 ID(URI)로 지정된 단일 파일의 컨텐츠를 내보낼 수 있습니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.
URI
내보낼 단일 파일을 지정합니다. URI는 META-INF/application.xml와 같이 애플리케이션의 컨텍스트 내부에 지정하십시오. 파일을 모듈에 지정하려면 foo.war/WEB-INF/web.xml와 같이 URI가 모듈 URI로 시작해야 합니다.
filename
내보낼 파일의 완전한 경로와 파일 이름을 지정합니다.

선택적 매개변수

없음.

예제

  • Jacl 사용:
    $AdminApp exportFile "My App" myapp/components.jar/META-INF/ibm-ejb-jar-bnd.xml
     META-INF/ibm-ejb-jar-bnd.xml 
  • Jython 문자열 사용:
    AdminApp.exportFile('My App', 'myapp/components.jar/META-INF/ibm-ejb-jar-bnd.xml', 
    'META-INF/ibm-ejb-jar-bnd.xml')

getDeployStatus

getDeployStatus 명령을 사용하면 애플리케이션의 배치 상태를 표시할 수 있습니다. 대용량 애플리케이션을 설치 또는 업데이트한 후 이 명령을 사용하여 애플리케이션 2진 파일 확장을 위한 세부 상태 정보를 표시할 수 있습니다. 시스템이 애플리케이션 2진을 추출할 때까지 애플리케이션을 시작할 수 없습니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션의 이름을 지정합니다.

선택적 매개변수

없음.

예제

  • Jacl 사용:
    $AdminApp getDeployStatus myApplication
  • Jython 사용:
    print AdminApp.getDeployStatus('myApplication')

myApplicationDefaultApplicationgetDeployStatus 명령을 실행하면 다음과 유사한, DefaultApplication에 대한 상태 정보가 출력됩니다.

ADMA5071I: Distribution status check started for application DefaultApplication.
WebSphere:cell=myCell01,node=myNode01,distribution=unknown,expansion=unknown
ADMA5011I: The cleanup of the temp directory for application DefaultApplication is complete.
ADMA5072I: Distribution status check completed for application DefaultApplication.
WebSphere:cell=myCell01,node=myNode01,distribution=unknown,expansion=unknown

help

help 옵션을 사용하여 AdminApp 오브젝트에 대한 일반 도움말 정보를 표시하십시오.

대상 오브젝트

없음.

필수 매개변수

없음.

선택적 매개변수

조작 이름
AdminApp 명령 또는 설치 옵션을 표시하려면 이 옵션을 지정하십시오.

샘플 출력

인수를 지정하지 않은 경우 다음 출력이 리턴됩니다.
WASX7095I: The AdminApp object allows application objects to be manipulated including installing, 
uninstalling, editing, and listing.  Most of the commands supported by AdminApp operate in two modes: 
the default mode is one in which AdminApp communicates with the application server to accomplish its 
tasks.  A local mode is also possible, in which no server communication takes place.  The local mode of 
operation is invoked by including the "-conntype NONE" flag in the option string supplied to the command.

The following commands are supported by AdminApp; more detailed information about each of these commands 
is available by using the "help" command of AdminApp and supplying the name of the command as an argument.

edit Edit the properties of an application
editInteractive Edit the properties of an application interactively
export Export application to a file
exportDDL      Extract DDL from application to a directory
help            Show help information
install Installs an application,
given a file name and an option string.

installInteractive		Installs an application in interactive mode, given a file name and an option string.
list            List all installed applications
listModules     			List the modules in a specified 
application options 	Shows the options available, either for a given file, or in general.
taskInfo        			Shows detailed information pertaining to a given installation task for a given file
uninstall       			Uninstalls an application, given an application name and an option string
uninstall을 조작 이름 인수로 지정한 경우 다음 출력이 리턴됩니다.
WASX7102I: Method: uninstall
Arguments: application name, options
Description: Uninstalls application named by "application name" using the options supplied by String 2.
Method: uninstall
Arguments: application name
Description: Uninstalls the application specified by "application name" using default options.

예제

Jacl 사용:
  • 다음 예제는 인수를 지정하지 않습니다.
    $AdminApp help
  • 다음 예제는 operation name 인수를 지정합니다.
    $AdminApp help uninstall
Jython 사용:
  • 다음 예제는 인수를 지정하지 않습니다.
    print AdminApp.help()
  • 다음 예제는 operation name 인수를 지정합니다.
    print AdminApp.help('uninstall')

install

install 명령을 사용하여 설치 옵션의 문자열 및 완전한 파일 이름을 제공하는 비대화식 모드로 애플리케이션을 설치하십시오. options 매개변수는 선택적입니다.

대상 오브젝트

없음.

필수 매개변수

ear file
설치할 .ear 파일의 경로를 지정합니다.

선택적 매개변수

options
명령에 대한 설치 옵션을 지정합니다.

예제

  • Jacl 사용:
    $AdminApp install c:/apps/myapp.ear
  • Jython 사용:
    print AdminApp.install('c:/apps/myapp.ear')
다음은 이 명령에 사용할 수 있는 여러 옵션입니다. 다음 명령을 사용하여 엔터프라이즈 아카이브(EAR) 파일의 유효한 옵션 목록을 확보할 수 있습니다.

Jacl 사용:

$AdminApp options myApp.ear
Jython 사용:
print AdminApp.options('myApp.ear')
또한 다음 명령을 사용하여 각 오브젝트에 대한 도움말을 확보할 수도 있습니다.

Jacl 사용:

$AdminApp help MapModulesToServers
Jython 사용:
print AdminApp.help('MapModulesToServers')

installInteractive

installInteractive 명령을 사용하여 설치 옵션의 문자열 및 완전한 파일 이름을 제공하는 대화식 모드로 애플리케이션을 설치하십시오. options 매개변수는 선택적입니다.

대상 오브젝트

없음.

필수 매개변수

ear file
설치할 .ear 파일의 경로를 지정합니다.

선택적 매개변수

options
명령에 대한 설치 옵션을 지정합니다.

예제

  • Jacl 사용:
    $AdminApp installInteractive c:/websphere/appserver/installableApps/jmsample.ear
  • Jython 사용:
    print AdminApp.installInteractive('c:/websphere/appserver/installableApps/jmsample.ear')

isAppReady

isAppReady 명령을 사용하여 지정된 애플리케이션이 분산되어 실행할 준비가 되어 있는지 판별하십시오. 준비가 되어있으면 true 값을 리턴하거나 그렇지 않으면 false 값을 리턴합니다. isAppReady를 호출하는 스크립트는 일반적으로 애플리케이션을 설치 또는 업데이트한 후 애플리케이션을 시작하기 전에 호출에서 true 값을 리턴할 때까지 호출 주위를 순환합니다. 이 명령은 wsadmin 도구가 서버에 연결되어 있지 않으면 지원되지 않습니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션의 이름을 지정합니다.

선택적 매개변수

ignoreUnknownState
지정된 애플리케이션이 분산되어 실행할 준비가 되어있는지 확인하기 위해 테스트합니다. ignoreUnknownState 매개변수의 유효한 값은 truefalse를 포함합니다. true 값을 지정하는 경우, 알 수 없는 상태의 노드 및 서버는 최종 준비 리턴에 포함되지 않습니다. 명령은 애플리케이션이 준비되어 있으면 true 값을 리턴하거나 준비되어 있지 않으면 false 값을 리턴합니다. 이 명령은 wsadmin 도구가 서버에 연결되어 있지 않으면 지원되지 않습니다.

샘플 출력

애플리케이션 이름 매개변수를 지정한 경우 다음 샘플 출력이 리턴됩니다.
ADMA5071I: Distribution status check started for application 
           DefaultApplication.WebSphere:cell=Node03Cell,node=myNode,distribution=true
ADMA5011I: The cleanup of the temp directory for application DefaultApplication is complete.
ADMA5072I: Distribution status check completed for application DefaultApplication.true
다음 샘플 출력은 application name 및 ignoreUnknownState 매개변수를 지정하는 경우에 리턴됩니다.
ADMA5071I: Distribution status check started for application TEST.WebSphere:cell=myCell,node=myNode,
					distribution=unknown
ADMA5011I: The cleanup of the temp directory for application TEST is complete.
ADMA5072I: Distribution status check completed for application TEST.false

예제

다음 예제는 application name 매개변수만을 지정합니다.
  • Jacl 사용:
    set result [$AdminApp isAppReady DefaultApplication]
    while {$result == "false"} {
       ### Wait 5 seconds before checking again
       after 5000   
    set result [$AdminApp isAppReady DefaultApplication]
    }
    puts "Starting application..."
  • Jython 사용:
    import time
    result = AdminApp.isAppReady('DefaultApplication')
    while (result == "false")
    :   ### Wait 5 seconds before checking again
        time.sleep(5)   
        result = AdminApp.isAppReady
    ('DefaultApplication')
    print("Starting application...")
다음 예제는 application name 및 ignoreUnknownState 매개변수를 지정합니다.
  • Jacl 사용:
    set result [$AdminApp isAppReady DefaultApplication]
    while {$result == "false"} {
       ### Wait 5 seconds before checking again
       after 5000   
       set result [$AdminApp isAppReady DefaultApplication]
    }
    puts "Starting application..."
  • Jython 사용:
    import time
    result = AdminApp.isAppReady
    ('DefaultApplication')
    while (result == "false"):
       ### Wait 5 seconds before checking again
       time.sleep(5)   
       result = AdminApp.isAppReady
    ('DefaultApplication')
    print("Starting application...")

list

list 명령을 사용하여 구성에 설치된 애플리케이션을 나열하십시오.

대상 오브젝트

없음.

필수 매개변수

없음.

선택적 매개변수

대상
구성의 정해진 대상 범위에 설치된 애플리케이션을 나열합니다.

샘플 출력

adminconsole
DefaultApplication
ivtApp

예제

  • Jacl 사용:
    $AdminApp list
  • Jython 사용:
    print AdminApp.list()
다음 예제는 target 매개변수의 값을 지정합니다.
  • Jacl 사용:
    $AdminApp list WebSphere:cell=myCell,node=myNode,server=myServer
  • Jython 사용:
    print AdminApp.list("WebSphere:cell=myCell,node=myNode,server=myServer")

listModules

listModules 명령을 사용하여 애플리케이션의 모듈을 나열하십시오.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션을 지정합니다.

선택적 매개변수

options
모듈이 설치된 애플리케이션 서버 목록을 지정합니다. options 매개변수는 선택적입니다. 유효한 옵션은 -server입니다.

샘플 출력

다음 예제는 appname, #, module URI, + 및 DD URI의 연결입니다. 이 문자열을 editeditInteractive AdminApp 명령으로 전달할 수 있습니다.
ivtApp#ivtEJB.jar+META-INF/ejb-jar.xml
ivtApp#ivt_app.war+WEB-INF/web.xml

예제

  • Jacl 사용:
    $AdminApp listModules ivtApp
  • Jython 사용:
    print AdminApp.listModules('ivtApp')

options

options 명령을 사용하여 엔터프라이즈 아카이브(EAR) 파일 설치를 위한 옵션 목록을 표시하십시오.

대상 오브젝트

없음.

필수 매개변수

없음.

선택적 매개변수

EAR file
관심있는 EAR 파일을 지정합니다.
application name
기존 애플리케이션의 편집을 위한 옵션 목록을 표시할 애플리케이션을 지정합니다.
application module name
기존 애플리케이션에서 모듈 편집을 위한 옵션 목록을 표시할 모듈 이름을 지정합니다. 이 매개변수는 listModules 명령이 리턴하는 출력과 같은 모듈 이름 형식이어야 합니다.
file, operations
애플리케이션 또는 애플리케이션 모듈 파일의 설치 및 업데이트를 위한 옵션 목록을 표시합니다. 다음 유효한 값 중 하나를 지정하십시오.
  • installapp - 지정된 파일을 설치하려면 이 옵션을 사용하십시오.
  • updateapp - 기존 애플리케이션을 지정된 파일로 업데이트하려면 이 옵션을 사용하십시오.
  • addmodule - 기존 애플리케이션에 지정된 모듈 파일을 추가하려면 이 옵션을 사용하십시오.
  • updatemodule - 애플리케이션의 기존 모듈을 지정된 모듈 파일로 업데이트하려면 이 옵션을 사용하십시오.

샘플 출력

WASX7112I: The following options are valid for "ivtApp"
MapRolesToUsers
BindJndiForEJBNonMessageBinding
MapEJBRefToEJB
MapWebModToVH
MapModulesToServers
distributeApp
nodistributeApp
useMetaDataFromBinary
nouseMetaDataFromBinary
createMBeansForResources
nocreateMBeansForResources
reloadEnabled
noreloadEnabled
verbose
installed.ear.destination
reloadInterval

예제

다음 예제 옵션 명령은 EAR 파일에 대한 유효한 옵션을 리턴합니다.
  • Jacl 사용:
    $AdminApp options c:/websphere/appserver/installableApps/ivtApp.ear
  • Jython 사용:
    print AdminApp.options('c:/websphere/appserver/installableApps/ivtApp.ear')
다음 예제 옵션 명령은 애플리케이션에 대한 유효한 옵션을 리턴합니다.
  • Jacl 사용:
    $AdminApp options ivtApp
  • Jython 사용:
    print AdminApp.options('ivtApp')
다음 예제 옵션 명령은 애플리케이션 모듈에 대한 유효한 옵션을 리턴합니다.
  • Jacl 사용:
    $AdminApp options ivtApp#ivtEJB.jar+META-INF/ejb-jar.xml
  • Jython 사용:
    print AdminApp.options('ivtApp#ivtEJB.jar+META-INF/ejb-jar.xml')
다음 예제 옵션 명령은 입력 파일로 요청한 조작의 유효한 옵션을 리턴합니다.
  • Jacl 사용:
    $AdminApp options c:/websphere/appserver/installableApps/ivtApp.ear updateapp
  • Jython 사용:
    print AdminApp.options('c:/websphere/appserver/installableApps/ivtApp.ear', 'updateapp')

publishWSDL

애플리케이션 이름 매개변수에 지정된 애플리케이션에 대한 WSDLWeb Services Description Language) 파일을 파일 이름 매개변수에 지정된 파일에 공개하려면 publishWSDL 명령을 사용하십시오.

대상 오브젝트

없음.

필수 매개변수

file name
관심있는 파일을 지정합니다.
application name
관심있는 애플리케이션을 지정합니다.

선택적 매개변수

SOAP address prefixes
사용할 SOAP 주소 접두부를 지정합니다.

샘플 출력

publishWSDL 명령은 출력을 리턴하지 않습니다.

예제

다음 예제 publishWSDL 명령은 애플리케이션 이름 및 파일 이름을 지정합니다.
  • Jacl 사용:
    $AdminApp publishWSDL JAXRPCHandlerServer c:/temp/a.zip
  • Jython 사용:
    print AdminApp.publishWSDL('JAXRPCHandlerServer', 'c:/temp/a.zip')
다음 예제 publishWSDL 명령은 애플리케이션 이름, 파일 이름 및 SOAP 주소 접두부 매개변수 값을 지정합니다.
  • Jacl 사용:
    $AdminApp publishWSDL JAXRPCHandlersServer c:/temp/a.zip {{JAXRPCHandlersServerApp.war {{http http://localhost:9080}}}}
  • Jython 사용:
    print AdminApp.publishWSDL('JAXRPCHandlersServer', 'c:/temp/a.zip', '[[JAXRPCHandlersServerApp.war [[http http://localhost:9080]]]]')

searchJNDIReferences

searchJNDIReferences 명령을 사용하여 특정 노드의 JNDI(Java Naming and Directory Interface) 이름을 참조하는 애플리케이션을 나열하십시오.

대상 오브젝트

없음.

필수 매개변수

node configuration ID
관심있는 노드의 구성 ID를 지정합니다.

선택적 매개변수

options
사용할 옵션를 지정합니다.

샘플 출력

WASX7410W: This operation may take a while depending on the number of applications installed in your system.
MyApp
MapResRefToEJB :ejb-jar-ic.jar : [eis/J2CCF1]

예제

다음 예제에서는 JNDI의 이름이 eis/J2CCF1MyApp라고 하는 설치된 애플리케이션이 있다고 가정합니다.
  • Jacl 사용:
    $AdminApp searchJNDIReferences $node {-JNDIName eis/J2CCF1 -verbose}
  • Jython 사용:
    print AdminApp.searchJNDIReferences(node, '[-JNDIName eis/J2CCF1 -verbose]')

taskInfo

taskInfo 명령을 사용하여 애플리케이션 파일의 특정 태스크 옵션에 대한 정보를 제공하십시오. 유사하거나 동일한 조작에 대한 태스크 이름이 V5.x와 V6.x 사이에서 대부분 변경되었습니다. V5.x에서 V6.x로 마이그레이션하는 경우, 기존 스크립트를 업데이트해야 합니다.

대상 오브젝트

없음.

필수 매개변수

EAR file
관심있는 EAR 파일을 지정합니다.
task name
정보를 요청할 태스크를 지정합니다.

선택적 매개변수

없음.

샘플 출력

MapWebModToVH: Selecting virtual hosts for web modules
Specify the virtual host where you want to install the web modules that are contained in
your application. Web modules can be installed on the same virtual host or dispersed among several hosts.
Each element of the MapWebModToVH task consists of the following three fields: "webModule," "uri," "virtualHost."
Of these fields, the following fields might be assigned new values: "virtualHost"and the following are 
required: "virtualHost"

The current contents of the task after running default bindings are:
webModule: JavaMail Sample WebApp
uri: mtcomps.war,WEB-INF/web.xml
virtualHost: default_host

예제

  • Jacl 사용:
    $AdminApp taskInfo c:/websphere/appserver/installableApps/jmsample.ear MapWebModToVH
  • Jython 사용:
    print AdminApp.taskInfo('c:/websphere/appserver/installableApps/jmsample.ear', 'MapWebModToVH')

uninstall

uninstall 명령을 사용하여 기존 애플리케이션을 설치 제거하십시오.

대상 오브젝트

없음.

필수 매개변수

application name
설치 제거할 애플리케이션의 이름을 지정합니다.

선택적 매개변수

options
설치 제거 옵션을 지정합니다.

샘플 출력

ADMA5017I: Uninstallation of myapp started.
ADMA5104I: Server index entry for myCellManager was
updated successfully.
ADMA5102I: Deletion of config data for myapp from config 
repository completed successfully.
ADMA5011I: Cleanup of temp dir for app myapp done.
ADMA5106I: Application myapp uninstalled successfully.

예제

  • Jacl 사용:
    $AdminApp uninstall myApp
  • Jython 사용:
    print AdminApp.uninstall('myApp')

update

update 명령을 사용하여 비대화식 모드에서 애플리케이션을 업데이트하십시오. 이 명령은 애플리케이션 하위 컴포넌트 또는 전체 애플리케이션의 추가, 제거 및 업데이트를 지원합니다. 애플리케이션 이름, 컨텐츠 유형 및 업데이트 옵션을 제공합니다.

대상 오브젝트

없음.

필수 매개변수

application name
업데이트할 애플리케이션의 이름을 지정합니다.
content type
content type 매개변수를 사용하여 애플리케이션 일부 또는 전체 애플리케이션을 업데이트할 것인지 표시하십시오. 다음 목록은 update 명령의 유효한 컨텐츠 유형 값입니다.
  • app - 전체 애플리케이션을 업데이트할 것을 표시합니다. 이 옵션은 install 명령에서 update 옵션을 표시하는 것과 같습니다. 컨텐츠 유형으로 app 값을 사용할 경우 operation 옵션 값으로 update를 지정해야 합니다. 컨텐츠 옵션을 사용하여 새 엔터프라이즈 아카이브(EAR) 파일을 제공하십시오. 바인딩 정보와 애플리케이션 옵션을 지정할 수도 있습니다. 기본적으로, 설치된 모듈의 바인딩 정보는 업데이트된 모듈에 대한 바인딩 정보와 병합됩니다. 이 기본 작동을 변경하려면 update.ignore.old 또는 update.ignore.new 옵션을 지정하십시오.
  • file - 단일 파일을 업데이트할 것을 표시합니다. 배치된 애플리케이션 내의 범위에서 개별 파일을 추가, 제거 또는 업데이트할 수 있습니다. 컨텐츠 유형으로 file 값을 사용할 경우 operation 옵션을 사용하여 파일에서 조작을 수행해야 합니다. 조작 유형에 따라 추가 옵션이 필요합니다. 파일 추가 및 업데이트의 경우, contents 및 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 내용 및 파일 URI를 제공해야 합니다. 파일 삭제의 경우, 유일한 필수 입력인 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 URI을 제공해야 합니다. 제공하는 다른 옵션은 무시됩니다.
  • modulefile - 모듈을 업데이트할 것을 표시합니다. 개별 애플리케이션 모듈을 추가, 제거 또는 업데이트할 수 있습니다. 컨텐츠 유형으로 modulefile 값을 지정할 경우, operation 옵션을 사용하여 모듈에서 수행할 조작을 표시해야 합니다. 조작 유형에 따라 추가 옵션이 필요합니다. 새 모듈을 설치하거나 애플리케이션에서 기존 모듈을 업데이트할 경우, contents 및 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 컨텐츠 및 파일 URI을 표시해야 합니다. 새 모듈이나 업데이트된 모듈에 관련되는 바인딩 정보와 애플리케이션 옵션을 지정할 수도 있습니다. 모듈 업데이트의 경우, 기본적으로 설치된 모듈의 바인딩 정보는 입력 모듈에 대한 바인딩 정보와 병합됩니다. 이 기본 작동을 변경하려면 update.ignore.old 또는 update.ignore.new 옵션을 지정하십시오. 모듈을 삭제하려면 EAR 파일 루트에 상대적인 파일 URL을 표시하십시오.
    제한사항: 일반적으로, 선택적 패키지나 라이브러리 내의 클래스와 같이 모듈 외부의 기타 클래스에 의존하는 경우 모듈을 추가하거나 업데이트할 수 없습니다. 클라이언트 측 처리는 자체 검사 입력 모듈 클래스와 관련되며 클래스 종속 항목이 분석되지 않으면 이 클래스를 로드할 수 없습니다. wsadmin 스크립팅을 통해 액세스 가능한 파일 시스템에서 사용할 수 있는 필수 클래스를 작성한 경우 모듈을 추가하거나 업데이트할 수 있습니다. wsadmin 스크립팅을 통해, profile_root/properties/wsadmin.properties 파일에서 com.ibm.ws.scripting.classpath 특성을 수정하여 클래스 로더가 분석할 수 있도록 이 클래스를 포함할 수 있습니다.
  • partialapp - 부분 애플리케이션을 업데이트할 것을 표시합니다. 압축된 .zip 파일 형식으로 제공되는 애플리케이션 컴포넌트 서브세트를 사용하여 파일 및 모듈을 업데이트, 추가 및 삭제할 수 있습니다. 압축된 파일이 유효한 J2EE(Java 2 platform, Enterprise Edition) 아카이브가 아닙니다. 대신, EAR 파일에 나타나는 것과 동일한 계층 구조로 애플리케이션 아티팩트를 포함합니다. 부분 애플리케이션 압축 파일을 구성하는 방법에 대한 자세한 정보는 Java API 절을 참조하십시오. partialapp 값을 컨텐츠 유형으로 표시할 경우, 컨텐츠 옵션을 사용하여 압축 파일의 위치를 지정하십시오. 부분 애플리케이션을 업데이트 입력으로 제공할 경우, 바인딩 정보와 애플리케이션 옵션을 지정할 수 없으며 제공하면 무시됩니다.

선택적 매개변수

options
update 명령에 사용할 수 있는 여러 옵션이 있습니다. update 명령에 유효한 각 옵션 목록은 wsadmin 스크립트 옵션을 사용한 AdminApp 오브젝트 install, installInteractive, edit, editInteractive, update 및 updateInteractive 명령의 옵션의 내용을 참조하십시오.

샘플 출력

Update of singleFile has started.
ADMA5009I: Application archive extracted at C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0\ext
Added files from partial ear: []
performFileOperation: source=C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0\ext,
dest=C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0\mrg, uri= META-INF/web.xml, op= add
Copying file from C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0\ext/META-INF/web.xml to 
C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0\mrg\META-INF\web.xml
Collapse list is: []
FileMergeTask completed successfully
ADMA5005I: Application singleFile configured in WebSphere repository
delFiles: []
delM: null
addM: null
Pattern for remove loose and mod:
Loose add pattern: META-INF/[^/]*|WEB-INF/[^/]*|.*wsdl
root file to be copied: META-INF/web.xml to 
C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a191b4e\workspace\cells\BAMBIE\applications\
singleFile.ear\deployments\singleFile/META-INF/web.xml
ADMA5005I: Application singleFile configured in WebSphere repository xmlDoc: [#document: null]
root element: [app-delta: null]
****** delta file name: C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a191b4e\workspace\cells\BAMBIE\applications\
singleFile.ear/deltas/delta-1079548405564
ADMA5005I: Application singleFile configured in WebSphere repository
ADMA6011I: Deleting directory tree C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a1960f0
ADMA5011I: Cleanup of temp dir for app singleFile done.
Update of singleFile has ended.

예제

  • Jacl 사용:
    [AIX Solaris HP-UX Linux Windows]
    $AdminApp update myApp file {-operation add -contents c:/apps/myApp/web.xml 
    -contenturi META-INF/web.xml}
    [z/OS]
    $AdminApp update myApp file {-operation add -contents /apps/myApp/web.xml 
    -contenturi META-INF/web.xml}
  • Jython 사용:
    [AIX Solaris HP-UX Linux Windows]
    print AdminApp.update('myApp', 'file', '[-operation add -contents c:/apps/myApp/web.xml 
    -contenturi META-INF/web.xml]')
    [z/OS]
    print AdminApp.update('myApp', 'file', '[-operation add -contents /apps/myApp/web.xml 
    -contenturi META-INF/web.xml]')
  • Jython 목록 사용:
    [AIX Solaris HP-UX Linux Windows]
    print AdminApp.update('myApp', 'file', ['-operation', 'add', '-contents', 'c:/apps/myApp/web.xml',
     '-contenturi',  'META-INF/web.xml'])
    [z/OS]
    print AdminApp.update('myApp', 'file', ['-operation', 'add', '-contents', '/apps/myApp/web.xml', 
    '-contenturi',  'META-INF/web.xml'])

updateAccessIDs

updateAccessIDs 명령을 사용하여 애플리케이션에 정의된 다양한 역할에 지정된 사용자 및 그룹에 대한 액세스 ID 정보를 업데이트하십시오. 시스템이 사용자 레지스트리에서 액세스 ID를 읽고 애플리케이션 바인딩에 ID를 저장합니다. 이 조작은 애플리케이션의 런타임 성능을 향상시킵니다. 애플리케이션을 설치한 후 또는 설치된 애플리케이션에 대한 보안 역할 특정 정보를 편집한 후 이 명령을 사용하십시오. wsadmin 도구에 대한 -conntype 옵션이 NONE으로 설정된 경우 이 메소드를 호출할 수 없습니다. 이 명령을 호출하려면 서버에 연결해야 합니다.

대상 오브젝트

없음.

필수 매개변수

application name
관심있는 애플리케이션의 이름을 지정합니다.
bALL
bALL 부울 매개변수는 애플리케이션 바인딩에서 사용자 및 그룹에 대한 모든 액세스 ID를 가져오고 저장합니다. 애플리케이션 바인딩에 액세스 ID가 없는 사용자 또는 그룹에 대한 액세스 ID를 검색하려면 false를 지정하십시오.

예제

  • Jacl 또는 true 사용:
    $AdminApp updateAccessIDs myapp true
  • Jacl을 false로 사용:
    $AdminApp updateAccessIDs myapp false
  • Jython을 true로 사용:
    print AdminApp.updateAccessIDs('myapp', 1)
  • Jython을 false로 사용:
    print AdminApp.updateAccessIDs('myapp', 0)

updateInteractive

애플리케이션 하위 컴포넌트나 전체 애플리케이션을 추가, 제거 및 업데이트하려면 updateInteractive 명령을 사용하십시오. 대화식 모드를 사용하여 애플리케이션 모듈이나 전체 애플리케이션을 업데이트할 때, 바인딩 정보를 구성하기 위해 사용하는 단계는 installInteractive 명령에 적용되는 단계와 유사합니다. 파일이나 부분 애플리케이션을 업데이트할 경우 바인딩 정보를 구성하기 위해 사용하는 단계는 사용할 수 없습니다. 이 경우에는 update 명령에서 사용하는 단계와 같습니다.

대상 오브젝트

없음.

필수 매개변수

application name
업데이트할 애플리케이션의 이름을 지정합니다.
content type
content type 매개변수를 사용하여 애플리케이션 일부 또는 전체 애플리케이션을 업데이트할 것인지 표시하십시오. 다음 목록은 updateInteractive 명령의 유효한 컨텐츠 유형 값입니다.
  • app - 전체 애플리케이션을 업데이트할 것을 표시합니다. 이 옵션은 install 명령에서 update 옵션을 표시하는 것과 같습니다. 컨텐츠 유형으로 app 값을 사용할 경우 operation 옵션 값으로 update를 지정해야 합니다. 컨텐츠 옵션을 사용하여 새 엔터프라이즈 아카이브(EAR) 파일을 제공하십시오. 바인딩 정보와 애플리케이션 옵션을 지정할 수도 있습니다. 기본적으로, 설치된 모듈의 바인딩 정보는 업데이트된 모듈에 대한 바인딩 정보와 병합됩니다. 이 기본 작동을 변경하려면 update.ignore.old 또는 update.ignore.new 옵션을 지정하십시오.
  • file - 단일 파일을 업데이트할 것을 표시합니다. 배치된 애플리케이션 내의 범위에서 개별 파일을 추가, 제거 또는 업데이트할 수 있습니다. 컨텐츠 유형으로 file 값을 사용할 경우 operation 옵션을 사용하여 파일에서 조작을 수행해야 합니다. 조작 유형에 따라 추가 옵션이 필요합니다. 파일 추가 및 업데이트의 경우, contents 및 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 내용 및 파일 URI를 제공해야 합니다. 파일 삭제의 경우, 유일한 필수 입력인 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 URI을 제공해야 합니다. 제공하는 다른 옵션은 무시됩니다.
  • modulefile - 모듈을 업데이트할 것을 표시합니다. 개별 애플리케이션 모듈을 추가, 제거 또는 업데이트할 수 있습니다. 컨텐츠 유형으로 modulefile 값을 지정할 경우, operation 옵션을 사용하여 모듈에서 수행할 조작을 표시해야 합니다. 조작 유형에 따라 추가 옵션이 필요합니다. 새 모듈을 설치하거나 애플리케이션에서 기존 모듈을 업데이트할 경우, contents 및 contenturi 옵션을 사용하여 EAR 파일 루트에 상대적인 파일 컨텐츠 및 파일 URI을 표시해야 합니다. 새 모듈이나 업데이트된 모듈에 관련되는 바인딩 정보와 애플리케이션 옵션을 지정할 수도 있습니다. 모듈 업데이트의 경우, 기본적으로 설치된 모듈의 바인딩 정보는 입력 모듈에 대한 바인딩 정보와 병합됩니다. 이 기본 작동을 변경하려면 update.ignore.old 또는 update.ignore.new 옵션을 지정하십시오. 모듈을 삭제하려면 EAR 파일 루트에 상대적인 파일 URL을 표시하십시오.
    제한사항: 일반적으로, 선택적 패키지나 라이브러리 내의 클래스와 같이 모듈 외부의 기타 클래스에 의존하는 경우 모듈을 추가하거나 업데이트할 수 없습니다. 클라이언트 측 처리는 자체 검사 입력 모듈 클래스와 관련되며 클래스 종속 항목이 분석되지 않으면 이 클래스를 로드할 수 없습니다. wsadmin 스크립팅을 통해 액세스 가능한 파일 시스템에서 사용할 수 있는 필수 클래스를 작성한 경우 모듈을 추가하거나 업데이트할 수 있습니다. wsadmin 스크립팅을 통해, profile_root/properties/wsadmin.properties 파일에서 com.ibm.ws.scripting.classpath 특성을 수정하여 클래스 로더가 분석할 수 있도록 이 클래스를 포함할 수 있습니다.
  • partialapp - 부분 애플리케이션을 업데이트할 것을 표시합니다. 압축된 .zip 파일 형식으로 제공되는 애플리케이션 컴포넌트 서브세트를 사용하여 파일 및 모듈을 업데이트, 추가 및 삭제할 수 있습니다. 압축된 파일이 유효한 J2EE(Java 2 platform, Enterprise Edition) 아카이브가 아닙니다. 대신, EAR 파일에 나타나는 것과 동일한 계층 구조로 애플리케이션 아티팩트를 포함합니다. 부분 애플리케이션 압축 파일을 구성하는 방법에 대한 자세한 정보는 Java API 절을 참조하십시오. partialapp 값을 컨텐츠 유형으로 표시할 경우, 컨텐츠 옵션을 사용하여 압축 파일의 위치를 지정하십시오. 부분 애플리케이션을 업데이트 입력으로 제공할 경우, 바인딩 정보와 애플리케이션 옵션을 지정할 수 없으며 제공하면 무시됩니다.

선택적 매개변수

options
updateInteractive 명령에 사용할 수 있는 여러 옵션이 있습니다. updateInteractive 명령에 유효한 각 옵션 목록은 wsadmin 스크립트 옵션을 사용한 AdminApp 오브젝트 install, installInteractive, edit, editInteractive, update 및 updateInteractive 명령의 옵션의 내용을 참조하십시오.

샘플 출력

Getting tasks for: myApp
WASX7266I: A was.policy file exists for this
application; would you like to display it? [No]

Task[4]: Binding 엔터프라이즈 Beans to JNDI names
Each non message driven 엔터프라이즈 Bean in your
application or module must be bound to a JNDI name.

EJB Module:  Increment EJB module
EJB:  Increment
URI:  Increment.jar,META-INF/ejb-jar.xml
JNDI Name:  [Inc]:

Task[10]: Specifying the default data source for 
EJB 2.x modules
Specify the default data source for 
the EJB 2.x Module containing 2.x CMP beans.

WASX7349I: Possible value for resource
authorization is container or per connection factory
EJB Module:  Increment EJB module
URI:  Increment.jar,META-INF/ejb-jar.xml
JNDI Name:  [DefaultDatasource]:
Resource Authorization:  [Per connection factory]:

Task[12]: Specifying data sources for individual 2.x CMP beans
Specify an optional data source for each
2.x CMP bean. Mapping a specific data source to a CMP bean overrides 
the default data source for the module containing the enterprise bean.

WASX7349I: Possible value for resource
authorization is container or per connection factory
EJB Module:  Increment EJB module
EJB:  Increment
URI:  Increment.jar,META-INF/ejb-jar.xml
JNDI Name:  [DefaultDatasource]:
Resource Authorization:  [Per connection factory]:container
Setting "Resource Authorization" to "cmpBinding.container"

Task[14]: Selecting Application Servers
Specify the application server where you want
to install modules that are contained in your application.
Modules can be installed on the same server or
dispersed among several servers.

Module:  Increment EJB module
URI:  Increment.jar,META-INF/ejb-jar.xml
Server:  [WebSphere:cell=myCell,node=myNode,server=server1]:

Task[16]: Selecting method protections for
unprotected methods for 2.x EJB
Specify whether you want to assign security role to the unprotected method, add the method to the exclude list, or mark 
the method as unchecked.
EJB Module:  Increment EJB module
URI:  Increment.jar,META-INF/ejb-jar.xml
Protection Type:  [methodProtection.uncheck]:
Task[18]: Selecting backend ID
Specify the selection for the BackendID
EJB Module:  Increment EJB module
URI:  Increment.jar,META-INF/ejb-jar.xml
BackendId list:  CLOUDSCAPE_V50_1
CurrentBackendId:  [CLOUDSCAPE_V50_1]:

Task[21]: Specifying application options
Specify the various options available
to prepare and install your application.

Pre-compile JSP:  [No]:
Deploy EJBs:  [No]:
Deploy WebServices:  [No]:

Task[22]: Specifying EJB deploy options
Specify the options to deploy EJB.
....EJB Deploy option is not enabled.

Task[24]: Copy WSDL files
Copy WSDL files
....This task does not require any user input

Task[25]: Specify options to deploy web services
Specify options to deploy web services
....Web services deploy option is not enabled.
Update of myApp has started.

ADMA5009I: Application archive extracted at C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a48e969\ext/Increment.jar
FileMergeTask completed successfully
ADMA5005I: Application myApp configured in WebSphere repository
delFiles: []
delM: null
addM: [Increment.jar, ]
Pattern for remove loose and mod:
Loose add pattern: META-INF/[^/]*|WEB-INF/[^/]*|.*wsdl
root file to be copied: 
META-INF/application.xml to C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/META-INF/application.xml
del files for full module add/update: []
ADMA6017I: Saved document C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/Increment.jar\META-INF/ejb-jar.xml
ADMA6016I: Add to workspace Increment.jar/META-INF/ejb-jar.xml
ADMA6017I: Saved document C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/Increment.jar\META-INF/MANIFEST.MF
ADMA6016I: Add to workspace Increment.jar/META-INF/MANIFEST.MF
ADMA6017I: Saved document C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/Increment.jar\META-INF/ibm-ejb-jar-bnd.xmi
ADMA6016I: Add to workspace Increment.jar/META-INF/ibm-ejb-jar-bnd.xmi
ADMA6017I: Saved document C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/Increment.jar\META-INF/Table.ddl
ADMA6016I: Add to workspace Increment.jar/META-INF/Table.ddl
ADMA6017I: Saved document C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear\deployments\testSM/Increment.jar\META-INF/ibm-ejb-jar-ext.xmi
ADMA6016I: Add to workspace Increment.jar/META-INF/ibm-ejb-jar-ext.xmi
add files for full module add/update: [Increment.jar/META-INF/ejb-jar.xml, Increment.jar/META-INF/MANIFEST.MF, 
Increment.jar/META-INF/ibm-ejb-jar-bnd.xmi, 
Increment.jar/META-INF/Table.ddl, Increment.jar/META-INF/ibm-ejb-jar-ext.xmi]
ADMA5005I: Application myApp configured in WebSphere repository
xmlDoc: [#document: null]
root element: [app-delta: null]
****** delta file name: C:\asv\b0403.04\WebSphere\AppServer\wstemp\Scriptfb5a487089\workspace\cells\BAMBIE\
applications\testSM.ear/deltas/delta-1079551520393
ADMA5005I: Application myApp configured in WebSphere repository
ADMA6011I: Deleting directory tree C:\DOCUME~1\lavena\LOCALS~1\Temp\app_fb5a48e969
ADMA5011I: Cleanup of temp dir for app myApp done.
Update of myApp has ended.

예제

  • Jacl 사용:
    [AIX Solaris HP-UX Linux Windows]
    $AdminApp updateInteractive myApp modulefile {-operation add -contents c:/apps/myApp/Increment.jar 
    -contenturi Increment.jar -nodeployejb -BindJndiForEJBNonMessageBinding {{"Increment EJB module" 
    Increment Increment.jar,META-INF/ejb-jar.xml Inc}}}
    [z/OS]
    $AdminApp updateInteractive myApp modulefile {-operation add -contents /apps/myApp/Increment.jar 
    -contenturi Increment.jar -nodeployejb -BindJndiForEJBNonMessageBinding {{"Increment EJB module" 
    Increment Increment.jar,META-INF/ejb-jar.xml Inc}}}
  • Jython 사용:
    [AIX Solaris HP-UX Linux Windows]
    print AdminApp.updateInteractive('myApp', 'modulefile', '[-operation add -contents c:/apps/myApp/Increment.jar 
    -contenturi Increment.jar -nodeployejb -BindJndiForEJBNonMessageBinding [["Increment EJB module" 
    Increment Increment.jar,META-INF/ejb-jar.xml Inc]]]')
    [z/OS]
    print AdminApp.updateInteractive('myApp', 'modulefile', '[-operation add -contents /apps/myApp/Increment.jar 
    -contenturi Increment.jar -nodeployejb -BindJndiForEJBNonMessageBinding [["Increment EJB module" 
    Increment Increment.jar,META-INF/ejb-jar.xml Inc]]]')
  • Jython 목록 사용:
    [AIX Solaris HP-UX Linux Windows]
    bindJndiForEJBValue = [["Increment EJB module", "Increment","Increment.jar,META-INF/ejb-jar.xml", "Inc"]]
    
    print AdminApp.updateInteractive('myApp', 'modulefile', ['-operation', 'add',
     '-contents', 'c:/apps/myApp/Increment.jar', '-contenturi', 'Increment.jar', '-nodeployejb',
     '-BindJndiForEJBNonMessageBinding', bindJndiForEJBValue])
    [z/OS]
    bindJndiForEJBValue = [["Increment EJB module", "Increment", "Increment.jar,META-INF/ejb-jar.xml", "Inc"]]
    
    print AdminApp.updateInteractive('myApp', 'modulefile', ['-operation', 'add',
     '-contents',  '/apps/myApp/Increment.jar', '-contenturi', 'Increment.jar', '-nodeployejb',
     '-BindJndiForEJBNonMessageBinding', bindJndiForEJBValue])

view

view 명령을 사용하여 application name 매개변수가 지정한 애플리케이션 또는 모듈에 대한 task name 매개변수에 의해 지정된 태스크를 보십시오. 애플리케이션에 대한 유효한 태스크 이름 목록을 얻으려면 옵션으로 -tasknames를 사용하십시오. 그렇지 않으면, 하나 이상의 태스크 이름을 옵션으로 지정하십시오.

대상 오브젝트

없음.

필수 매개변수

이름
보려는 애플리케이션 또는 모듈의 이름을 지정합니다.

선택적 매개변수

bALL
bALL 부울 매개변수는 애플리케이션 바인딩에서 사용자 및 그룹에 대한 모든 액세스 ID를 가져오고 저장합니다. 애플리케이션 바인딩에 액세스 ID가 없는 사용자 또는 그룹에 대한 액세스 ID를 검색하려면 false를 지정하십시오.
-buildVersion
관심있는 애플리케이션의 빌드 버전을 표시할지 여부를 지정합니다.

샘플 출력

태스크 이름 매개변수에 taskoptions 값을 지정한 경우 명령이 다음 정보를 리턴합니다.
MapModulesToServers
MapWebModToVH
MapRolesToUsers
태스크 이름 매개변수에 mapModulesToServers 태스크를 지정한 경우 명령이 다음 정보를 리턴합니다.
MapModulesToServers: Selecting Application Servers

Specify the application server where you want to install the modules that are contained in your 
application. Modules can be installed on the same server or dispersed among several servers:

Module:  adminconsole
URI:  adminconsole.war,WEB-INF/web.xml
Server:  WebSphere:cell=juniartiNetwork,
node=juniartiManager,server=dmgr

예제

다음 view 명령 예제에서는 사용 가능한 각 태스크 이름을 나열합니다.
  • Jacl 사용:
    $AdminApp view DefaultApplication {-tasknames}
  • Jython 사용:
    print AdminApp.view('DefaultApplication', ['-tasknames'])
다음 view 명령 예제는 mapModulesToServer 태스크에 대한 정보를 리턴합니다.
  • Jacl 사용:
    $AdminApp view DefaultApplication {-MapModulesToServers}
  • Jython 사용:
    print AdminApp.view('DefaultApplication', ['-MapModulesToServers'])
다음 view 명령 예제는 AppDeploymentOptions 태스크에 대한 정보를 리턴합니다.
  • Jacl 사용:
    $AdminApp view DefaultApplication {-AppDeploymentOptions}
  • Jython 사용:
    print AdminApp.view('DefaultApplication', '-AppDeploymentOptions')
다음 view 명령 예제는 DefaultApplication 애플리케이션에 대한 빌드 버전을 리턴합니다.
  • Jacl 사용:
    $AdminApp view DefaultApplication {-buildVersion}
  • Jython 사용:
    print AdminApp.view('DefaultApplication', '-buildVersion')

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_adminapp
파일 이름:rxml_adminapp.html