My web app uses angularjs for frontend, spring for backend, websphere 8 as app server.
I am trying to submit a request which required to process large amount of data from excel. As a result, the process takes more than 35 minutes while saving into database and the request failed at 15 minutes based on the browser developer tool.
From the frontend, it reported as internal server error 500, unable to complete the request and failed at 15 mins. From the backend log, it is still processing and done after 35 minutes, unable to return response to frontend.
I unable to identify where is this 15 mins from. I wanted to extend this config to 3000seconds.
Following are my attempts,
1st attempt: I tried to extend the transactionManager's timeout to 3000s, and the issue remains.
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
<property name="entityManagerFactory" ref="entityManagerFactory" />
<property name="defaultTimeout" value="3000">
</bean>
2nd attempt: I also tried to configure on websphere based on this:
section: Transaction Service Timeouts Configurations and sadly, the issue still remains.
3rd attempt: I added a timeout for angularjs http request. ref https://docs.angularjs.org/api/ng/service/$http#$http-arguments and the issue still remains.
4th attempt: I altered timeout limit on browser IE based on this Increase timeout limit in Google Chrome and the request still failed at 15mins
Can anyone tell me where to config this 15 mins?