一般問題

遺漏安裝 Script 中的參數

如果遺漏安裝 Script 的其中一個參數,則會顯示下列 WebSphere Application Server 訊息:

WASX7017E: Exception received while running file
"<install_dir>/bin/install.jacl"; exception information:
com.ibm.bsf.BSFException: error while eval'ing Jacl expression:
java.lang.IllegalArgumentException
    while executing
"$AdminApp install $earfile $installOptions"

「Web 服務」呼叫時的錯誤使用者認證

如果「Web 服務」呼叫未含授權將事件傳送至「共用事件基礎架構」事件伺服器之使用者或群組的認證, 則下列 WebSphere Application Server 訊息會顯示在管理接收端之伺服器的 SystemOut.log 檔案中:

[12/12/05 13:5 4:21:655 EST] 00000039 SecurityColla A   SECJ0053E: Authorization
failed for HOSTNAME/username while invoking (Bean)ejb/com/ibm/events/bus/EventBu
s createEventNewTx(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent):3 secur
ityName: HOSTNAME/username;accessID: user:hostname/S-1-5-21-3757435101-2826650621
-2974146706-1007 is not granted any of the required roles: eventAdministrator eve
ntCreator catalogAdministrator
[12/12/05 13:54:22:176 EST] 00000039 NotificationC E com.ibm.wtci.was.emitter.No
tificationConsumerSoapImpl processNotifyRuntimeException(RuntimeException) Caugh
t RuntimeException:  ; nested exception is: com.ibm.websphere.csi.CSIAccessExcep
tion: SECJ0053E: Authorization failed for hostname/username while invoking (Be
an)ejb/com/ibm/events/bus/EventBus createEventNewTx(org.eclipse.hyades.logging.e
vents.cbe.CommonBaseEvent):3 securityName: hostname/username;accessID: user:HO
STNAME/S-1-5-21-3757435101-2826650621-2974146706-1007 is not granted any of th
e required roles: eventAdministrator eventCreator catalogAdministrator

若要解決此問題,則需要判定與「共用事件基礎架構」伺服器相關聯的使用者或使用者群組, 然後在 HTTP 要求中指派其中一個有效的使用者及密碼,而此要求中含有對服務的「Web 服務」呼叫:

  1. 開啟「WebSphere 管理主控台」。
  2. 瀏覽至應用程式 > 企業應用程式 > EventServer > 將安全角色對映成使用者/群組畫面。
  3. 檢查與 eventCreator 角色相關聯之使用者或群組的清單。
  4. 使用授權清單中的其中一個使用者及其個別密碼,以設定「Web 服務」要求的 HTTP 使用者及密碼。


相關主題
啟用追蹤診斷

母主題
疑難排解