安裝AEM (6.5.15.0) Service Pack後發生「服務無法使用」錯誤

問題

安裝後 AEM 6.5.15.0 service pack,錯誤發生為:

  • 錯誤 [FelixDispatchQueue] org.apache.sling.scripting.console FrameworkEvent錯誤(org.osgi.framework.BundleException:無法解析org.apache.sling.scripting.console

安裝AEM 6.5.15.0 Service Pack後,CRX/套件組合和起始頁面會顯示服務無法使用的錯誤。

套用至

此解決方案適用於:

  • 所有JEE伺服器上的AEM Forms (在JBoss EAP 7.4.0上執行除外)

解決方案

注意

疑難排解步驟適用於除JBoss EAP 7.4以外的所有應用程式伺服器。

安裝後 AEM 6.5.15.0 service pack,如果CRX/套件組合和起始頁面顯示服務無法使用錯誤,請執行以下步驟:

  1. 停止應用程式伺服器。

  2. 導覽至 [aem-forms root]\crx-repository\launchpad\felix\bundle52

  3. 找到 bundle.info 檔案。

  4. 開啟 bundle.info 在ant文字編輯器中的檔案,並搜尋的套件組合名稱為 org.apache.felix.http.bridge.

    注意

    如果是 bundle.infobundle52 不包含 org.apache.felix.http.bridge 捆綁,檢查 org.apache.felix.http.bridge. 然後導覽至 [aem-forms根]\crx-repository\launchpad\felix\bundle[x] 並在此位置執行後續步驟。

  5. 導航到網址: [aem-forms root]\crx-repository\launchpad\felix\bundle[x]\version0.1.

  6. 搜尋 bundle.jar 並重新命名 bundle.jarbundle.jar.bak.

  7. 複製 Bundle for AEM 6.5 Forms on JEE Service Pack 15 在此位置,從 Software Distribution.

  8. 啟動應用程式伺服器,等待記錄檔穩定並檢查套件組合狀態。

  9. 當所有套件組合都處於作用中狀態時,請安裝 JEE Service Pack 15上AEM 6.5 Forms的片段system/console/bundles 並等待應用程式伺服器穩定下來。

  10. 停止應用程式伺服器。

  11. 導覽至 [aem-forms root]\crx-repository\launchpad\felix\bundle52\version0.1 並刪除 bundle.jar.

  12. 重新命名 bundle.jar.bakbundle.jar.

  13. 啟動應用程式伺服器。

本頁內容