AEMaaCS中封鎖的復寫佇列
Adobe Experience Manager as a Cloud Service (AEMaaCS)中的復寫佇列有時會遭到封鎖。 依照本文的步驟操作,以透過管理員許可權修正此問題。
說明 description
環境
Adobe Experience Manager as a Cloud Service
問題/症狀
其中一個AEMaaCS復寫佇列因為javax.jcr.NamespaceException: Unknown namespace prefix: ns22_exception
而定期遭到封鎖。
棧疊追蹤:
[ EventAdminAsyncThread #3] org.apache.sling.distribution.journal.impl.publisher.DistributionPublisher [ null] Message: Failed attempt (37/infinite) to import the distribution package PackageMessage(pubSlingId=d5e89d11-a40d-4b3f-a8f4-ee478c5b91aa, reqType=ADD, pkgId=dstrpck-1698635668289-1c825ebd-f03d-4d56-97b4-790c169facdc, pkgType=journal_filevault, pkgLength=41118, pubAgentName=publish, userId=replication-service, paths=[ /content/dam/product/photography/129/12999/1299989/PS1299989-731_HB.tif] , deepPaths=[ ] ) at offset=74663574 because of 'javax.jcr.RepositoryException: Some errors occurred while installing packages. Please check the logs for details. First exception is logged as cause.', the importer will retry later,
Stacktrace: org.apache.sling.distribution.common.DistributionException: javax.jcr.RepositoryException: Some errors occurred while installing packages. Please check the logs for details. First exception is logged as cause.
at org.apache.sling.distribution.serialization.impl.vlt.FileVaultContentSerializer.importFromStream(FileVaultContentSerializer.java:159)
at org.apache.sling.distribution.packaging.impl.InMemoryDistributionPackageBuilder.installPackageInternal(InMemoryDistributionPackageBuilder.java:119)
at org.apache.sling.distribution.packaging.impl.AbstractDistributionPackageBuilder.installPackage(AbstractDistributionPackageBuilder.java:156)
at org.apache.sling.distribution.monitor.impl.MonitoringDistributionPackageBuilder.installPackage(MonitoringDistributionPackageBuilder.java:92)
at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.installPackage(VaultDistributionPackageBuilderFactory.java:317)
at org.apache.sling.distribution.journal.bookkeeper.PackageHandler.installAddPackage(PackageHandler.java:78)
at org.apache.sling.distribution.journal.bookkeeper.PackageHandler.apply(PackageHandler.java:61)
at org.apache.sling.distribution.journal.bookkeeper.BookKeeper.importPackage(BookKeeper.java:155)
at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.processQueueItem(DistributionSubscriber.java:396)
at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.fetchAndProcessQueueItem(DistributionSubscriber.java:348)
at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.processQueue(DistributionSubscriber.java:326)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.jcr.RepositoryException: Some errors occurred while installing packages. Please check the logs for details. First exception is logged as cause.
at org.apache.jackrabbit.vault.fs.io.Importer.run(Importer.java:579)
at org.apache.sling.distribution.serialization.impl.vlt.FileVaultContentSerializer.importFromStream(FileVaultContentSerializer.java:151)
... 11 more
Caused by: org.apache.jackrabbit.vault.packaging.PackageException: Error creating/updating node /content/dam/product/photography/129/12999/1299989/PS1299989-731_HB.tif/jcr:content/metadata
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1177)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:976)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1018)
at org.apache.jackrabbit.vault.fs.io.Importer.run(Importer.java:531)
... 12 more
Caused by: javax.jcr.NamespaceException: internal error: failed to resolve namespace prefix
at org.apache.jackrabbit.spi.commons.namespace.SessionNamespaceResolver.getURI(SessionNamespaceResolver.java:62)
at org.apache.jackrabbit.spi.commons.conversion.NameParser.parse(NameParser.java:189)
at org.apache.jackrabbit.spi.commons.conversion.ParsingNameResolver.getQName(ParsingNameResolver.java:64)
at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQName(DefaultNamePathResolver.java:74)
at org.apache.jackrabbit.vault.fs.impl.io.DocViewImporter.updateExistingNode(DocViewImporter.java:1054)
at org.apache.jackrabbit.vault.fs.impl.io.DocViewImporter.addNode(DocViewImporter.java:947)
at org.apache.jackrabbit.vault.fs.impl.io.DocViewImporter.startDocViewNode(DocViewImporter.java:406)
at org.apache.jackrabbit.vault.fs.impl.io.DocViewSAXHandler.startElement(DocViewSAXHandler.java:348)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:510)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2710)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:324)
at org.apache.jackrabbit.vault.fs.io.DocViewParser.parse(DocViewParser.java:254)
at org.apache.jackrabbit.vault.fs.impl.io.AbstractArtifactHandler.importDocView(AbstractArtifactHandler.j
解決方法 resolution
若從Golden-Publish發佈佇列UI中刪除請求,將會解除封鎖佇列。 執行以下指定步驟:
-
解除封鎖Golden-Publish佇列。 移至 AEM開始
>
工具>
部署>
分送UI,方法是按一下[佇列]資料表中具有粗體名稱的資料列。 -
在下一頁,識別並記錄封鎖專案(很可能是「資產」)的路徑,然後選取並選擇從佇列中移除該專案。 如此一來,其餘的啟用作業都能繼續進行。
-
導覽至上一步錄製的路徑中的資產,然後選擇 管理出版物。 選取 取消發佈 和 排程:現在,然後按一下 下一步。
-
僅選取 範圍 頁面上的資產,然後按一下 取消發佈。 如果識別出任何參考,請確認 繼續。
-
確認資產已取消發佈後,請再次導覽至該資產,然後選擇 快速Publish。
-
確認資產已成功發佈,且散佈佇列未遭到封鎖。
在我們的Experience League促銷活動社群中提問
若您有任何關於此主題的疑問或想閱讀之前的已回答問題,請檢視包含本文的Experience League社群部落格,傳送您的問題與意見,並加入我們的Experience League促銷活動社群!
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f