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
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
How are you running this? tomcat + nginx? you probably need to increase the maximum post body size
On Thu, Oct 22, 2015 at 4:30 PM, Mihayo Mathayo princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
am using the windows version (dhis live version 2.19)
Warm Regards
On Thu, Oct 22, 2015 at 12:38 PM, Morten Olav Hansen mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com wrote:
am using the windows version (dhis live version 2.19)
Warm Regards
–
Morten
On Thu, Oct 22, 2015 at 12:38 PM, Morten Olav Hansen mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
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.
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
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 princehayo@gmail.com:
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” mortenoh@gmail.com wrote:
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
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
On Thu, Oct 22, 2015 at 8:46 PM, Halvdan Grelland halvdanhg@gmail.com 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.
–
Morten
2015-10-22 12:04 GMT+02:00 Mihayo Mathayo princehayo@gmail.com:
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” mortenoh@gmail.com wrote:
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Hi Halvdan Grelland,
Thank you for your response but i cant locate the file WebAppServer.Java in the dhis2-live folders/files.Can you guide me a little bit how to change the size and build the live package again?.Am not afraid to try as i have a backup in case anything goes wrong.
Cheers.
On Thu, Oct 22, 2015 at 4:46 PM, Halvdan Grelland halvdanhg@gmail.com 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 princehayo@gmail.com:
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” mortenoh@gmail.com wrote:
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Hi,
I was referring to changing the actual source code (and then build the live package yourself). Nevermind, though, as we’ve now raised to upload limit to 200 MB in the latest revision.
The latest revision can be downloaded here:
https://www.dhis2.org/download/live/dhis2-live.zip
Halvdan
2015-10-23 10:18 GMT+02:00 Mihayo Mathayo princehayo@gmail.com:
Hi Halvdan Grelland,
Thank you for your response but i cant locate the file WebAppServer.Java in the dhis2-live folders/files.Can you guide me a little bit how to change the size and build the live package again?.Am not afraid to try as i have a backup in case anything goes wrong.
Cheers.
On Thu, Oct 22, 2015 at 4:46 PM, Halvdan Grelland halvdanhg@gmail.com 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 princehayo@gmail.com:
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” mortenoh@gmail.com wrote:
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Thanks,let me try with a new version and will let you know.
Warm regards
On Fri, Oct 23, 2015 at 4:28 PM, Halvdan Grelland halvdanhg@gmail.com wrote:
Hi,
I was referring to changing the actual source code (and then build the live package yourself). Nevermind, though, as we’ve now raised to upload limit to 200 MB in the latest revision.
The latest revision can be downloaded here:
Halvdan
2015-10-23 10:18 GMT+02:00 Mihayo Mathayo princehayo@gmail.com:
Hi Halvdan Grelland,
Thank you for your response but i cant locate the file WebAppServer.Java in the dhis2-live folders/files.Can you guide me a little bit how to change the size and build the live package again?.Am not afraid to try as i have a backup in case anything goes wrong.
Cheers.
On Thu, Oct 22, 2015 at 4:46 PM, Halvdan Grelland halvdanhg@gmail.com 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 princehayo@gmail.com:
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” mortenoh@gmail.com wrote:
Ok, I’m not sure how to configure dhis2 live… maybe Knut has an idea? I think dhis2-live uses jetty?
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Morten
On Thu, Oct 22, 2015 at 4:40 PM, Mihayo Mathayo princehayo@gmail.com 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 mortenoh@gmail.com 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 princehayo@gmail.com 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 : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp