Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
If you get problems while assembly of Scoftware Components (e. g. ESS Web Dynpro scenarios like sap.com/SAP_ESS) in NWDI like: TCSFileCreateException cannot create file ... Mismatch between 'Content-Length'header returned by server and actual length of body, check the settings described below:
Info:Starting Step Repository-export at 2005-10-12 16:41:34.0503 +2:00 Info:Component:sap.com/SAP_ESS Info:Version :JD3_ESS_C.20051012164131 Info:1. PR is of type TCSSoftwareComponent Info:the workspace will be read from DTR Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSFileCreateException: cannot create file: /usr/sap/JTrans/CMS/extract/200510121441310457_sap.com~SAP_ESS~JD3_ESS_C~20051012164131/ SOURCEARCHIVES/DTRSAP_ESS.sc Error creating file /usr/sap/JTrans/CMS/extract/200510121441310457 _sap.com~SAP_ESS~JD3_ESS_C~20051012164131/SOURCEARCHIVES/DTRSAP_ESS.sc from InputStream: Unexpected end of response. Mismatch between 'Content-Length'header returned by server and actual length of body [retrieved: 6295552, expected: 10485760] :cannot create file: /usr/sap/JTrans/CMS/extract/200510121441310457_sap.com~SAP_ESS~JD3_ESS_C~20051012164131/ SOURCEARCHIVES/DTRSAP_ESS.sc Error creating file /usr/sap/JTrans/CMS/extract/200510121441310457 _sap.com~SAP_ESS~JD3_ESS_C~20051012164131/SOURCEARCHIVES/DTRSAP_ESS.sc from InputStream: Unexpected end of response. Mismatch between 'Content-Length'header returned by server and actual length of body [retrieved: 6295552, expected: 10485760] com.sap.cms.tcs.interfaces.exceptions.TCSFileCreateException: cannot create file: /usr/sap/JTrans/CMS/extract/200510121441310457_sap.com~SAP_ESS~JD3_ESS_C~20051012164131/ SOURCEARCHIVES/DTRSAP_ESS.sc Error creating file /usr/sap/JTrans/CMS/extract/ 200510121441310457_sap.com~SAP_ESS~JD3_ESS_C~20051012164131/SOURCEARCHIVES/DTRSAP_ESS.sc from InputStream: Unexpected end of response. Mismatch between 'Content-Length'header returned by server and actual length of body [retrieved: 6295552, expected: 10485760] at com.sap.cms.tcs.core.PropagationRequest.PropagationRequestData.addSourceArchive( PropagationRequestData.java:576) at com.sap.cms.tcs.core.RepositoryExportTask.processRepositoryExport(RepositoryExportTask.java:150) at com.sap.cms.tcs.core.RepositoryExportTask.process(RepositoryExportTask.java:293) at com.sap.cms.tcs.process.ProcessStep.processStep(ProcessStep.java:77) ...
The reason is HTTP timeouts of J2EE engine are to short. Set the following values in your J2EE and restart the engine:
Server -> Services -> HTTP Provider -> Properties -> ServletsLongDataTransferTimeout = 600000
Dispatcher -> Services -> HTTP Provider -> Properties -> KeepAliveTimeOut = 300
After apply this changes the assembly should work now.