Maybe its something we can change in live also? I don't see the benefit of having this restriction.. its not used for production systems anyway
-- Morten On Thu, Oct 22, 2015 at 8:46 PM, Halvdan Grelland <[email protected]> wrote: > There seems to be a hardcoded limit of 5 MB (5000000 bytes) in the > DHIS2-live application, so I'm sorry to say it's not something you can get > around by external configuration. > > See line 54 of the following piece of code: > https://github.com/dhis2/dhis2-live/blob/master/src/main/java/org/hisp/dhis/WebAppServer.java > > To change it you'll have to get the code, change the value (to -1 which > means 'unlimited') and build the dhis2-live package yourself, I'm afraid. > > 2015-10-22 12:04 GMT+02:00 Mihayo Mathayo <[email protected]>: > >> yaah it uses jetty but am not sure if the web.xml file is where I can >> extend and what codes should I add to the file. >> On Oct 22, 2015 12:59 PM, "Morten Olav Hansen" <[email protected]> >> wrote: >> >>> Ok, I'm not sure how to configure dhis2 live.. maybe Knut has an idea? I >>> think dhis2-live uses jetty? >>> >>> -- >>> Morten >>> >>> On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo <[email protected]> >>> wrote: >>> >>>> am using the windows version (dhis live version 2.19) >>>> >>>> Warm Regards >>>> >>>> On Thu, Oct 22, 2015 at 12:38 PM, Morten Olav Hansen < >>>> [email protected]> wrote: >>>> >>>>> How are you running this? tomcat + nginx? you probably need to >>>>> increase the maximum post body size >>>>> >>>>> -- >>>>> Morten >>>>> >>>>> On Thu, Oct 22, 2015 at 4:30 PM, Mihayo Mathayo <[email protected]> >>>>> wrote: >>>>> >>>>>> Hello Lars, >>>>>> Am trying to download GIS map report but there is a problem with >>>>>> size limit.Is possible to extend the limit? >>>>>> >>>>>> See the error on the attachment. >>>>>> >>>>>> Regards >>>>>> >>>>>> _______________________________________________ >>>>>> Mailing list: https://launchpad.net/~dhis2-devs >>>>>> Post to : [email protected] >>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs >>>>>> More help : https://help.launchpad.net/ListHelp >>>>>> >>>>>> >>>>> >>>> >>> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

