결과적으로 Enterprise Console Web Services Adapter의 이벤트 소스를 테스트하려면 Enterprise Console 설치 및 이벤트 클래스 정의(Enterprise Console Web Services Adapter에 도달하는 이벤트와 일치함)가 필요합니다.
그러나 다음 단계를 수행하여 Enterprise Console 설치하지 않고도 연결 및 메시지 형식의 유효성을 확인할 수 있습니다.
<adapter_install_dir>/conf/logging.properties
파일을
<adapter_install_dir>/conf/logging.dev.properties
파일로 대체하여
로깅 설정값을 수정하십시오.
이 구성 파일은 어댑터가 시작된 콘솔에 메시지를 표시하도록 어댑터를
강제 실행합니다. Windows
서비스가 아닌 배치 파일로 어댑터를 시작해야 합니다. 그렇지 않으면
메시지를 표시할 콘솔이 없습니다.
화면에는 Enterprise Console Web Services Adapter에 올바르게 처리된 각 이벤트에 대해 여기에 표시된 것과 유사한 결과물이 표시됩니다.
Oct 19, 2005 10:12:59 AM com.ibm.wtci.cbetec.CbeToTec convertCbeArrayToTecEventString(cbeEvents) FINER: ENTRY [org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl@48ded83 (creationTime: 2005-10-19T14:12:54.191Z, globalInstanceId: null, elapsedTime: <unset>, extensionName: Tutorial_Event_Type, localInstanceId: null, msg: Common Event Infrastructure Tutorial, priority: <unset>, repeatCount: <unset>, sequenceNumber: <unset>, severity: 10, version: 1.0.1, any: null, situation: org.eclipse.hyades.logging.events.cbe.impl.SituationImpl@2069ad83 (categoryName: ReportSituation, situationType: org.eclipse.hyades.logging.events.cbe.impl.ReportSituationImpl@3799ad83 (reasoningScope: INTERNAL) (reportCategory: Succeeded)), associatedEvents: null, contextDataElements: null, extendedDataElements: null, msgDataElement: null, reporterComponentId: null, sourceComponentId: org.eclipse.hyades.logging.events.cbe.impl.ComponentIdentificationImpl@17b8ad83 (application: Event Source, component: source.EventSource, componentType: http://www.ibm.com/namespaces/autonomic/Tivoli/Samples, componentIdType: Sample, executionEnvironment: null, instanceId: null, location: unknown, locationType: hostname, processId: null, subComponent: createEvent(), threadId: null))]
관련 항목
어댑터 설치
개요
어댑터 시작
Enterprise
Console 이벤트 클래스 정의
Web Services 인터페이스 정의
이벤트 소스 샘플
상위 주제
어플리케이션 개발