Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Long running threads (Jasper Reports) and AM-Pooling

ŠivoOct 6 2013 — edited Oct 6 2013

Hi,

we are developing quite large application with ADF an BC. We have quite a lot of reports generated through Jasper that take quite long time to complete. The result is a PDF document that user gets on the UI so he can download it over download link. Reports that take over an hour to finish are never completed and returned to the user on UI. I think the problem is in AM-Polling because we are using default AM-Polling settings:

<AM-Pooling jbo.ampool.maxinactiveage="600000" jbo.ampool.monitorsleepinterval="600000" jbo.ampool.timetolive="3600000"/>

The AM is destroyed or returned to pool before reports finishes. How to properly configure those settings that even long running threads will do there jobs to the end.

We also modified web.xml as follows:

  <session-config>

    <session-timeout>300</session-timeout>

  </session-config>

Any help appreciated.

Regards, Tadej

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2013
Added on Oct 6 2013
6 comments
1,067 views