CQ5 DAM上传失败

  • 本文关键字:失败 DAM CQ5 aem dam
  • 更新时间 :
  • 英文 :


我正在尝试使用DAM管理屏幕将资产上传到CQ5 DAM。我能够成功上传大小高达5 MB的文件。上传大小大于5 MB的文件时,我收到一条错误消息"无法上传以下文件:"。这种情况发生在支持HTML5的浏览器(FF)和非HTML5浏览器(IE)中。

当我在firebug控制台中检查POST请求时,我收到一条错误消息,要求我检查服务器中的错误日志。以下是我在错误消息中得到的内容,

服务器遇到内部错误或配置错误,无法完成您的请求。请与服务器管理员联系,webuser@localhost并告知他们错误发生的时间,以及您可能做的任何可能导致错误的事情。服务器错误日志中可能提供了有关此错误的更多信息

但当我搜索错误日志时,我找不到任何与上传失败有关的内容。

我在网上搜索了一下,但找不到这个问题的任何解决方案。如果有人遇到同样的问题并解决了,请告诉我。以下是我在OSGI控制台中查看最近的请求时得到的信息

0 (2014-02-17 02:02:29) TIMER_START{Request Processing}
0 (2014-02-17 02:02:29) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
0 (2014-02-17 02:02:29) LOG Method=POST, PathInfo=/content/dam/test.createasset.html
0 (2014-02-17 02:02:29) TIMER_START{ResourceResolution}
0 (2014-02-17 02:02:29) TIMER_END{0,ResourceResolution} URI=/content/dam/test.createasset.html resolves to Resource=JcrNodeResource, type=nt:folder, superType=null, path=/content/dam/test
0 (2014-02-17 02:02:29) LOG Resource Path Info: SlingRequestPathInfo: path='/content/dam/test', selectorString='createasset', extension='html', suffix='null'
0 (2014-02-17 02:02:29) TIMER_START{ServletResolution}
0 (2014-02-17 02:02:29) TIMER_START{resolveServlet(JcrNodeResource, type=nt:folder, superType=null, path=/content/dam/test)}
0 (2014-02-17 02:02:29) TIMER_END{0,resolveServlet(JcrNodeResource, type=nt:folder, superType=null, path=/content/dam/test)} Using servlet com.day.cq.dam.core.impl.servlet.CreateAssetServlet
0 (2014-02-17 02:02:29) TIMER_END{0,ServletResolution} URI=/content/dam/test.createasset.html handled by Servlet=com.day.cq.dam.core.impl.servlet.CreateAssetServlet
0 (2014-02-17 02:02:29) LOG Applying Requestfilters
0 (2014-02-17 02:02:29) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
0 (2014-02-17 02:02:29) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
0 (2014-02-17 02:02:29) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
0 (2014-02-17 02:02:29) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.aio.aiofilter.AioImageFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.bc.ImageFilter
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
0 (2014-02-17 02:02:29) LOG RedirectFilter did not redirect (method does not match)
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
0 (2014-02-17 02:02:29) LOG Applying Componentfilters
0 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
1 (2014-02-17 02:02:29) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
1 (2014-02-17 02:02:29) TIMER_START{com.day.cq.dam.core.impl.servlet.CreateAssetServlet#0}
1 (2014-02-17 02:02:29) LOG Applying Error filters
1 (2014-02-17 02:02:29) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
1 (2014-02-17 02:02:29) TIMER_START{handleError:status=400}
2 (2014-02-17 02:02:29) TIMER_END{1,handleError:status=400} Using handler /libs/sling/servlet/errorhandler/default.jsp
3 (2014-02-17 02:02:29) 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=org.apache.sling.jcr.resource.JcrPropertyMap@1df6f3d2), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@40016f5c), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@1e3621d8), serializer=Config(type=htmlwriter, config={}))}
4 (2014-02-17 02:02:29) TIMER_END{3,handleError:status=400} Error handler finished
4 (2014-02-17 02:02:29) TIMER_END{3,com.day.cq.dam.core.impl.servlet.CreateAssetServlet#0}
4 (2014-02-17 02:02:29) TIMER_END{4,Request Processing} Request Processing

当移动巨大规模的资产时,最好在您的系统中配置WebDAV[1.XP中的新网络连接;2.为windows 7映射网络驱动器]或任何类似Bitkinex的WebDAV客户端[http://www.bitkinex.com/download]适用于windows、cyberduck、mac/ioS的webdrive。

建议您也参考http://dev.day.com/docs/en/cq/current/dam/dam_upload_asset.html和http://dev.day.com/docs/en/cq/current/dam/dam_media_handlers.html

最新更新