Adobe Experience Manager: Service Pack 21安裝因org.apache.sling.installer.core錯誤而卡住
說明 description
在org.apache.sling.installer.core錯誤訊息出現在error.log中後,AEM 6.5.21的安裝可能無法繼續(視特定套件組合版本而定)。
範例:
01.12.2024 12:34:56.789 *ERROR* [ FelixDispatchQueue] org.apache.sling.installer.factory.configuration FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [ 10] (R 10.1): missing requirement [ org.apache.sling.installer.factory.configuration [ 10] (R 10.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.5.0)(!(version>=2.0.0))) [ caused by: Unable to resolve org.apache.sling.installer.core [ 2] (R 2.1): missing requirement [ org.apache.sling.installer.core [ 2] (R 2.1)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.converter)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [ [ org.apache.sling.installer.factory.configuration [ 10] (R 10.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.5.0)(!(version>=2.0.0)))] )
org.osgi.framework.BundleException: Unable to resolve org.apache.sling.installer.factory.configuration [ 10] (R 10.1): missing requirement [ org.apache.sling.installer.factory.configuration [ 10] (R 10.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.5.0)(!(version>=2.0.0))) [ caused by: Unable to resolve org.apache.sling.installer.core [ 2] (R 2.1): missing requirement [ org.apache.sling.installer.core [ 2] (R 2.1)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.util.converter)(version>=1.0.0)(!(version>=2.0.0)))] Unresolved requirements: [ [ org.apache.sling.installer.factory.configuration [ 10] (R 10.1)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.installer.api.tasks)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix$RefreshHelper.restart(Felix.java:5349)
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4516)
at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:188)
at java.base/java.lang.Thread.run(Thread.java:834)
01.12.2024 12:34:56.890 *INFO* [ FelixDispatchQueue] org.apache.felix.framework FrameworkEvent PACKAGES REFRESHED
環境
AEM 6.5
解決方法 resolution
如果在安裝AEM 6.5.21之前,AEM執行個體中就存在套件組合org.apache.sling.installer.core 3.11.2,就會發生此問題。檢查套件組合版本是否為3.11.2並建立支援案例以取得org.apache.sling.installer.core 3.9.0.B002 (如適用)。
取得較低版本的套件組合後,請遵循下列步驟:
步驟 1.從AEM 6.5.21安裝之前的備份還原AEM執行個體
步驟 2:導覽至Web主控台> OSGi >套裝
步驟 3.按一下「安裝/更新」,然後上傳org.apache.sling.installer.core-3.9.0-B002.jar
步驟 4.重新啟動AEM
步驟 5.安裝AEM 6.5.21
org.apache.sling.installer.core 3.11.2是aem-service-pkg-6.5.13-GRANITE-41158-B0003的一部分,此版本修正了工作流程問題。 降級為3.9.0-B002不會重新引進工作流程問題。 修正的套件在建置時包含3.11.2版以供其他修正。 不過,更新的Service Pack若沒有org.apache.sling.installer.core 3.11.2,也涵蓋相同內容。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f