Solved

JSP Excel Report Timeout

Posted on 2006-11-21
6
332 Views
Last Modified: 2013-12-01
When running a web-layout JSP Excel report (as those in 240819.1), if the user
closes his browser or the portal times out the provider, the worker thread and
database query continue running. This eventually uses up the worker threads and
opmn is forced to restart the OC4J.

How can we avoid this?
0
Comment
Question by:rkogelhe
  • 4
  • 2
6 Comments
 
LVL 13

Accepted Solution

by:
anand_2000v earned 125 total points
ID: 18017937
you can set timeout  in sqlnet.ora file
Inactive Session Expiration Time Kill inactive SQLNET sessions

sqlnet.expire_time = <integer_minutes>
0
 
LVL 3

Author Comment

by:rkogelhe
ID: 18021075
Thanks for your comment.

The problem is that the query is still running... I'm not sure that this will help.
0
 
LVL 13

Assisted Solution

by:anand_2000v
anand_2000v earned 125 total points
ID: 18025646
use profiles in Oracle database
there are options of max cpu and max logical reads
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 3

Author Comment

by:rkogelhe
ID: 18039095
In fact, that might help if we could put some sort of query execution time limit in place. I know about profiles, and I suspect we can't put an elapsed time limit on them, but perhaps if we created some sort of on-logon trigger...

The problem also seems more complicated than I initially indicated. In fact on our test server, I tried running a report that went longer than the engine connect timeout, and it times out instead at three minutes. This is either the portal provider timing out or OHS timing out. The engine is correctly killed after two minutes according the the rwserver.trc, but the query continues executing. This is not the case for normal PDF reports. Also, on the production server, when this happens, we see the queue fill up and no more jobs can be executed. I'm not sure why. Still investigating. It would be nice to know exactly how the JSPs use the reports engines and how the reports engines connect to the database, but I can't find any docs on this.
0
 
LVL 3

Author Comment

by:rkogelhe
ID: 18123867
I found out there's a bug 3551449 (internal only) that is caused by the fact that calls to the reports server (the jsp will make several) do not update the running status in the reports server and so it does not know to timeout the engine.
0
 
LVL 3

Author Comment

by:rkogelhe
ID: 18192927
I verified that the bug is the cause of the problem. The patch effects only one class file, so it can be applied to the rwrun.jar even in 9.0.4.0. After applying the patch, the engines are timed out and killed as for PDF reports.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New Website 15 31
Programatically Import a WAR file to my existing Tomcat 5 90
constuctor calling other constructor 2 76
Fisheye tool 2 111
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question