2014-02-17 122 views
0

我試圖使用dam管理屏幕上傳資產到CQ5 DAM。我能夠成功上傳大小不超過5 MB的文件。上傳大小超過5 MB的文件時,出現錯誤消息「無法上傳以下文件:」。這發生在支持HTML5的瀏覽器(FF)和非HTML5瀏覽器(IE)中。CQ5 DAM上傳失敗

當我在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, [email protected]), Config(type=mobiledebug, [email protected]), Config(type=contentsync, [email protected]), 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 

回答