SAP Knowledge Base Article - Preview

2654282 - Could not get the maximum request length supported by server.Internal Server Error

Symptom

When checking in files to DTR from NWDS you get a similar error:
FAILED: CHECKIN on activity <activity_description> failed : :Failed to execute operations. Could not get the maximum request length supported by server.Internal Server Error at<ip address>

Probably you had a previous checking error:
Cannot perform all requested operations in one macro since the limit for request length on the DTR server will be reached

For which you implemented note 1556486 - Cannot check in large files into DTR

and modified parameters "com.tssap.dtr.pvc.propagation.maxRequestContentLength" and "com.tssap.dtr.deltav.propagation.maxRequestContentLength" of the dtr repository.properties file at /dtr/ws/system/config/active/registry/repository.properties

In NWDI server side default traces you also find similar errors:

500 Internal Server Error is returned for HTTP request [http://<host>:<port>/dtr/]:
component [DTRServlet],
web module [dtr],
application [sap.com/tc~dtr~enterpriseapp],
DC name [sap.com/tc~dtr~enterpriseapp],
CSN component[BC-CTS-DTR-SRV],

..................................

[EXCEPTION]
javax.servlet.ServletException: java.lang.NumberFormatException: For input string: "50000 "

..................................

Caused by: java.lang.NumberFormatException: For input string: "50000 "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.tssap.dtr.server.deltav.impl.Repository.getMaxRequestContentLength(Repository.java:1521)

..................................

Cannot process an HTTP request to servlet [DTRServlet] in [dtr] web application.
[EXCEPTION]
javax.servlet.ServletException: java.lang.NumberFormatException: For input string: "50000 "


Read more...

Environment

  • SAP NetWeaver Release Independent
  • SAP NetWeaver Developer Studio

Product

SAP NetWeaver all versions

Keywords

NetWeaver Developer Studio, NetWeaver Development, activity , KBA , BC-CTS-DI , Development Infrastructure (NetWeaver Java) , BC-CTS-DTR-CLI , Client , BC-CTS-DTR-SRV , Design Time Repository Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.