Changing priority of concurrent request

Hi
Please let me know is it possible to change the priority of a concurrent request submitted by the batch user(any particular user) only.
1)
I know we can use the profile option but that does not serve the purpose because i dont want the priority of all the other requests submitted by that user to be changed ,just for one particular concrrent request i want this to happen.
2)
From system admin also it can be done but this will make the priority of that request to change so it will be the same irrespective of the user.
Actually i want to CHANGE the priority of a concurrent request only when it is submitted by a particular user (through CONCSUB utility)and that should affect the priority of other requests submitted by that user ,they should remain as it is.

Please let me know is it possible to change the priority of a concurrent request submitted by the batch user(any particular user) only.How the request is being submitted? Is it from the application or the OS or using an API?
1)
I know we can use the profile option but that does not serve the purpose because i dont want the priority of all the other requests submitted by that user to be changed ,just for one particular concrrent request i want this to happen.
2)
From system admin also it can be done but this will make the priority of that request to change so it will be the same irrespective of the user.
Actually i want to CHANGE the priority of a concurrent request only when it is submitted by a particular user (through CONCSUB utility)and that should affect the priority of other requests submitted by that user ,they should remain as it is.Why don't you schedule the concurrent program from the application under that specific user and set the priority then?
I also believe you cannot set priority if you use CONCSUB for a specific concurrent program under specific username.
Thanks,
Hussein

Similar Messages

  • How to change priority number in concurrent requests

    hi ,
    i have a doubt about priority (50)number in concurrent request page. can we change it some other number, if it does plz give an suggestion how to change that number.
    thanks&regards
    baleeswar

    Post your questions here.
    General EBS Discussion
    Check this out:
    http://www.dba-oracle.com/art_dbazine_conc_mgr.htm

  • Concurrent request priority change

    Hi All,
    Can any one please tell me how to increase the Cocurrent request priority after the submission of the request not before submiiting ,please help
    me out
    Regards,
    Sachin.

    Hi,
    In "Request"->"View"->"View details" button have priority column is editable, change priority [1 is highest]. If in your responsibility this button is in disable form, use "System administrator".
    V

  • How To Schedule a Concurrent Request on completion of a Spawned Request

    As soon as the concurrent request submitted through Oracle Form(Consolidation Transfer)is completed we need to schedule another Concurrent Request which had to be kicked off automatically on completion of the First concurrent request. Since, the First concurrent request of Consolidation Transfer is a Spawned Program, the request set could not be created, to kick off the second concurrent program.
    I would Appreciate if anyone can advise any solution to achieve this objective.

    Hi Harish,
    Doesn't matter what you need to do all you need is the hook!
    a) Nice. Force the request to print and use print driver to call CONCSUB to submit your new "child" request
    -- Since the Consolidation Trasnfer concurrent request could only be submitted through Consolidation Trasnfer Form only, I am not sure how we can do Force Print for this request.
    GR: Set printer and style on concurrent program definition. Set profile option "Concurrent:Report Copies" to 1 (even by Forms Personalization if you want to). Sorted. Still think this is the best option.
    c) Abstraction. Replace the C executable with a shell script that takes arguments and calls the C program and then submits new "child" request via CONCSUB
    -- Appreciate, if you can elaborate this option. I think we can try this, with the help of your detailed input.
    GR: Change the executable on the concurrent program to a host shell script under your mods application. Initially just get the shell script to capture program call and arguments. Run the program to get arguments. Next iteration, change shell script to call the C program from your shell script with correct arguments. Verify okay. Next iteration do the same plus call CONCSUB to submit request / set.
    d) Nasty. Trigger on fnd_concurrent_requests to call new "child" request via fnd_request.submit_request - NB: very unsupported! Make sure trigger doesn't raise an exception.
    -- On completion of the Consolidation Transfer concurrent request, we tried to submit the request set using the Trigger on Consolidation History table and/or fnd_concurrent_requests table. But it is entering into infinite loop.
    GR: Need to use trigger condition to capture update of status_code to C (Completed) and other codes e.g. Warning. Personally I'd avoid this option because you have others! Although once I did use this method when I wanted absolute transparency :-)
    Update: Changed "Print: Copies" to "Concurrent:Report Copies"
    Regards,
    Gareth
    Edited by: gareth.roberts on Dec 8, 2008 4:55 PM

  • How to schedule a concurrent request to run at a specified time/day?

    Hi All,
    How to schedule a concurrent request to run at a specified time/day (ex: Sunday 12pm)?
    Thanks,
    Chiru
    Message was edited by:
    Megastar_Chiru

    Is this to run periodically ?
    During the request submission, click schedule, choose the specific days, and click on S = Sunday.
    Change the start date on the date of the sunday you want to run, eg : 15-JUL-07 14:00:00, change the end date as well.

  • R12.1.3 :- XML concurrent request giving completed and "WARNING"

    Dear All,
    One particular Concurrent request was not running fine.
    Its show compleated* in Phase and in Status it showing *"warning"*.
    Actually its a "Supplier Invoice Aging"
    and the log file says like below
    :++---------------------------------------------------------------------------++
    XXXXX Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXOMNSOS module: XXXXX Supplier Invoice Aging report
    ++---------------------------------------------------------------------------++
    Current system time is 18-FEB-2011 11:24:40
    ++---------------------------------------------------------------------------++
    ++-----------------------------+
    +| Starting concurrent program execution...+
    ++-----------------------------+
    Arguments
    P_COMP_FR='008'
    P_COMP_TO='008'
    P_VENDOR_ID='115'
    p_account='320001'
    P_PERIOD_TYPE='Weekly Aging'
    p_as_of_date='2009/08/19 00:00:00'
    +-- Start of Reports Command --+
    +/ebiz/apps/TEST/inst/apps/TEST_odhdbtest/ora/10.1.2/bin/appsrwrun.sh+
    P_CONC_REQUEST_ID=1429988
    P_COMP_FR='008'
    P_COMP_TO='008'
    P_VENDOR_ID='115'
    p_account='320001'
    P_PERIOD_TYPE='Weekly Aging'
    p_as_of_date='2009/08/19 00:00:00'
    report=/ebiz/apps/TEST/apps/apps_st/appl/xxomn/12.0.0/reports/US/XXOMNSOS.rdf
    batch=yes
    destype=file
    desname=/ebiz/apps/TEST/inst/apps/TEST_odhdbtest/logs/appl/conc/out/o1429988.out
    desformat=XML
    +-- End of Reports Command --+
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    +'.,'+
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Fri Feb 18 11:24:41 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    ++---------------------------------------------------------------------------++
    Start of log messages from FND_FILE
    ++---------------------------------------------------------------------------++
    ++---------------------------------------------------------------------------++
    End of log messages from FND_FILE
    ++---------------------------------------------------------------------------++
    ++---------------------------------------------------------------------------++
    Executing request completion options...
    Output file size:
    +12664+
    ++------------- 1) PUBLISH -------------++
    Beginning post-processing of request 1429988 on node ODHDBTEST at 18-FEB-2011 11:24:55.
    Post-processing of request 1429988 failed at 18-FEB-2011 11:24:56 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ++--------------------------------------++
    ++------------- 2) PRINT -------------++
    Not printing the output of this request because post-processing failed.
    ++--------------------------------------++
    Finished executing request completion options.
    ++---------------------------------------------------------------------------++
    Concurrent request completed
    Current system time is 18-FEB-2011 11:24:56
    ++---------------------------------------------------------------------------++
    i have traced the concurrent request log file and its log says;-
    [2/18/11 11:06:41 AM] [1926299:RT1429947] Completed post-processing actions for request 1429947.
    [2/18/11 11:24:56 AM] [OPPServiceThread1] Post-processing request 1429988.
    [2/18/11 11:24:56 AM] [1926299:RT1429988] Executing post-processing actions for request 1429988.
    [2/18/11 11:24:56 AM] [1926299:RT1429988] Starting XML Publisher post-processing action.
    [2/18/11 11:24:56 AM] [1926299:RT1429988]
    Template code: XXOMNSOS
    Template app: XXOMN
    Language: en
    Territory: US
    Output type: RTF
    [2/18/11 11:24:56 AM] [1926299:RT1429988] Output file was found but is zero sized - Deleted
    [2/18/11 11:24:56 AM] [UNEXPECTED] [1926299:RT1429988] java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:570)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    Caused by: org.xml.sax.SAXParseException: <Line 1, Column 3>: XML-20108: (Fatal Error) Start of root element expected.
    at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
    at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
    at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:343)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
    ... 16 more
    [2/18/11 11:24:56 AM] [1926299:RT1429988] Completed post-processing actions for request 1429988.
    [2/18/11 12:19:47 PM] [OPPServiceThread1] Post-processing request 1430104.
    [2/18/11 12:19:47 PM] [1926299:RT1430104] Executing post-processing actions for request 1430104.
    [2/18/11 12:19:47 PM] [1926299:RT1430104] Starting XML Publisher post-processing action.
    I am not able to understand this,, Is this a issue of DBA or Functional or Developers ??
    i have refered few documents here i would like to mention
    1) Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite [ID 364547.1]
    2) R12: Tax Reconciliation By Taxable Account: Post-Processing Action Failed [ID 740223.1]
    3) Statement Generation Program ending in XDOException "java.lang.reflect.InvocationTargetException" [ID 869522.1]
    i througly checked with the above 3rd Document, ever settings are very fine,, no changes in this,, then i bounced the concurrent. the notes says ths problem may occure because of insufficient of space or not proper setup of xml, !;(
    Can any one kindly tell me from where i have to start,, ;(
    Thanks in Advance
    Hameed
    Edited by: Hameed on Feb 18, 2011 6:37 AM

    Yes ,, there is some data's
    encoding="UTF-8"?>
    +<!-- Generated by Oracle Reports version 10.1.2.3.0 -->+
    +<T04101344>+
    +<LIST_G_COM_ACC>+
    +<G_COM_ACC>+
    +<COMACC>008320001</COMACC>+
    +<ACCOUNT>Trade Payables[320001]</ACCOUNT>+
    +<COMPANY>OP08-BINARY</COMPANY>+
    +<LIST_G_VEN>+
    +<G_VEN>+
    +<VENDOR_NAME>XXXXXXX</VENDOR_NAME>+
    +<LIST_G_INV>+
    +<G_INV>+
    +<INV_CURR>AED</INV_CURR>+
    +<VENDOR_NAME1>XXXXXX</VENDOR_NAME1>+
    +<PAID_AMOUNT>404167</PAID_AMOUNT>+
    +<INVOICE_NUM>2652</INVOICE_NUM>+
    +<DUE_DATE>27-NOV-08</DUE_DATE>+
    +<INVOICE_AMOUNT>416668</INVOICE_AMOUNT>+
    +<DUE_DAYS>265</DUE_DAYS>+
    +<AMOUNT_REMAINING>12501</AMOUNT_REMAINING>+
    +<AMT_PER>3</AMT_PER>+
    +<DUE1></DUE1>+
    +<DUE2></DUE2>+
    +<DUE3></DUE3>+
    +<DUE4></DUE4>+
    +<DUE5>12501</DUE5>+
    +<DUE6></DUE6>+
    +<DUE7></DUE7>+
    +<CF_1></CF_1>+
    +</G_INV>+
    +<G_INV>+
    +<INV_CURR>AED</INV_CURR>+
    +<VENDOR_NAME1>XXXXXX</VENDOR_NAME1>+
    +<PAID_AMOUNT>104167</PAID_AMOUNT>+
    +<INVOICE_NUM>2668</INVOICE_NUM>+
    +<DUE_DATE>27-NOV-08</DUE_DATE>+
    +<INVOICE_AMOUNT>208334</INVOICE_AMOUNT>+
    +<DUE_DAYS>265</DUE_DAYS>+
    +<AMOUNT_REMAINING>104167</AMOUNT_REMAINING>+
    +<AMT_PER>50</AMT_PER>+
    +<DUE1></DUE1>+
    +<DUE2></DUE2>+
    +<DUE3></DUE3>+
    +<DUE4></DUE4>+
    +<DUE5>104167</DUE5>+
    +<DUE6></DUE6>+
    +<DUE7></DUE7>+
    +<CF_1></CF_1>+
    +</G_INV>+
    +<G_INV>+
    +<INV_CURR>AED</INV_CURR>+
    +<VENDOR_NAME1>XXXXXX</VENDOR_NAME1>+
    +<PAID_AMOUNT>104167</PAID_AMOUNT>+
    +<INVOICE_NUM>2696</INVOICE_NUM>+
    +<DUE_DATE>29-NOV-08</DUE_DATE>+
    +<INVOICE_AMOUNT>208334</INVOICE_AMOUNT>+
    +<DUE_DAYS>263</DUE_DAYS>+
    +<AMOUNT_REMAINING>104167</AMOUNT_REMAINING>+
    +<AMT_PER>50</AMT_PER>+
    +<DUE1></DUE1>+
    +<DUE2></DUE2>+
    +<DUE3></DUE3>+
    +<DUE4></DUE4>+
    +<DUE5>104167</DUE5>+
    +<DUE6></DUE6>+
    +<DUE7></DUE7>+
    +<CF_1></CF_1>+
    +</G_INV>+
    +<G_INV>+
    Tail of the .out file
    +</LIST_G_COM_ACC>+
    +<DUE1_RANGE_FR>1</DUE1_RANGE_FR>+
    +<DUE2_RANGE_FR>8</DUE2_RANGE_FR>+
    +<DUE3_RANGE_FR>15</DUE3_RANGE_FR>+
    +<DUE4_RANGE_FR>22</DUE4_RANGE_FR>+
    +<DUE5_RANGE_FR>29</DUE5_RANGE_FR>+
    +<DUE6_RANGE_FR></DUE6_RANGE_FR>+
    +<DUE7_RANGE_FR></DUE7_RANGE_FR>+
    +<DUE1_RANGE_TO>7</DUE1_RANGE_TO>+
    +<DUE2_RANGE_TO>14</DUE2_RANGE_TO>+
    +<DUE3_RANGE_TO>21</DUE3_RANGE_TO>+
    +<DUE4_RANGE_TO>28</DUE4_RANGE_TO>+
    +<DUE5_RANGE_TO>9999</DUE5_RANGE_TO>+
    +<DUE6_RANGE_TO></DUE6_RANGE_TO>+
    +<DUE7_RANGE_TO></DUE7_RANGE_TO>+
    +<TITLE1>1 Week</TITLE1>+
    +<TITLE2>2 Weeks</TITLE2>+
    +<TITLE3>3 Weeks</TITLE3>+
    +<TITLE4>4 Weeks</TITLE4>+
    +<TITLE5>Over 4 weeks</TITLE5>+
    +<TITLE6></TITLE6>+
    +<TITLE7></TITLE7>+
    +<DUE1_NET>325307.5</DUE1_NET>+
    +<DUE2_NET></DUE2_NET>+
    +<DUE3_NET></DUE3_NET>+
    +<DUE4_NET></DUE4_NET>+
    +<DUE5_NET>1071029</DUE5_NET>+
    +<DUE6_NET></DUE6_NET>+
    +<DUE7_NET></DUE7_NET>+
    +<AMT_REM_NET>1396336.5</AMT_REM_NET>+
    +<P_VENDOR_NAME>XXXXXX</P_VENDOR_NAME>+
    +<P_COMPANY_FR>OP08-BINARY</P_COMPANY_FR>+
    +<P_COMPANY_TO>OP08-BINARY</P_COMPANY_TO>+
    +<P_PERIOD_NAME>Weekly Aging</P_PERIOD_NAME>+
    +<P_ACCOUNT_NAME>Trade Payables</P_ACCOUNT_NAME>+
    +<P_DATE>2009/08/19 00:00:00</P_DATE>+
    +</T04101344>+
    These are the data's its showing.. :(
    Regards,
    Hameed

  • The output file  for your concurrent request is not initialized

    Application: Application Object Library(FND)
    Component Type: SERVICE_INSTANCE
    Component Name: Standard Manager(STANDARD)
    /*The output file for your concurrent request is not initialized.
    Cause: Your concurrent program execution was not preceded by calls to standard
    Application Object Library routines to initialize concurrent processing. FDPFOP
    received a return code of failure.
    Action: Change your concurrent program to initialize files by calling standard
    Application Object Library routines. */
    I got the mail with the above message from System ( Oracle Applicaitons Release 12.1.1)
    I have checked the following metalink document
    The Output File For Your Concurrent Request is Not Initialized: FDPFOP received a return code of failure [ID 296830.1]
    I can not undestand, why the alert sends mail?
    Could you please let me know..what happened to standard manager? how to resolve the above issue? why the above alert happened?
    The above meatlink note did not help much....

    Hi;
    >
    /*The output file for your concurrent request is not initialized.
    Cause: Your concurrent program execution was not preceded by calls to standard
    Application Object Library routines to initialize concurrent processing. FDPFOP
    received a return code of failure.
    Action: Change your concurrent program to initialize files by calling standard
    Application Object Library routines. */
    The Output File For Your Concurrent Request is Not Initialized: FDPFOP received a return code of failure [ID 296830.1]
    I can not undestand, why the alert sends mail? Could you please let me know..what happened to standard manager? how to resolve the above issue? why the above alert happened?I checked related note and it mention its internal bug which mean we cant say too many thing about issue.
    The above meatlink note did not help much....It helped or not? Issue still appear or not?
    Please run adadmin utulity >> from Maintain Applications Files>> Relink Applications programs
    Be sure it wont through any error message than retest issue
    Regard
    Helios

  • How to open Report output in RTF format using concurrent request form.

    Hi
    I have created a report using BI publisher and RTF format. This report is working fine in PDF format. User can submit report using consurrent request form and can see report preview in PDF format.
    Now user wants to submit another request and wants to see report output in RTF format.
    User submitted a request, request successfully completed and generated a output RTF file in unix box but when user wants to see report output using concurrent request form (View Output) then window is showing raw data instead of RTF output.
    Can any body tell me about solutions?
    Thanks
    Ravi

    Hi Ravi
    I did little R&D on it and found following 2 solutions.I am sure that you also find something but for my shake i am putting it here.If you already find the solution then ignore it.
    I) 1st Solution
    1)Change the profiles 'Viewer: Application for Text' and put value as 'Browser'
    2) Change the profiles 'Viewer: Text' and put value as 'Browser'.Either change it system level or concerned user.
    3) Log out from Current session and close all internet explorer application.
    4) Log in again to check the result
    II) 2nd Solution
    1) Navigate to: Sys admin --> Install -> Viewer Options to open the Form "Viewer Options".
    Do the entry as shown below:
    File_Format     Mime Type               Description
    RTF          application/rtf Microsoft Word(.rtf)
    RTF          application/msword          Microsoft Word(.rtf)     
    2) Then ensure that the profile option Viewer: Application for Text is set to BLANK at the Site Level and User Level.
    3) Then ensure that the profile option Viewer: Text is set to 'browser' at the Site Level.
    -- It will pop-up the screen to choose application name from above two values.
    Hope this will work it for you. For me i replicated the scenario and both solutions were working for me.
    With Best Regards
    Darshan Bhavsar

  • Estimating number of concurrent requests

    Hello,
    I want to estimate the number of concurrent requests that my server application may need to handle.
    Here are 3 approaches I tried to compute the probability of concurrent requests. Each of them gives different results, and obviously some of the results are palin wrong.
    It's been a while since I've learnt probabilities, I used to be comfortable with them back then, but this time's over it seems.
    Can you help me point out the flaw in the reasoning of each approach (that's for my culture), and, better yet, suggest how to correctly estimate the reasonable number of concurrent requests the server will have to handle (that's for my current problem)?
    Preliminary assumptions:
    Here are the figures, to fix ideas, and illustrate examples given below of the approach I took.
    The application will have 1000 users, each of them issuing 10 requests per day.
    Each request take approx 1 minute to be processed.
    Users are supposed evenly distributed over worlwide timezones, and the requests are supposed to be evenly distributed over the time of a day (which is not true for a single given user, but is true if enough users are evenly distributed over timezones).
    Users are supposed to work independantly of each other, so the probabilities of their actions are independant.
    *1) Approach 1: brute linear approach:*
    Each user uses 10 requests * 60s/rq = 600s of server time per day.
    1000 users therefore use 600,000 seconds of server time; as there are 86400s per day, in average the server is serving *600K/86,K = approx 7* request at any instant of the day.
    *2) Approach 2: estimate probability of N concurrent requests*
    Each user uses 600s of server time per day.
    So the probability to be serving one given user at any given instant of one day seems to be *600/86,400 = approx 0.007*
    The probability to be serving N given users at any given instant is therefore 0.007 pow N.
    As we don't care about which specific N users are served, the probability to be serving whatever N users is therefore: *(0.007 pow N)xC(1000,N)* where C(1000,N) is the binomial coefficient for subsets of N elements among 1000.
    For N=7 it gives a probability of approx 151%
    For N=10 it gives a mighty 68%
    You have to wait above N=20 to fall under a 1% probability
    *3) Approach 3: estimate probability of "not N" concurrent requests*
    Each user uses 600s of server time per day.
    So the probability to not serve one given user at any given instant of one day seems to be *85,800/86,400 = approx 0.993*
    The probability to not serve N given users at any given instant is therefore *0.993 pow N* .
    This probability is interesting for big values of N (the probability to serve m users = probability to not serve N=1000-m users), which for N=993 gives 0.09%
    But if I multiply by the binomial coefficient, the value is much above 1 for almost all values of N (interestingly, N=999 gives 95%, and N=1000 (0 user served) is 0.09%, but these results are probably artifacts of the floating point computations).
    What mixes me up are the following questions:
    Q1) Is approach 1 reasonable enough?
    It seems to be modelling a degenerate form of approach 2, where the requests would not be randomly spread over the day, but optimally organized in queues.
    I cannot force this usage pattern.
    Q2) How would you approach this estimation? Do you have a better approach?
    Q3) Obviously the formula in approach 2 is wrong at some point as for certain values of N it is above 1.
    It is expected that the probability for these values of N is 1, as the linear formula prooves that it is not possible to fit all 40000 requests into one day under a concurrency level of 7. But >1 is mathematically incorrect, so what is the flaw in the reasoning, that leads to this formula?
    Q4) What worries me in approach 2 is that I actually use approach 1 to compute the basic probability of 0.007, then use this result in the supposedly more general formula. I'm not sure whether the computing of the 0.007 qualifies as a deduction or as an assumption?
    Q5) What's wrong with approach 3 (probability to not serve N clients)? Why are the results inconsistent with approach 2?
    Q6) What worries me too is that I based all three approaches on instants of duration zero ("the probability that at any instant..."). Should I instead try to compute "the probability that over a period of 1 second, one user issues a request"? How does this modify the reasoning and the formulaes?
    Thank you in advance for your help.
    J.

    When it becomes difficult to get closed form solutions then resort to simulation. The following is a basic event simulation of 1 days of your problem as I understand it but using a uniform random active period. It will be trivial to change the active distribution to match your exact requirement. You will need to add JFreeChart to the classpath to run it.
    One advantage of this form of simulation is that one can easily add logic such as that to throttle the response and then examine how this affects users.
    import java.awt.Dimension;
    import java.awt.geom.Point2D;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.Random;
    import javax.swing.JFrame;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.ChartPanel;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.DomainOrder;
    import org.jfree.data.xy.AbstractXYDataset;
    public class Sabre20090403
        private static final double MEAN_TIME_BETWEEN_ACTIVE = 24D * 60 * 60 / 10; // seconds
        private static final double MEAN_PROCESSING_TIME = 60; // seconds
        static class Context
            public String toString()
                return "Number active = " + numberActive;
            public void appendPoint(double x, double y)
                Point2D.Double p = new Point2D.Double(x, y);
                results.add(p);
            public Point2D.Double[] getPoints()
                return results.toArray(new Point2D.Double[0]);
            private final List<Point2D.Double> results = new ArrayList<Point2D.Double>();
            private int numberActive = 0;
        abstract static class Task implements Comparable<Task>
            abstract void run();
            public double getEventTime()
                return time_;
            public int compareTo(Task other)
                if (time_ < other.time_)
                    return -1;
                else if (time_ > other.time_)
                    return +1;
                else
                    return 0;
            protected double time_ = 0; // in seconds
        static class TerminalTask extends Task
            public TerminalTask(double simulationDuration)
                time_ = simulationDuration;
            public void run()
                System.out.println("Simulation finished");
        static class PrintTask extends Task
            public PrintTask(Context context, double printInterval)
                context_ = context;
                printInterval_ = printInterval;
            public void run()
                context_.appendPoint(time_, context_.numberActive);
                System.out.println("Time " + time_ + "\t" + context_);
                time_ += printInterval_;
            private final double printInterval_;
            private final Context context_;
        static class User extends Task
            public User(Context context)
                context_ = context;
                run();
            public int getID()
                return ID;
            public void run()
                active = !active;
                if (active)
                    context_.numberActive++;
                    // Uniformly distributed from 0.5 mpt to 1.5 mpt
                    double p = random.nextDouble();
                    time_ += MEAN_PROCESSING_TIME * (0.5 + p);
                } else
                    double p = random.nextDouble();
                    // Exponential distribution with mean of MEAN_TIME_BETWEEN_ACTIVE
                    double delta = -MEAN_TIME_BETWEEN_ACTIVE * Math.log(p);
                    time_ += delta;
                    if (context_.numberActive > 0)
                        context_.numberActive--;
            private boolean active = true;
            private final int ID = nextID++;
            private static int nextID = 0;
            private final Context context_;
            private static Random random = new Random();
        static class Problem implements Runnable
            private Queue<Task> eventQueue = new PriorityQueue<Task>(20000);
            public void run()
                final Context context = new Context();
                for (int i = 0; i < 1000; i++)
                    eventQueue.offer(new User(context));
                eventQueue.offer(new PrintTask(context, 60 * 10L)); // 10 minutes print interval
                eventQueue.offer(new TerminalTask(24L * 60 * 60)); // 1 day
                while (true)
                    final Task task = eventQueue.poll();
                    task.run();
                    if (task instanceof TerminalTask)
                        break;
                    else
                        eventQueue.offer(task);
                final AbstractXYDataset xyDataset = new AbstractXYDataset()
                    private final Point2D.Double[] points = context.getPoints();
                    public double getXValue(int series, int item)
                        return points[item].x / 60.0;
                    public double getYValue(int series, int item)
                        return points[item].y;
                    public DomainOrder getDomainOrder()
                        return DomainOrder.ASCENDING;
                    public Comparable getSeriesKey(int index)
                        return "P" + index;
                    public int getSeriesCount()
                        return 1;
                    public Number getX(int series, int item)
                        return new Double(getXValue(series, item));
                    public Number getY(int series, int item)
                        return new Double(getYValue(series, item));
                    public int getItemCount(int series)
                        return points.length;
                final JFrame frame = new JFrame("");
                final JFreeChart jfreechart = ChartFactory.createXYLineChart("Simulation", "Time (minutes)", "Number active", xyDataset, PlotOrientation.VERTICAL, true, true, false);
                final ChartPanel panel = new ChartPanel(jfreechart);
                panel.setPreferredSize(new Dimension(1024, 768));
                frame.setContentPane(panel);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.pack();
                frame.setLocationRelativeTo(null);
                frame.setVisible(true);
            public static void main(String[] args)
                new Problem().run();
    }Edited by: sabre150 on Apr 3, 2009 7:34 PM

  • Is it possible to bypass stages defined in Concurrent Request Set

    Hi,
    I have a concurrent request stages where there are multiple stages defined(corresponds same concurrent program with different parameter values) and this request is called from backend.
    The way the stages are presently defined is on success,error & warning it will go to the next stage (e.g stage1 -> stage 2 -> stage3).
    Now I have a requirement where based upon some condition, I would receive parameter values for stages. E.g I would received parameter for stage 1 to run and stage 3 to run and no parameter for stage2. In this case what I want is in the request set, stage 1 program will run and then stage 3 program will run bypassing the stage2 program as no parameter value received for stage 2 program.
    Will there be any change required in the way the the link stages are defined or if there is any other way to accomplish the same.
    Ultimate aim is that all the required stages(1,2,3......and so on w) will be defined but based upon the parameter value availability, corresponding stages will run like 1 then 3 then 5 and request set should complete.
    I am assuming that its possible so I a trying for some workaround within PLSQL itself. Appreciate if any one can throw some light on this if clearing only the link stages could be a solution.
    Regards,
    Ad

    What version of the DB are you running?
    Here is a PL/SQL example: http://www.oracle-base.com/articles/misc/xml-over-http.php
    You could also do it in Java: http://www.oracle.com/technetwork/developer-tools/jdev/dbcalloutws-howto-084195.html
    HTH,
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Change Parameters on Scheduled request

    Hi,
    Is there a way, maybe profile setting, to go back into one of your scheduled reports from the concurrent manager and modify the parameters?
    Thanks,
    Ken

    Hi,
    Let me clarify a little bit.
    I have a concurrent request that runs for example every Sunday. Now this request is already scheduled and running fine. Now what I want to do is go back into the already scheduled request and change a value in one of the parameters.
    What happens now is I find my scheduled request click on the 'View Details' button and then click in the Parameters field. All the parameters are grayed out and I cannot change them.
    Hope this explanation helps a bit.

  • Error after viewing Concurrent Request logfile--tools-Copy file

    Hi ALL,
    Navigation Path
    ==============
    After concurrent request gets complete--View Log-tools -copy Logfile-
    I am getting error "The Applications File Server could not open the file for read".
    Can you please put some light on this error.
    Your help is highly appreciated.
    Cheers,
    Sridhar

    Hi,
    What is the application release?
    Has this ever worked? If yes, any changes have been done recently?
    Can you reproduce the issue with all reported?
    Please make sure that the application listener is up. Also, run AutoConfig and make sure it completes successfully.
    Regards,
    Hussein

  • Submit concurrent request for cost transaction workers

    Is it possible to submit a concurrent request to run one of the cost transaction workers using submit_request
    Resource Cost Worker (CMCCTW)
    Overhead Cost Worker (CMCOCW)
    these are normally submitted by Cost Manager (CMCTCM)

    By modifying the concurrent program for "Overhead Cost Worker". Set SRS on. Added the parameters it uses (group_id, transaction_type, Org_id) I was able to run the concurrent request successfully from Submit Request Form. It still gets an error when you try to submit it using submit_request. I'm more courious thqan anything at this point. I'm sure Oracle would not be happy for me to make these sorts of changes to a production system.

  • Need to retrive the name-value pair of concurrent request

    Hello All,
    I need to write a query that takes the concurrent request ID (executed concurrent request) as input and retrives the concurrent request parameter names and the values submitted to run that request.
    we have considered the following tables to acheive the result:
    fnd_descr_flex_col_usage_tl
    fnd_concurrent_requests
    fnd_concurrent_programs
    however unable to map the parameter name-value pairs properly.
    Thanks
    Krrish

    declangallagher .. I am sorry for not being very clear ...
    I am sorry for taking your time.But I appreciate your effort .and time ..
    I
    I have two servlets 1. result (existing) 2. preResult ( probable wrap around)
    The servlet
    1.result : takes in the Name and gets the result from the db ( Actually uses Castor and JDO ) to get the result
    and the GET is as follows
    http://128.173.99.68:8080/WebApplication/result?queryFor=Experiment&Name="john"
    where "queryFor" is for the name of the form and Name is the text in the VTL ( View)
    2.preResult is supposed to be a wrapper around the servlet "result" this takes in the ID from the user
    and is of the form
    http://128.173.99.68:8080/WebApplication/preResult?queryFor=Wrapper&ID="1234"
    There exists a DB mapping to ID and Name .
    So Instead of calling the result servlet ..I'll directly call the preResult servlet ...get the ID from the user ...
    and get the corresponding Name from the db
    ....here
    I wish to (If possible) tweak the "request" parameter
    change
    1.The queryFor value to Experiment
    2. add The Name="john"
    and send this to the result servlet so that it process it ...........

  • Concurrent Request report with XML Publisher

    I have Concurrent program (report) which I modified to work with XML Publisher. I change the output format to XML at the concurrent program page. Then I create the data defenition and template at XML Publisher administrator. Then I uploaded and assign the RTF template as the default template for this concurrent program.
    Now I can run this report and get the output in XML report publisher .
    But when I am running directly as concurrent request , I dont get any output. What am I doing wrong?
    **Please Help*George Thomas*
    I posted initially at a wrong place and I am re-posting here. my apology

    Duplicate thread ..
    Concurrent Request with XML Publisher
    Re: Concurrent Request with XML Publisher

Maybe you are looking for