With the mergepatientdata module, you can export a good number of patient and encounter, I dowloaded over 2000+ patients with their encounter and these made up a file of around 89mbs, on trying to upload this file file to another server, I hit upon this
org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 75000000 bytes exceeded; nested exception is org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
I thought by default the spring multipart system has no limit!
However, I tried to override this by adding this bean in my webModuleApplicationContext.xml
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSize" value="-1"/> </bean>
I expect that to set it to an infinite value but actually this doesn’t work
Could I be missing something?