On Sun, Oct 4, 2020, 16:12 Mauro Tridici <mauro.trid...@cmcc.it> wrote:
> > > > On 3 Oct 2020, at 19:32, calder <calder....@gmail.com> wrote: > > > > On Sat, Oct 3, 2020, 11:43 Mauro Tridici <mauro.trid...@cmcc.it> wrote: > > > >> > >>> On 3 Oct 2020, at 17:03, calder <calder....@gmail.com> wrote: > >>> > >>> On Sat, Oct 3, 2020, 09:58 calder <calder....@gmail.com> wrote: > >>> > >>>> On Sat, Oct 3, 2020, 09:01 Mauro Tridici <mauro.trid...@cmcc.it> > wrote: > >>>> > >>>>> > >>>>> > >>>>> On 3 Oct 2020, at 15:14, Christopher Schultz < > >>>>> ch...@christopherschultz.net> wrote: > >>>>> > >>>>> Mauro, > >>>>> > >>>>> On 10/3/20 08:47, Mauro Tridici wrote > >>>>> > >>>>> I’m struggling with the problem mentioned in this mail subject. > >>>>> When I try to download a 5GB sized file using two different > >>>>> > >>>>> > >>>> < snip > > >>>> > >>>> In your opinion, if the problem is related to the 32-bit overflow, is > >>>>> there something that I can do in order to solve this issue. > >>>>> Since I can’t modify any change to these two applications, I would > like > >>>>> to know if I can do something on the other sides. > >>>>> > >>>> > >>>> > >>>> This issue was reported to the IRODs team, they confirmed it, and > >> pushed a > >>>> fix. You should check your version. > >>>> > >>>> The issue, which is now closed. > >>>> > >>>> https://github.com/irods-contrib/irods-rest/issues/66 > >>>> > >>> > >>> I also see your involvement in this issue, which was marked as a Dup. > >>> > >>> https://github.com/irods-contrib/metalnx-web/issues/130 > >>> > >>> ... and updated here > >>> https://github.com/irods-contrib/metalnx-web/issues/143 > >> > >> > >> Hi Calder, > >> > >> thank you for your help and suggestions. > >> Unfortunately, I’m still experiencing the same problem despite I’m using > >> the last available version. > >> > >> Since I used also a different web application (not MetalNX) and I > noticed > >> the same problem, I was thinking that there is something to be changed > in > >> tomcat configuration. > >> I will try to start again from scentsratch. > >> > > > > Just to be sure ... did you check again to be sure you have the patch > > installed? I ask because two people who had the problem reported back > > that the patch fixed the issue for them. > > > > Reading the comments, they did find where an "int" was being used for > > "contentLength" in the code. > > > >> > > > > Yes, Calder, I checked it. > I also changed installation mode: I deployed MetalNX using docker-compose > (as indicate in the updated official page) > So, I think that also during installation latest version of MetalNX is > used. > > Now, my question is: why using two different web applications I obtained > the same behaviour? > Is there something to be changed in tomcat configuration? Another user, on > this forum, mentioned a “32bit problem”. > My virtual machine has a 64bit OS. I need to change it? Sorry for this > stupid question... > The "bit-ness" of the operating system doesn't influence the size (range) of Java integers ... also, an "int" is the same size in a 32bit JVM and 64bit JVM. You mention you have two different Java applications running on Tomcat ... do they both use IRODS? Or does one application use IRODS and the other application use some other library?