AEM与Workfront的集成由于缺少代理配置后缀而返回错误
由于OSGi配置中缺少后缀,首次使用增强型连接器的Adobe Experience Manager (AEM)与Workfront集成失败并出现错误。 要解决此问题,请创建具有正确后缀的代理配置并应用它,以便在AEM和Workfront之间成功进行API通信。
描述 description
环境
- 产品: Adobe Experience Manager (AEM)和Workfront增强型连接器
- 连接器版本: 1.9.21
- 实例: AEM as a Cloud Service (AEMaaCS)
问题/症状
- 错误日志显示Workfront API调用期间的代理检测问题 — Workfront API调用失败,请验证您的代理设置。
- 无法实例化增强连接器的初始云配置。
解决方法 resolution
注意:此解决方案特别适用于AEMaaCS环境,在该环境中,公司代理用于从AEM到Workfront的出站连接。 在继续这些步骤之前,请确保所有其他配置(如API密钥和域名)均已正确设置。
在AEM as a Cloud Service中,无法访问Felix Web控制台(/system/console/configMgr)以应用OSGi配置。 所有OSGi配置(包括Workfront代理设置)都必须在项目的代码库中作为配置文件创建,并使用Cloud Manager进行部署。
要解决Workfront连接器的代理配置问题,请执行以下操作:
-
确定代理配置(例如,
org.apache.http.proxyconfigurator)的OSGi永久标识(PID)。 -
在您的项目配置文件夹(
ui.config)中,创建一个文件,例如:code language-none /apps/<your-project>/config.<runmode>/org.apache.http.proxyconfigurator workfront.cfg.json
设置代理的参数,如主机、端口、凭据等。
有关正确的命名和环境定位,请参阅此文档:
- 为Adobe Experience Manager as a Cloud Service配置OSGi
- 如何在AEM as a Cloud Service中使用OSGi配置?
3.将新配置文件添加到您的Git存储库,并通过Cloud Manager触发部署。 AEM as a Cloud Service运行时将选取配置。
4.部署后,使用Developer Console(通过Cloud Manager)查看活动的OSGi配置。
相关阅读
- 在AEMaaCS用户指南中安装Workfront for Experience Manager增强型连接器。
- 在AEMaaCS用户指南中为Experience Manager增强型连接器配置Workfront。
- 在AEMaaCS用户指南中为AEM as a Cloud Service配置高级联网功能。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f