0

我们不再在我们的应用程序中使用 adobe scene7 集成,因此我使用OSGi 配置禁用了 scene7 捆绑包,即使这样做之后,我仍然在错误日志中看到与 scene7 相关的错误,如下所示。我还可以禁用捆绑com.day.cq.wcm.cq-wcm-webservice-support以避免错误吗?或者有没有其他方法可以避免这个错误?我们正在使用 AEM 6.0

*ERROR* [pool-9-thread-1] com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsServiceImpl Saving statistics on /etc/cloudservices/scene7 failed.
javax.jcr.PathNotFoundException: Node with path /etc/cloudservices/scene7 does not exist.
    at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNode(SessionImpl.java:305)
    at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)
    at com.sun.proxy.$Proxy0.getNode(Unknown Source)
    at com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsServiceImpl.getSubNode(ServicesStatisticsServiceImpl.java:405)
    at com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsServiceImpl.writeScene7Stats(ServicesStatisticsServiceImpl.java:325)
    at com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsServiceImpl.updateStats(ServicesStatisticsServiceImpl.java:207)
    at com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsJob.run(ServicesStatisticsJob.java:60)
    at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:207)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
4

1 回答 1

0

禁用 com.day.cq.wcm.cq-wcm-webservice-support 捆绑包也会影响该环境中的其他云配置设置。为了防止日志被阻塞,您可能可以在 /etc/cloudservices 中仅保留场景 7 的云配置,并删除您的应用程序用于与场景 7 集成的所有其他配置/捆绑包。

于 2016-03-15T07:31:23.283 回答