Concurrent request issues

hi,
i want to know how to find out the concurrent requests which taking more than a hour to run.
thanks&regards
baleeswar

Execute the following query:
select t.request_id,
       t.actual_start_date,
       t.actual_completion_date,
       trunc((t.actual_completion_date - t.actual_start_date) * 24 * 60, 2) as "Total Time (Min)"
  from fnd_concurrent_requests t
where t.actual_start_date like sysdate
   and (t.actual_completion_date - t.actual_start_date) * 24 > 1;Next time, please post oracle apps related issues here:
http://forums.oracle.com/forums/forum.jspa?forumID=40&start=0
Aviad
http://Oracle-Apps-DBA.blogspot.com

Similar Messages

  • STRANGE Issue in submitting Concurrent Request - 11.5.10.2

    Hello Gurus,
    I am facing a weird issue in submitting an Oracle EBS report(.rdf file).
    Below is the problem description.
    [1] - When I submit the report, it goes into running mode.
    [2] - It stays in running mode forever.
    [3] - When we run the same report in non Production environments, report complete instantly.
    [4] - Even the same report runs perfectly well from report designer.
    [5] - All tuning considerations are well cleared. The same report is fetching data instantly everywhere in prod.
    [6] - The STRANGE thing that we have noticed that, when we submit the concurrent request, the ORACLE_PROCESS_ID in   FND_CONCURRENT_REQUEST does not get populated. It is NULL. For all other request, there is process ID.
    [7] - We even recreated Concurred program but still no luck.
    [8] - Bounced Database, Middle Tier but still no luck.
    [9] - Redefined a new conc mgr but still no luck.I believe #6 from above is a critical lead towards the problem. Having run out of all options, I am posting it here on the forum. All Tuning aspects are well taken care. It is rock solid and tuned to death. Without taking care of Tuning, I would not have posted this.
    Thanks,
    R
    Edited by: Rich V on Jul 21, 2010 12:20 PM

    Hussein,
    You must be a one man show here :) 34,295 POSTS!!!!!!!!!! WOOOOOOOOOW.
    Anyways, The link you have given, finally concludes with following
    Hi All,
    Got solution for this problem
    I have raised SR for this
    SR Analyst also told the same as (MCHARCHU)
    I have added SRW.USER_EXIT('FND SRWINIT'); in before report trigger
    and SRW.USER_EXIT('FND SRWEXIT'); in after report trigger
    and also a parameter P_CONC_REQUEST_ID in User PARAMETERS
    Thanks to all of you guys......
    Thanks,
    Bhanu Chander.In my report, All of above settings are already covered but still the issue is persistent.
    Thanks,
    R

  • How to submit a concurrent request from Discoverer report.

    I would like to know If any one has tried submitting a concurrent request from Discoverer Report?_
    This is no stupid question, but our team here finally decided with a solution to our long pending issues with few of the discoverer report. To Proceed further, we would like to know, how to submit a concurrent request from Discoverer report?
    We are looking for calling a package from the Disco admin by passing the parameters from the disco to the 6i report.
    All help us in this regards are much appreciated.
    Kindly help us in the same!
    Thanks
    Arun

    Thanks Rod for confirming the same.
    I will be trying the same today and will let you know if I succeed in doing it.
    If I can share the actual requirement with you, it goes like this.
    "I will be triggering the Oracle 6i standard AP Trail balance report through the Disco report. The standard report will be inserting the required data to one of my custom table. Once the concurrent program completes normal, my custom table will be having the required data to create the workbook specific to the current run of the concurrent program.
    The one problem which I think could happen is, How can I make my disco report to wait till the standard program to complete in normal so that my disco report can be generated with the data from custom table.
    Will the above requirement is possible If I follow the way you mention in the PDF or Could you suggest a better way for achieving the same.
    In short, my requirement is: The custom table(say XX_TABLE) will be populated with data when the standard 6i report is run and the disco admin will be making of the custom table (XX_TABLE) to generate the report.
    Please advice.
    Thanks
    Arun

  • Concurrent request -one at a time

    I am going to run this request from PL/SQL,
    this is going to be called more than 1 time simultaniously, if more than 1 user runs the report at a time.
    I want to make it run one at a time, instead of running 2 different calls at same time.
    like i want to make the first request get completed and then run the next.
    How do i do it?
    FND_REQUEST.SUBMIT_REQUEST('BOM','BMCOIN','Import Bills and Routings',
                                                   NULL,FALSE,
                                              org_id,'1','1','1','1');

    Hi,
    Please see these threads.
    running cuncurrent request
    Re: running cuncurrent request
    Concurrent request compatibility Issue
    Concurrent request compatibility Issue
    Thanks,
    Hussein

  • Receive warning on Concurrent request

    Hi All,
    I am running the preliminary payment register while creating a payment batch but receive a warning message.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Please give me any suggestions to how to fix this.
    Thanks in advance,

    Hi,
    What is the application release?
    Do you get this warning with all concurrent requests or just with this specific one?
    Please go through the following documents and see if it helps in resolving the issue.
    Note: 1018291.102 - APP-00500 Or APP-FND-00500 Error When Printing A Report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1018291.102
    Note: 156570.1 - APP-FND-00500 When Running a Concurrent Request
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=156570.1
    Note: 371350.1 - Some Concurrent Requests Error Out With Fduprn App-Fnd-500
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=371350.1
    Regards,
    Hussein

  • 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

  • How to determine the user who placed a certain concurrent request?

    Hi there,
    Is there a way (SQL query, for example) that can help me determine the user (EBS username) who placed a certain concurrent request?
    Thanks,
    Tareq

    Hi Tareq;
    Please check below notes which could be helpful for your issue:
    Concurrent Request-whcih is submmited by one of the Oracle USER *<<Posted By Hussein Sawwan*
    How to See Others Concurrent Request Oracle 11i
    Concurrent program- How to find database session *<<Posted By Hussein Sawwan*
    Re: Reg: Apps Concurrent
    Regard
    Helios

  • XML Output from Concurrent Request DBMS_XMLGEN

    I am trying to create xml output for a concurrent request, using the DBMS_XMLGEN package to generate my XML?
    I have gotten so far as to be able to run my procedure and see the output in TOAD using dbms_output.put_line, but I can't seem to quite get the right link to convert this to Oracle Apps output.
    I have a concurrent request setup to output XML.
    This calls my procedure to return to the output file.
    So far, when I run from APPS, all that shows in the Output file is 'XML document must have a top level element.'
    Here is the relevant code...
    ctx DBMS_XMLGEN.ctxHandle; -- vars to convert SQL output to xml
    xml clob;
    xmlc varchar2(4000);
    off integer := 1;
    len integer := 4000;
    i number := 0;
    rc_data sys_refcursor;
    begin
    -- this calls simple open cursor for sql statement, returns rows
    rc_data := fa10022_data(P_BOOK_TYPE_CODE
    , P_STATE
    , v_BEG_DATE_EFFECTIVE
    , v_END_DATE_EFFECTIVE
    , P_BEG_ASSET_ACCT
    , P_END_ASSET_ACCT
    , v_depr_per_ctr);
    ctx := dbms_xmlgen.newContext(rc_data);
    dbms_xmlgen.setRowsetTag(ctx, 'XXFA10022');
    dbms_xmlgen.setRowTag(ctx, 'G_DATA');
    xml := dbms_xmlgen.getXml(Ctx);
    i := dbms_xmlgen.getNumRowsProcessed(ctx);
    dbms_xmlgen.closeContext(Ctx);
    apps.fnd_file.put_line(apps.fnd_file.output, xml);
    I was also following this link...
    http://www.appsassociates.com/products/Generation_XML_PLSQL.pdf
    any suggestions?
    Thanks!!
    Janel

    That was painful, but it helped!
    Most of it is workflow code...POXMLGEN contains the pertinent coding.
    I think my problem now lies with some of my data. Depending on what is returned, I sometimes receive a warning with no output. I know there are special characters in the data (ex eacute), but I can't tell if that is what is causing the issue. I do have the statement dbms_xmlgen.setConvertSpecialChars(ctx, TRUE); in my code, so not sure what else to do.
    This is what is being returned in OPP log...
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.

  • 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

  • ConcurrentModificationException - concurrent requests while lazy loading a relationship without server warmup

    Hello,
    We are running into a ConcurrentModificationException when we are firing 100 concurrent requests without warming up the server.
    Looks like the error is coming up when a a relationship is  being lazy loaded.
    We are seeing this behavior consistently. Once the server is warmed up, we are not seeing any issues under concurrency.
    I am attaching the two DAOs that are related to the issue.
    ExtensionPointRulesetDAO has a M:1 relationship with RuleSetEntityDAO and we are getting the error when ExtensionPointRuleSetDAO._persistence_get_ruleSetEntity() is called.
    2015-02-13 12:14:24,021 ERROR [uimadmin] [[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [ExtensionRuleMediator] [INV-180012] Failed to retrieve the extension point ruleset: null.
    java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
        at java.util.ArrayList$Itr.next(ArrayList.java:831)
        at org.eclipse.persistence.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.executeBatchedStatements(ParameterizedSQLBatchWritingMechanism.java:134)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:574)
        at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:535)
        at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:1717)
        at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:253)
        at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:207)
        at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
        at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:666)
        at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:2656)
        at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:2627)
        at org.eclipse.persistence.queries.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:450)
        at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1081)
        at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:844)
        at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1040)
        at org.eclipse.persistence.queries.ReadObjectQuery.execute(ReadObjectQuery.java:418)
        at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1128)
        at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2871)
        at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1516)
        at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1498)
        at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:98)
        at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiateForUnitOfWorkValueHolder(QueryBasedValueHolder.java:113)
        at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:156)
        at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:222)
        at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:88)
        at oracle.communications.platform.entity.impl.ExtensionPointRuleSetDAO._persistence_get_ruleSetEntity(ExtensionPointRuleSetDAO.java)
        at oracle.communications.platform.entity.impl.ExtensionPointRuleSetDAO.getRuleSetEntity(ExtensionPointRuleSetDAO.java:272)
        at oracle.communications.inventory.extensibility.extension.util.ExtensionRuleMediator.findExtensionPointRule(ExtensionRuleMediator.java:267)
        at oracle.communications.inventory.extensibility.extension.util.ExtensionRuleMediator.initialize(ExtensionRuleMediator.java:134)
        at oracle.communications.inventory.extensibility.extension.SpecBasedArgumentExtension.configureMediator(SpecBasedArgumentExtension.aj:134)
    Thanks,
    Ravindra

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Concurrent Manager Issue in Oracle Apps 11i on MS Windows 2003

    Hi,
    We have Oracle Apps 11i (11.5.10) on Windows 2003 running Oracle Financilas and Supply Chain.
    From this morning onwards, concurrent requests are not getting completed. All requests are showing Running Normally. I checked the server (Single Node 4 GB Memory) and CPU usage is more than 90%. Task Manager is showing 50% CPU usage for SYSTEM (Image Name). Once the CPU usage for SYSTEM(image name) goes beyond 40% then the server is becoming slow and the problem starts.
    When I stop the Concurrent Manager it does not stop and I have to End Process the FNDLIBR process manually.
    I have recreated the concurrent manager using CCMSETUP and also ran cmclean.sql. Nothing is helping.
    System is Live since 2006 and the issue started only today.
    Please suggest any solutions as this is happening in our Production system.
    Thanks.
    Thiru

    Thiru,
    Which concurrent manager consumes the CPU usage? Are you able to identify it?
    Any errors in the CM log file? Did you try to start the CM with diag=y and see if any errors are reported in the log files?
    What happen to the CPU usage when you stop the CM?
    I assume that you are running Purge Concurrent Manager/Requests on regular basis, so this should not be an issue here.
    Please review the following notes, and see if it helps.
    Note: 114380.1 - Concurrent Manager Processes Taking Lots of CPU
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=114380.1
    Note: 264752.1 - FNDLIBR Consuming Memory Causing CPU Utilization To Increase Daily
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=264752.1
    System is Live since 2006 and the issue started only today.I assume no changes have been done recently, correct?
    Regards,
    Hussein

  • Concurrent request taking more time than usual

    HI,
    I am running a concurrent request : Payables transfer to general Ledger
    which was usually getting completed within 5 minutes....but now it is taking hours to complete....Log file not showing any errors as such...
    I increased the standard mangers processes and bounce the Concurrent managers n Database as well...i also ran cmclean.sql, but no luck..
    Can anybody suggest me the approach for this problem...
    thanks n regards,
    Sajad

    Check the enable trace option in the concurrent program definitions.
    After that run the concurrent request and get the trace file in udump directory and tkprof it, and analyze which is the query that is causing the issue.

  • Cancelling Concurrent Request hangs

    Hi Experts,
    Recently we upgrade the OS to solaris 5.8 to 5.10
    Concurrent request like Receipt Printing running more than 20 minutes and it completed with warning, the log file shows printer is not accepting. if we cancel these requests it hangs.
    Then we will cancel this concurrent request from OS level. we are facing this issue after upgrading the OS to Solaris 5.10.
    In Solaris 5.10 is there any new for printer configuration. Please help me to overcome this.
    Regards
    R.Sundaravel

    After the OS upgrade, did you relink all of the application binaries ? Pl see MOS Doc 209810.1 (How to Relink Oracle Applications 11i Programs After Upgrade or Patch of the UNIX Operating System)
    HTH
    Srini

  • 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

  • HttpURLConnection returns overlaping responses for concurrent requests

    Hi,
    we are facing an issue in making HttpURLConnection requests. Our servlet has to make HttpURLConnection to another server (Both request and response body to be passed is xml, that is the contract with server which we are firing requests to). User can fire 2 concurrent requests one after another with out waiting for first request to be completed. When two requests are fired, two threads are executing the below block of code with no time. And the problem is first response is empty second response contains data for both responses
               URL url = new URL(urlStr);
                HttpURLConnection c = (HttpURLConnection) (url.openConnection());
                c.setRequestMethod("POST");
                c.setRequestProperty("Content-Type", "text/xml; charset=\"utf-8\"");
                c.setDoOutput(true);
                out = new BufferedOutputStream(c.getOutputStream());
                out.write(requestData.getBytes("UTF-8"));
                out.close();
                String inputLine = null;
                StringBuffer sBuffer = new StringBuffer();          
                in2 = new BufferedReader(new InputStreamReader(c.getInputStream(), "UTF-8"));
                while ((inputLine = in2.readLine()) != null) {
                    sBuffer.append(inputLine);
                    sBuffer.append("\n");
                String responseXML = sBuffer.toString();and the above code is in separate static class. we tried using third party implementations for HttpURLConnection instead of sun implementation. NO LUCK.
    Any help in resolving this issue would be of great help
    Thanks,
    JKChaitanya

    JKChaitanya wrote:
    "in2" is also local variable to the method, only "requestData" comes from servlet's doPost method, all other variables are local to the method in which HttpURLConnection code is availableIt seems to me that the implication is that the server you are chaining to is not thread safe and can only handle one request at a time. This means that you will have to process the requests sequentially. Two obvious approaches - use synchronisation or use a request queue. To test the hypothesis it would be very easy to use synchronisation on your servlet class object. Note - you cannot reliably synchronise on the servlet instance since your server may be configured to use more than one instance.

Maybe you are looking for

  • If my device does not respond in MAX does it mean it is damaged?

    I was using an example vi to acquire digital data, however the output LEDs on the vi front panel started to show random results.  So I closed the vi down and tried again but nothing happened at all?  So I went to check acquisition in MAX and the foll

  • Bug report: Energy Manager causes slow performance...

    Very slow Windows Startup.. Energy Manager's plans and the problem occured using any plan as I remember, and it wasn't an issue with the maximum processor state. I had heavy disk usage, especially access to the Page File, which is what the person in

  • Revaluation J1AI - APC accounts not posted

    Hello SAP Guru, Good day! I tried to run J1AI to post revaluation. After running the tcode I saw the revaluation output is correct. However when I look at FI document in AW01n, do document was posted. Then I tried to run AFABN to depreciate the asset

  • Problem in SE80 - Web Dynpro Layout.

    I have installed Netweaver ABAP Trial version 7.0, in that am facing a problem, that is, In T-code SE80 --> select Web Dynpro Component --> program eg: Z_my_web --> ivews --> double click on anyone of the iviews diplayed. If we do so, in right side w

  • Can someone help with 10.5.8 Flash Player?

    I've been struggling with my MacOS 10.5.8. I AM ABLE watch videos on YouTube, but (i dont have cable so i watch shows online) on sites like mtv.com. I just get the spinning circle, no sound, no nothing. I tried everything I could find. I read threw t