Skip to Content
avatar image
Former Member

SOA Web Service says: Content size limit exceeded by this resource

Hi,

for accessing documents in the KM of the Portal (NW 7.3) out of a web dynpro application we are using a standard repository web service. Everything is working fine except if we are uploading larger files. For example we are getting the following error after uploading a PDF file larger than 2 MB:

<yq1:getContent_com.sap.netweaver.bc.rf.ws.exception.OperationFailedException xmlns:pns="urn:com.sap.netweaver.bc.rf.ws.exception" xmlns:yq1="urn:/RepositoryFrameworkWSVi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"><pns:callStack>OperationFailedException[MessageText: Content size limit exceeded by this resource!|ExceptionName: OperationFailedException|CallStack: null]                     at com.sap.netweaver.bc.rf.ws.content.Content.&amp;lt;init&amp;gt;(Content.java:88)                     at com.sap.netweaver.bc.rf.ws.content.ContentManager.getContent(ContentManager.java:57)                     at com.sap.netweaver.bc.rf.ws.bean.RepositoryFrameworkBean.getContent(RepositoryFrameworkBean.java:5729)                     at sun.reflect.GeneratedMethodAccessor1354.invoke(Unknown Source)                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                     at java.lang.reflect.Method.invoke(Method.java:597)                     at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)                     at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)                     at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)                     at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:204)                     at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)                     at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)                     at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)                     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)                     at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)                     at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)                     at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)                     at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)                     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:457)                     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)                     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)                     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)                     at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)                     at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)                     at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)                     at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)                     at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)                     at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)                     at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)                     at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)                     at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)                     at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)                     at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)                     at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)                     at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)                     at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)                     at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)</pns:callStack><pns:exceptionName>OperationFailedException</pns:exceptionName><pns:messageText>Content size limit exceeded by this resource!</pns:messageText></yq1:getContent_com.sap.netweaver.bc.rf.ws.exception.OperationFailedException>

Are there any settings where we can increase the content size limit to solve this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 16, 2013 at 02:02 PM

    Hi Manuel,

    Maybe have a look at this thread for some useful tips:

    http://scn.sap.com/thread/1985925

    Regards, Trevor

    Add comment
    10|10000 characters needed characters exceeded