CQ5 DAM上传失败

时间:2014-02-17 09:45:17

标签: cq5 dam

我正在尝试使用dam admin屏幕将资源上传到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

1 个答案:

答案 0 :(得分:0)

移动大小的资产时,最好通过在系统中配置来使用WebDAV [1.XP中的新网络连接; 2.用于Windows 7的地图网络驱动器或用于Windows,cyberduck,用于mac / ioS的webdrive的任何webDAV客户端,如Bitkinex [http://www.bitkinex.com/download]。

建议您同时推荐http://dev.day.com/docs/en/cq/current/dam/dam_upload_asset.htmlhttp://dev.day.com/docs/en/cq/current/dam/dam_media_handlers.html