명령행에서 실행하는 스크립트를 사용하여 주식 시세 샘플을
설치 제거할 수 있습니다. 이를 통해 프로파일에서 샘플을 제거할 수 있습니다.
이 태스크 정보
WebSphere® ESB 설치 시
샘플 갤러리를 설치하도록 선택하면 주식 시세 샘플도
설치됩니다. 즉, 독립형 프로파일을 계속 작성할 때마다 샘플도
설치됩니다. 독립형 프로파일에서 샘플을 실행한 후 정리 프로파일을 시작하려면
이 방법으로 샘플을 설치 제거할 수 있습니다.
프로시저
- 서버를 시작하십시오.
- Windows 플랫폼의 명령행에서 다음 명령을 입력하십시오.
wsadmin -f install_root\samples\bin\ESBStockQuoteSample\uninstall.jacl
-cell cell_name -node node_name -dataSourceName CustomerDatabase
-connectionFactoryName StockQuoteReplyQCF -queueName StockQuoteService_Export
-activationSpecName StockQuoteService_ExportAS -destinationName StockQuoteService_Export
또는 기타 나머지 플랫폼의 경우
다음 명령을 입력하십시오. wsadmin -f install_root/samples/bin/ESBStockQuoteSample/uninstall.jacl
-cell cell_name -node node_name -dataSourceName CustomerDatabase
-connectionFactoryName StockQuoteReplyQCF -queueName StockQuoteService_Export
-activationSpecName StockQuoteService_ExportAS -destinationName StockQuoteService_Export
여기서,
install_root는 WebSphere ESB
설치 위치를 나타내고 cell_name 및 node_name은
프로파일의 셀 및 노드 이름을 나타냅니다.
결과
이 스크립트는 서버에서 주식 시세 샘플 ear 파일을 제거하고
샘플에 작성된 모든 자원을 제거합니다.