Solved

JSP Excel Report Timeout

Posted on 2006-11-21
6
334 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mysql [Warning] Aborted connection 13 185
library class in java 1 93
difference between member and local variables. 29 140
how to find the dependencies of an EAR or WAR 4 72
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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