Killing reports in queue

All too often a report job hangs in the queue. When I cancel the job, I get confirming messages, but the job remains in the queue (current jobs), The only way I have found to remedy this is reboot the machine the server is running on.
So far I have been very satisfied with the way Forms runs (on the same machine), but reports seems to be a bit of a headache. Possibly, is there some documentation I have missed? Is there some update to reports to correct its unreliable behavior? I will say that when it does work, it is very fast, but I would hesitate to use this in a production environment if I have to keep rebooting all the time.

Unfortunately, my stand alone reports server can be hung up by a job as well. I am able to see the queue in the browser and kill any successive jobs, but not the "first" job, which is the job that "blocks" the others. Is this a bug that I am not aware of?
One good this is that I seem to be able to kill and restart the service (stand alone reports server) without having to reboot the entire machine, however I would like to have a report server which is as bulletproof as Oracle's RDBMS. Any help or comment is appreciated!

Similar Messages

  • Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs ?

    Hi all,
    Can I use Reports Server Queue PL/SQL Table API to retrieve past jobs using WEB.SHOW_DOCUMENT from Forms ?
    I have reviewed note 72531.1 about using this feature and wonder if i can use this metadata to retrieve past jobs submitted by a user.
    The idea would be to have a form module that can filter data from the rw_server_queue table, say, base on user running the form, and be able to retrieve past jobs from Report Server Queue. For this, one would query this table and use WEB.SHOW_DOCUMENT.
    Is this possible ...?
    Regards, Luis ...!

    Based on that metalink note and the code in the script rw_server.sql, I am pretty sure that by querying the table you would be able accomplish what you want... I have not tested it myself... but it looks that it will work... you have the jobid available from the queue, so you can use web.show_document to retrieve the output previously generated...
    ref:
    -- Constants for p_status_code and status_code in rw_server_queue table (same as zrcct_jstype)
    UNKNOWN CONSTANT NUMBER(2) := 0; -- no such job
    ENQUEUED CONSTANT NUMBER(2) := 1; -- job is waiting in queue
    OPENING CONSTANT NUMBER(2) := 2; -- opening report
    RUNNING CONSTANT NUMBER(2) := 3; -- running report
    FINISHED          CONSTANT NUMBER(2) := 4; -- job has finished
    TERMINATED_W_ERR CONSTANT NUMBER(2) := 5; -- job has terminated with

  • I donot want to put reports in queue

    Dear All,
    We have application server 9i version 1.0.2.0.0 (isuite).
    We don't have any application server administrator (most of us are devlopers).
    On time of running report application server puts all report in queue and executes it one by one.
    I don't want to put in the queue these reports. Whenever user generate report application server should respond immediately instead of waiting in queue.
    I have searched this in the forum i also got the solution which says
    "Increase the maxEngine setting in your report conf file"
    My question is where can i find this file and the variable inside that and to how much should i increase this value.
    Kindly advice.
    Thanking You in anticipation.
    Regards,
    Devendra

    INITENGINE.
    INITENGINE is the initial number of runtime engines started by Oracle Reports Services. The server process spawns this many engines when it is started. It waits two minutes for these engines to connect to it and shuts itself down if they fail to do so. If the engines cannot connect in this amount of time, then there is usually some setup problem. The default value is 1.
    MINENGINE.
    MINENGINE is the minimum number of runtime engines Oracle Reports Services should have available to run reports. The server process attempts to keep at least this many engines active. Ensure that you have sufficient memory and resources available to accommodate this many engines. The default value is 0.
    Note: You can set this parameter from the Queue Manager. Open the Queue Manager and log on as the administrator. Choose Queue->Properties, and then change the change the Simultaneous running engines Min setting.
    MAXENGINE.
    MAXENGINE is the maximum number of runtime engines available to Oracle Reports Services to run reports. The server process attempts to keep no more than this many engines active. Ensure you have sufficient memory and resources available to accommodate this number of engines. The default value is 1.
    Note: You can set this parameter from the Queue Manager. Open the Queue Manager and log on as the administrator. Choose Queue->Properties, and then change the Simultaneous running engines Max setting.
    ENGLIFE.
    ENGLIFE is the maximum number of reports that an engine runs before shutting itself down. Oracle Reports Services then brings up fresh engines for new requests. The default value is 50.
    MAXCONNECT.
    MAXCONNECT is the maximum number of processes that can communicate with the server process at any one time. This setting is the sum of the number of engines and clients, and must be greater than two (at least one engine and one client). The default value is 20.
    ENGINERESPONSETIMEOUT.
    ENGINERESPONSETIMEOUT was introduced to timeout long running or hung reports that will cause the entire report server to hang. This attribute enables Reports Server to detect the hanging engine and perform cleanup. The sooner Reports Server detects the hang, the better the stability of the system. Thus, engineResponseTimeOut must be set carefully.
    MAXIDLE.
    MAXIDLE is the maximum amount of time an engine is allowed to be idle before being shut down. Oracle Reports Services does not shut down the engine if doing so would reduce the number of available engines to less than those defined in the MINENGINE. T default value is 30.
    Note: You can set this parameter from the Queue Manager. Open the Queue Manager and log on as the administrator. Choose Queue->Properties, and then change the Max idle time (minutes) before engine shutdown setting.
    CACHEDIR.
    CACHEDIR is the cache for Oracle Reports Services. CACHEDIR can be set to any directory or logical drive on the machine. If it is not specified, then the default is ORACLE_HOME\REPORTS\SERVER\CACHE. For example:
    CACHEDIR="C:\ORACLE_HOME\Reports\cache"
    CACHESIZE.
    CACHESIZE is the size of the cache in megabytes. If you expect to store the output of many of your reports in Oracle Reports Services cache, then you might want to increase this setting. If you do not expect to store a lot of output in the cache and have limited system resources, then you might want to reduce it. Once the cache grows beyond the set size, Oracle Reports Services cleans up the cached files on a first in, first out basis. The default value is 50.
    Note: You can set this parameter from the Queue Manager. Open the Queue Manager and log on as the administrator. Choose Queue->Properties, and then change the Cache size (MB) setting.

  • Killing report using Killjobid in reportserver 10g hidden?

    Dear All,
    Actually i want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ( l_URL,'_blank') ;
    End;
    this code is worrking verry well. but the problem is when it kills the job it open the webpage that contains the OK buttons to get back to the past running reports.
    So I used this command:
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    but nothing happend, even it doesnt give me any error.
    Is it posible to do that to kill the job without openning the report server, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.
    Edited by: Ashraf Kittaneh on Jan 29, 2011 12:16 AM

    What about the iframe-solution provided in the other thread?

  • Can not kill report job

    Hi all,
    I uses OracleAS9i and run report services. I kill job id 28 but it show a error:
    "Cannot Kill Job with Job ID 28SQL-6550: ORA-06550: line 1, column 13: PLS-00201: identifier 'RW_SERVER.REMOVE_JOB' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored"
    I don't know why, can you hep me? Thanks a lot!
    Trung

    Check http://technology.amis.nl/blog/2892/how-to-stop-running-rman-jobs-in-oem-grid-control
    Eric

  • How to "kill" AWT Event Queue thread without using System.exit()?

    When I run my program and the first GUI window is displayed a new thread is created - "AWT-Event Queue". When my program finishes, this thread stays alive and I think it causes some problems I have experienced lately.
    Is there any possibility to "kill" this thread without using System.exit() (I can't use it for some specific reasons)

    All threads are kept alive by the JVM session. When you use System.exit(int) you kill the current session, thus killing all threads. I'm not sure, though...
    What you could do, to make sure all threads die, is to make ever thread you start member of a thread group. When you want to exit you app, you kill all the threads in the thread group before exit.
    A small example:
    //Should be declared somewhere
    static ThreadGroup threadGroup = new ThreadGroup("My ThreadGroup");
    class MyClass extends Thread {
    super(threadGroup, "MyThread");
    Thread thread = new Thread(threadGroup, "MySecondThread");
    void exit() {
    //Deprecated, seek alternative
    threadGroup.stop();
    System.exit(0);
    }

  • Cannot reschedule report in queue manager

    I'm running Report Server 9.0.4 on iAS (on Windows 2003). After scheduling a periodic job using rwclient.exe I'm trying to use Queue Manager from my XP machine to reschedule the job to run immediately using the orcladmin credentials.
    I click on menu Job->Reschedule, select Immediate, and hit ok. I then get the following error message:
    "The job could not be rescheduled. The job may already be running."
    How do I fix this?
    TIA.
    Ingo Peters

    Hi,
    Thansk for the immediate reply, But unfortunately ias_admin is not the admin user because we have tried it and one more thing i would like to add th at we have a file base repository set in the environment of report servers.
    Now any one have another answer? or can any one give me the file name where i can find the user name and password.
    Thanks,
    $

  • How to find the jobs in reports server queue

    Hi All,
    I am using oracle forms & reports 10g and Oracle application server is 10g.
    Here we have 100 reports servers, so using this URL we can able to find a particular report server.
    http://dhabiapp1.dof.ae:8080/reports/rwservlet/showjobs?server=auh_1
    Is there any possibilities to find all the reports server in a single page.
    Thanks & Regards
    Srikkanth.M

    Hi ccortez,
    Thanks for you reply.
    I have executed the command and its listing all the report servers, but my requirement is to list all the reports server with queue. Is there any possibilities from the front end screen to see all the report server in a single screen.
    Thanks & Regards
    Srikkanth.M

  • Report Print queue settings

    Hi all, 
    I am changing some settings on my print queues. The snmp community names is one of them (for bi-di purposes).
    I would to run a report/audit or simply display it somewhere.. on all print queues to show what community names they are configured with. this way I would able to check if changes have been applied to all or any has been forgotten.
    Servers are 2k3 and 2k8 OS.
    Thank you

    You can use powershell to get a list of WMI print class objects, then loop through the list to get the port name, and determine the SNMP information.   The WMI interface will only enumerate Standard TCP/IP ports.  For any other port types
    you would need to use the spooler API's
     powershell link
    http://technet.microsoft.com/en-us/library/dd347648.aspx
    Alan Morris Windows Printing Team

  • Webutil killed reports

    I recently updated my configuration files for the developer 10G servlet (running locally) to run webutil so that I can test my apps prior to uploading to the common server. Although it was not exactly straight-forward and took some time, I did get everything working in regard to the webutil upgrade. Much to my dismay, I now find that reports that were happily called from my forms prior to webutil give only the error 'FRM-41213: Unable to connect to the report server <repsrv2.'. The report server is running (checked on services) and I can access directly from the rwservlet. Any known issues? Is Oracle ever going to make an appropriately integrated install program to set up reports, forms and webutil seemlessly? (or should we wait for Microsoft to do it for you!).

    The headline of your psot is incorrect. It should have been : "After upgrading to Oracle Forms 10g, Reports Server is no longer found". We do know of a problem that is caused by a conflict between webutil.jar files and Reports jar files, but this is for Oracle Forms 9.0.2.
    Anyway:
    If the Reports Server works from the Servlet then - assuming the RWServlet test has a line server=repserv.. in its URL because otherwise you used the internal server process - you need to check if the Forms references the correct Reports Server name.
    metalink.oracle.com, which is our customer suport contact site, has a note mentioning to copy webutil.jar file to the Reports classpath variable (Reports configuration). Similar, copy the content of the Reports Server classpath variable (Reports JAR file) to the Forms Services classpath (default.env file in forms90/server). As said, its a Form s9i problem and has been solved for Forms 10g, so chances are rare that this is the problem you are hitting.
    This for the technical aspect of your question, now allow me a few private words
    Is Oracle ever going to make an appropriately integrated install program to set up reports, forms and webutil seemlessly? (or should we wait for Microsoft to do it for you!).>
    This line above is a bit too agressive and flaming for my taste. First, Oracle does set up Oracle Forms and Reports 10g to work out of the box!
    Second, Microsoft is not a good choice to threaten us with, not in a sense that we are becoming more eager in answering your questions. In fact, many problems exist because of ...
    Larry, this is a public forum where Oracle employees voluntarily spend their time to help customers. Mainly it is supposed to be a customer-helps-customer community forum in which peers share their knowledge. You come to this forum and ask a question. If we can, we are happy to help you out. I welcome you to this forum, but next time make sure you don't go overboard with your tone. I too have to balance my emotions sometimes and I hope I did it well in answering your question.
    cheers
    Frank

  • Vibe Email Report: Status = Queued

    Any thoughts on how to get email flowing in vibe?

    Originally Posted by EBSR_PARAMEDIC
    Any thoughts on how to get email flowing in vibe?
    It should already do so if you have configured outgoing mail server (in the main installer configuration) and set the outgoing email as allowed and scheduled (with the administration options).
    Also see:
    https://www.novell.com/documentation...a/bj9dx2s.html
    https://www.novell.com/documentation...a/bk26ibg.html
    Some more description on what you have done so far to configure email in Vibe would be good...
    Also curious, if you email an item from within Vibe manually... does that work? And have you tried to internal email addresses as well as to external email addresses (e.g. if the Vibe server is allowed to relay by the outgoing mail server you have specified)?
    Cheers,
    Willem

  • Deleteing report jobs from the queue

    OAS 9.0.2.0.0 on Win2K-sp4, Client Win2K-sp4.
    Many's the time a report job will hang up in the queue preventing other jobs from printing. Using the OEM, I can usually delete all the jobs, except the one that is "active, the one that is hanging up the queue. It always gives me an authentication error. I have tried every login/pw combo I can think of without success. I am always forced to restart OC4J_BI_Forms to dump the queue. Any suggestions?

    Thanks for the input.
    What I have done is create a new reports server/queue from the command line. It runs as a Windows process and can be restarted from there. Clunky, but I don't have to kill Forms everytime there's a queue hang up.

  • Reports Queue Manager - Status Information

    Hi there,
    I would like to know if you can get status information from the reports queue manager.
    For your information: We are still using Forms/Reports 6i but looking forward to use 10g via web frontend.
    1.) In detail I would like to control the 'number of jobs'. Our frontend (RWRQM60.EXE) only shows the first 990 (up to 1.000) entries, via 'queue => properties' I can see the total number of jobs.
    Is there a way to get the number of jobs via SQL or by another programmatically way (we prefer .NET)?
    2.) The reason why I need this information is because of a limit of 9999 reports in queue manager. After this amount of reports the report server raises a 'REP-0177: Error while running in remote server' and the 10.000 job will NOT be send to the queue!
    Is there a way to expand the number from 9.999 jobs to more .. for example 30.000 jobs?
    Thanks for your help ..
    Michael

    Currently no, not easily. we intend to fix this for Reports 7.0.
    Regards
    The Oracle Reports Team http://technet.oracle.com

  • How to kill/stop a report from InfoView/CMC ?

    Hi All,
    I have CRS2008 v1 environment running reports against Sybase database. Users run reports from Infoview. I would like to know what the best way to kill or stop a report that has been triggered from Infoview? Kill the spid from sybase or is there a way to kill it from Crystal?
    Thanks
    Ajith

    I want to kill reports run by users if they affect the system performance due to large volume. In that case the stored procedure that the report uses to select data might run for longer periods and I want to able to kill that process. So the question is which is better ?
    1. Kill the spid for that report stored procedure in Sybase
    2. Stop/delete the report instance from crystal if it is possible.

  • Clear Report Queue on local install

    I have 9i developer installed on my local machine, with the whole oc4j and report server running on it for development purposes. The report server queue is getting large and I want to clear it out. How do I do this?? Everything I have found is about a table that gets created, but I have no such table anywhere as is local.
    HELP!?

    Hello,
    The username/password is stored in the reports server configuration file :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#i1007074
    You can change this username/password as it is described in the doc ...
    Regads

Maybe you are looking for