在AEM Forms中啟動Forms時序列化失敗

升級至AEM Forms後,伺服器啟動會因序列化失敗而失敗。 發生此狀況是因為還原序列化防火牆組態遺漏必要的類別白名單或包含衝突的serialFilter設定。 若要修正此問題,請更新還原序列化防火牆設定,並從伺服器啟動設定中移除任何衝突的serialFilter引數。

說明 description

環境

Adobe Experience Manager - Forms (AEM - Forms)

問題/症狀

在伺服器啟動期間發生與此類似的錯誤,導致伺服器無法正常啟動:

[ com.adobe.idp.scheduler.SchedulerServiceImpl] (ServerService Thread Pool -- 259) Error starting scheduler: org.quartz.SchedulerConfigException: Failure occured during job recovery. [ See nested exception: org.quartz.JobPersistenceException: Couldn't store trigger: filter status: REJECTED [ See nested exception: java.io.InvalidClassException: filter status: REJECTED] ]

解決方法 resolution

  1. 前往位於http://hostname:port/lc/system/console/configMgr的系統主控台。

  2. 尋找com.adobe.cq.deserfw.impl.DeserializationFirewallImpl的組態。

  3. 在此組態中,請確定com.adobe.cq.deserfw.impl.DeserializationFirewallImpl.firewall.deserialization.whitelist.name包含下列類別:

    • org.quartz
    • sun.util.calendar.ZoneInfo
    • sun.security.x509.X509CertImpl
    • com.rsa.certj.cert.X509CRL$X509CrlRep
    • org.apache.xmlbeans.impl.values.XmlObjectBase$SerializedRootObject
    • org.apache.xerces.dom
    • sun.security.rsa.RSAPrivateCrtKeyImpl
    • sun.security.rsa.RSAPublicKeyImpl
    • org.jaxen.dom.DocumentNavigator
    • org.quartz.JobDataMap
    • org.quartz.utils.StringKeyDirtyFlagMap
    • double
    • org.quartz.utils.DirtyFlagMap
    • com.sun.proxy.$Proxy356
    • com.rsa.certj.cert.X509CRL
    • com.sun.proxy.$Proxy383
    • org.apache.xml.xml_soap.Map
  4. 儲存您的變更。

  5. 重新啟動您的應用程式伺服器。

如果這些白名單專案存在於還原序列化防火牆設定中,您就不需要新增serialFilter引數就能在Java 11或更新版本上正常運作。 如果您略過這些設定,可能會在伺服器啟動期間發生Quartz工作持續性錯誤或拒絕的序列化嘗試。

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f