Skip to content

Steps for upgrading from Payara 6 to 7 don't mention http-request-timeout-seconds, which could result in large uploads failing after 15 minutes (900 seconds) #12543

Description

@pdurbin

Dear community,
I have just found this issues because of our own problem with the upload of big files. I saw, that exactly after 15 min (900 sec) upload was interrupted with the same exceptions as above. Then I saw "900" here, and then in the guide I found this explicitly set config (increased value of "http-request-timeout-seconds") done by the installation script - https://guides.dataverse.org/en/latest/installation/config.html#http-request-timeout-seconds
The problem is, that after update from Payara6 to Payara7 this config from domain.xml was not copied in our case, because it was not mentioned in the update installation guide for the release 6.10 (see step 7 there). So I had to run ./asadmin command again, as it written in the guide above ("http-request-timeout-seconds"). The config line looks like this in the domain.xml at the end:

      <network-config>
        <protocols>
          <protocol name="http-listener-1">
            <http request-timeout-seconds="7200" max-connections="250" default-virtual-server="server">
              <file-cache></file-cache>
            </http>
            ...
        </protocols>
      </network-config>

So, as for the new versions of Dataverse an update of Payara 6 to Payara 7 is needed, many of us could face this issue with upload/download. Maybe some mentioning of such a config should be also put to the update instructions, same as you mentioned "thread pool size" and "acceptor threads" there on step 7. Maybe some mentioning of this issue in the next release could be practical as well.

Originally posted by @vkush in #7226

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done 🧹

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions