我是CQ的新手,并且有一个特定于CQ DAM媒体处理程序的问题。我们需要为相机原始格式文件生成缩略图。我参考了下面的adobe文档并安装了imagemagicka:
http://wem.help.adobe.com/enterprise/en_US/10-0/wem/dam/dam_media_handlers.html (基于命令行的媒体处理程序)
我可以在命令行的步骤中运行该工具,但是当我正在编辑“Dam Update Asset”模型时,它无法正常运行并在归档中收到“ABORTED”消息,其中包含以下错误详细信息:
*Forbidden
Cannot serve request to /content/dam/media/1.gif/_jcr_content/metadata/ in org.apache.sling.servlets.get.DefaultGetServlet
Request Progress:
0 (2013-08-13 09:27:33) TIMER_START{Request Processing}
0 (2013-08-13 09:27:33) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
0 (2013-08-13 09:27:33) LOG Method=GET, PathInfo=/content/dam/media/1.gif/_jcr_content/metadata/
0 (2013-08-13 09:27:33) TIMER_START{ResourceResolution}
0 (2013-08-13 09:27:33) TIMER_END{0,ResourceResolution} URI=/content/dam/media/1.gif/_jcr_content/metadata/ resolves to Resource=JcrNodeResource, type=nt:unstructured, superType=null, path=/content/dam/media/1.gif/jcr:content/metadata
0 (2013-08-13 09:27:33) LOG Resource Path Info: SlingRequestPathInfo: path='/content/dam/media/1.gif/jcr:content/metadata', selectorString='null', extension='null', suffix='/'
0 (2013-08-13 09:27:33) TIMER_START{ServletResolution}
0 (2013-08-13 09:27:33) TIMER_START{resolveServlet(JcrNodeResource, type=nt:unstructured, superType=null, path=/content/dam/media/1.gif/jcr:content/metadata)}
0 (2013-08-13 09:27:33) TIMER_END{0,resolveServlet(JcrNodeResource, type=nt:unstructured, superType=null, path=/content/dam/media/1.gif/jcr:content/metadata)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
0 (2013-08-13 09:27:33) TIMER_END{0,ServletResolution} URI=/content/dam/media/1.gif/_jcr_content/metadata/ handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
0 (2013-08-13 09:27:33) LOG Applying Requestfilters
0 (2013-08-13 09:27:33) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
0 (2013-08-13 09:27:33) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
0 (2013-08-13 09:27:33) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
0 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter
0 (2013-08-13 09:27:33) LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
1 (2013-08-13 09:27:33) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
1 (2013-08-13 09:27:33) LOG RedirectFilter did not redirect (request extension does not match)
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl
1 (2013-08-13 09:27:33) LOG Applying Componentfilters
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
1 (2013-08-13 09:27:33) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
1 (2013-08-13 09:27:33) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
1 (2013-08-13 09:27:33) LOG Using org.apache.sling.servlets.get.impl.helpers.StreamRendererServlet to render for extension=null
2 (2013-08-13 09:27:33) LOG Applying Error filters
2 (2013-08-13 09:27:33) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
2 (2013-08-13 09:27:33) TIMER_START{handleError:status=403}
2 (2013-08-13 09:27:33) TIMER_END{0,handleError:status=403} Using handler /libs/sling/servlet/errorhandler/default.jsp
97 (2013-08-13 09:27:33) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobile, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=mobiledebug, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-mobiledebug, values={component-optional=true, jcr:primaryType=nt:unstructured}]), Config(type=contentsync, config=JcrPropertyMap [node=node /libs/cq/config/rewriter/default/transformer-contentsync, values={component-optional=true, jcr:primaryType=nt:unstructured}]), serializer=Config(type=htmlwriter, config={}))}
97 (2013-08-13 09:27:33) TIMER_END{97,Request Processing} Dumping SlingRequestProgressTracker Entries*
答案 0 :(得分:0)
“禁止”听起来有权限问题。
CQ5在给定路径上具有细粒度权限。用户可能有权创建,但不能编辑(反之亦然),甚至只能阅读,甚至不阅读。
http://dev.day.com/docs/en/cq/current/administering/security.html
或者,服务器上还有其他日志可能会显示更多详细信息:
${CQ_HOME}/crx-quickstart/logs/error.log
答案 1 :(得分:0)
谢谢!我找到了这个问题的根本原因。我能够运行命令行工具。要点记住:提供转换命令的完整路径(/ opt / local / bin / convert)而不仅仅是转换,其次是使用命令行工作流组件而不是处理工作流组件。