3923:無法在 Oracle Application Server 上的 [主控台一般作業] 頁面上建立實體 (IDP 或 SP)
1977:WebSphere Application Server 6.1 上的 SAMLv2 範例 configure.jsp 檔案失敗
當 OpenSSO Enterprise 部署在 Oracle Application Server 上時,在 [主控台一般作業] 頁面上建立實體 (IDP 或 SP) 會產生異常。
解決方法。當 opensso.war 部署在 Oracle Application Server 上時,停用部署計劃檢視中 oracle.xml 檔案的匯入選項 ([部署:部署設定] > [配置類別載入] > [oracle.xml])。
所有 ID-FF 記錄檔記錄均有相同的環境 (或登入) ID,即使它們用於不同的使用者。
logout.jsp 檔案需要 JDK 1.5,但在 IBM WebSphere Application Server 6.1 上,JSP 檔案的 JDK 來源層級設為 JDK 1.3。
解決方法。請參閱1977:WebSphere Application Server 6.1 上的 SAMLv2 範例 configure.jsp 檔案失敗的解決方法。
在 WebSphere Application Server 6.1 實例上,無法編譯 /sample/saml2/sp/configure.jsp 和 /sample/saml2/idp/configure.jsp 檔案。configure.jsp 檔案需要 JDK 1.5,但在 WebSphere Application Server 6.1 上,JSP 檔案的 JDK 來源層級會設為 JDK 1.3。
解決方法:編輯 JSP 引擎配置參數,以將 JDK 來源層級設為 1.5:
開啟 WEB-INF/ibm-web-ext.xmi 檔案。
JSP 引擎配置參數儲存在 WEB-INF/ibm-web-ext.xmi 檔案中的 Web 模組配置目錄或 Web 模組二進位目錄中:
配置目錄。例如:
{WAS_ROOT}/profiles/profilename/config/cells/cellname/applications/ enterpriseappname/deployments/deployedname/webmodulename/
二進位目錄,如果將應用程式部署至 WebSphere Application Server,並將「使用二進位」標幟設為真。例如:
{WAS_ROOT}/profiles/profilename/installedApps/nodename/ enterpriseappname/webmodulename/
刪除 compileWithAssert 參數,方法是刪除檔案中的敘述,或在敘述前後加上註釋標記 (<!— 和 –>)。
增加值為 15 的 jdkSourceLevel 參數。例如:
<jspAttributes xmi:id="JSPAttribute_1" name="jdkSourceLevel" value="15"/>
注意:JSPAttribute_1 中的整數 (_1) 在檔案內必須是唯一的。
儲存 ibm-web-ext.xmi 檔案。
重新啟動應用程式。
如需 jdkSourceLevel 參數與其他 JSP 引擎配置參數的詳細資訊,請參閱: