Date in OAF

Hi All,
I am working with Oaf 5.7h.
I have date field where the user enters date from the front end.
I am fetching that value in a date variable(object of java.lang.Date) in my AM by invoking its rowset(rowImpl.getDeparturedate),
my problem is that now i need to always do a validation by getting the previous day of the user entered date.
like user entered 07-June-07
i need to do the validation with 06-June-07.
i thot by always subtracting one from the user entered date i can get the desired date.
Butu how do i do that because the date eneterd from front end comes along with timestamp.
Pls any help would be great.

This should help
http://www.artima.com/legacy/answers/Dec2001/messages/18.html
Thanks
Tapash

Similar Messages

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • How to display the username and current date in OAF  page Footer region

    Hi,
    I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
    Thanks
    Divya Agarwal

    Hi,
    Read this Thread:--
    You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
    String userName = pageContext.getUserName();
    How to populate Current Date and Time in OAF page through CO
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Query for inserting data from OAF page to database table

    I need to insert a row into a table by getting parameters from pageContext. The fields in this page are from multiple view objects and the data in these fields should be inserted into a table. If anyone can provide solution in this regard will be very much helpful.

    Hi Rma,
    My Understanding is...
    Say you want to display information of 10 customers. Hence there will be 10 rows to display.
    Say number 5 customer has maximum accounts 15 (In case there is variable number of accounts for each customer). Hence there will be max 15 columns.If the above under standing is correct, then a question...is there an upper limit on number of accounts for a customer?
    If yes then I may say...
    Create a custom table with that many columns as of max number of alloweed accounts.
    Write a plsql api to insert column of existing table as row in the custom table.
    Now base your EOs and VOs on that custom table. That may show columns in term of rows on your screen.
    The logic is, instead of converting column data to row in oaf, do it in plsql.
    Now again if it has to be updated by user, create a reverse api to put data from custom table to existing table.
    However, this approach can lack automatic features on existing seeded table(like validations), provided by EO. Hence you must explore PL/SQL Entity objects in Dev guide before going with this approach (both are near same but you may be able to better judge which one will be more suitable for your need.
    Another insant approach which strike in mind is just modifying logic in controller to modify bean hierarchy (adding columns at run time) or by create VO dynamically.
    However, possibly that can put other complexities of personalization and maintainance of code etc.
    Hence the suggestion is...Evaluate all three and judge which one is most suitable for you over all needs (First try with PL/SQL Base EOs Or with the above approach or pure java manipulation)
    Seems too complex approaches all. Other users must pour there thoughts.
    Abdul Wahid

  • Convert java.sql.Date to oracle.jbo.domain.Date in oaf

    Hi,
    Need to dafault NeedBydate(i get in from query as below) to a messagelovinput and make it read only.
    i am facing some issue in converting from java.sql.Date to oracle.jbo.domain.Date.
    unable to figure out the problem.
    below is the sample code im trying to use.
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    vorow.setAttribute("Datevalue",oracleDate);
    this is my assumption : to set to UI i need date in format dd-Mon-yyyy.(am i correct? as to get that format i tried to use simple date format class but no use)
    when i tried to use simple date format :unpaseable date exception was raised.
    please guide.

    Hi,
    Why are you using this code???
    PreparedStatement ps=pageContext.createPreparedStatement("select sysdate from dual");
    ResultSet rs=ps.executeQuery();
    if (rs!=null && ps.next()
    java.sql.Date sqlDate= rs.getDate(1);
    oracle.jbo.domain.Date oracleDate = new oracle.jbo.domain.Date(sqlDate.getTime());
    you can get sysdate using this and then set it
    oracle.jbo.domain.Date currentDate = am.getOADBTransaction().getCurrentUserDate();
    java.text.SimpleDateFormat displayDateFormat = new java.text.SimpleDateFormat ("yyyy-MM-dd");
    String DateForm = displayDateFormat.format(currentDate.dateValue());
    oracle.jbo.domain.Date dateset = new oracle.jbo.domain.Date(DateForm);
    and then set the attribute
    vorow.setAttribute("Datevalue",dateset);
    Thanks,
    Gaurav

  • Error while running page

    Hi,
    I attached procedure to the EOIMPVIEW.I am passing data through OAF page.If i pass data and click on APPLY button it is giving the error like:
    No current row for View (CustDetailVO1)

    Just remember the data you save should be saved to a row in the VO. So you need to set the current row which would be updated (in case you see a single row data).
    When you create a row you should also set the current row.
    Row row = vo.createRow();
    vo.insertRow(row);
    vo.setCurrentRow(row);

  • How to clear exception cache in VO when using OAAttrValException

    I am using OAAttrValException to validate that individual required attributes are populated before a user can submit the page. The function i have in the VOImpl is as follows
    public void validateRow() {
    ArrayList exceptions = new ArrayList();
    String address1 = (String)getCurrentRow().getAttribute("Address1");
    String postCode = (String)getCurrentRow().getAttribute("PostalCode");
    if (address1==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", address1) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "Address1" // Attribute Name
    , address1 // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    if (postCode==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", postCode) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "PostalCode" // Attribute Name
    , postCode // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    OAException.raiseBundledOAException(exceptions);
    The problem is that every time you click submit it adds these exceptions to the list of exception already thrown i.e. it doesnt seem to clear the exceptions from the last submit, so the list of exception messages just gets longer and longer. Ideally I would like to flush these messages on submit but before I validate using something like clearAllExceptions() as in the EOImpl, but this method does not appear to be available in he VO.
    Does anyone have any suggestions about how I can achieve this?
    Thanks,
    Danny

    Danny,
    The simple and straight solution to your problem in that the row validation code you are writing is written in wrong file.VOIMpl file should only contain logic related to query manipulation of View Object. If you wanna do row validation at vo level, this code should go in VORowimpl file and not VOimpl file. In VORowimpl file BC4J framework provides a method called validate(), you can utilise that.The validate() method is automically called every time a post event has been generated.The method in turn invokes validate entity method in each of the entity objects involved in VO.
    This validate method is called in process form data in OAF lifecycle. So this how your code should look like in VORowimpl :
    public void validate()
    super.validate();
    ArrayList exceptions = new ArrayList();
    String address1 = (String)getCurrentRow().getAttribute("Address1");
    String postCode = (String)getCurrentRow().getAttribute("PostalCode");
    if (address1==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", address1) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "Address1" // Attribute Name
    , address1 // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    if (postCode==null) {
    MessageToken[] tokens = { new MessageToken("FIELD", postCode) };
    exceptions.add( new OAAttrValException(OAException.TYP_VIEW_OBJECT
    , getViewObject().getFullName() // VO name
    , getCurrentRow().getKey() // VO PKs
    , "PostalCode" // Attribute Name
    , postCode // Attribute value
    , "XX" // Message product short name
    , "NTZZ_CZ_ADDRESS_FIELD_REQUIRED"// Message name
    , tokens)); // Message Parameters
    OAException.raiseBundledOAException(exceptions);
    Sumit,
    Making Arraylist defined globally in VOimpl class would not solve the purpose, because in present code ArrayList has been initialized inside validateRow() method hence, everytime this method is called Arraylist is automatically initialized by new , but the errorstack is not cleared.This code should be at such a place where it should be automaticallyclear the last error stack when its called everytime in framework i.e. validate method in VOImpl or validateEntity method in EOImpl.
    I hope this helps.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Stale data error while opening a multiple OAF page .

    Dear Friends ,
    I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
    go to create page and update page . when the user opens the multiple page using different tabs in the browser
    like for example
    ex :
    from search page click on create page open it as new tab . if such multiple table are being opened
    and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
    How to over come this exception , could you please share you ideas
    Thanks in Advance,
    Keerthi.k

    Hi friend ,
    In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
    Please give me more suggestion.
    Thanks in advance,

  • OAF Export button fetching data in one column - view object using union all

    Dear All,
    Export button showing data in one column from  view object,
    View object is based on mulitple queries with union all ,
    Please let me know the solution for this issue.
    Thanks
    Maheswara Raju

    Maheswara Raju,
    As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
    There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
    Cheers
    Gyan

  • To get date Parameter from an OAF page

    Hi,
    I want to get a date parameter from an OAF page and pass them to a query in Vo as binding variables.
    How can that be done.
    I tried this to get the date from my page but it gives an error when I pass it to the query-
    String v_date = pageContext.getParameter("StartDate");

    My CO --------------------------
    if( pageContext.getParameter("Submit") != null)
    String userid = (new Integer(pageContext.getUserId())).toString();
    String personid = (new Integer(pageContext.getEmployeeId())).toString();
    String v_date = pageContext.getParameter("StartDate")+"";
    String v_end_date = pageContext.getParameter("EndDate")+"";
    System.out.println("call to process request0 : " + userid);
    System.out.println("call to process request0 : " + personid);
    System.out.println("call to process request0 : " + v_date);
    System.out.println("call to process request0 : " + v_end_date);
    Serializable[] params = {personid,v_date,v_end_date};
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String empUserid = pageContext.getUserName();
    System.out.println(pageContext.getUserName());
    System.out.println("Calling initMoverQuery");
    am.invokeMethod("initMoverQuery", params);
    System.out.println("Call out of initMoverQuery");
    My AM------------------------------------------------------------
    public void initMoverQuery(String pid,String sd,String ed)
    System.out.println("In init Query of AM" +pid);
    EmployeeMoverVOImpl vorep = getEmployeeMoverVO1();
    Number personid = new Number(Integer.parseInt(pid));
    System.out.println("user id"+ personid);
    System.out.println("start date"+ sd);
    System.out.println("end date"+ ed);
    if (vorep == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "EmployeeMoverRepVO1")};
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    if (!vorep.isPreparedForExecution())
    // vorep.initQuery(personid,sd1,ed1);
    vorep.setWhereClauseParam(0,personid);
    vorep.setWhereClauseParam(1,sd);
    vorep.setWhereClauseParam(2,ed);
    vorep.executeQuery();
    System.out.println("End SP VO Query");
    }

  • Passing table data to pl sql procedure oaf

    Hi All,
    I have a requirement where i have to pass table data to plsql procedure.
    In the first page i select the REQUISITION and click on RETURN button and it will take me to the next page.
    and in the Next page i will click on APPLY button.
    When i click on APPLY, it will call the procedure and will give input to the procedure whatever has been selected when i have selected requisition.
    Please help. Please tell me the approach how to get this task done. A sample code will work.
    Hope the requirement is clear.
    Thanks in Advance.

    Hi Chinmay,
    Refer below code for Your Requirement.
    //Code For Quering Data
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "SELECT organization_id FROM hr_operating_units WHERE organization_id = fnd_global.org_id";
    PreparedStatement stmt = conn.prepareStatement(Query);
    resultset=stmt.executeQuery();
    while (resultset.next())
    orgId = (String)resultset.getString("ORGANIZATION_ID").toString();
    conn.commit();
    catch(Exception e)
    e.printStackTrace();
    //Code for Pass Resulted column to Procedure Input for delete Particular Record
    Execute parameterized PL SQL procedure from OAF page
    Let us try to call PL/SQL package from OAF page. We will try to remove selected line from Database.
    Package Spec
    CREATE OR REPLACE PACKAGE APPS.genpack_pkg
    AS
    PROCEDURE roll_delete_proc (orgId IN VARCHAR2);
    END genpack_pkg;
    Package Body
    CREATE OR REPLACE PACKAGE BODY APPS.genpack_pkg
    AS
    PROCEDURE roll_delete_proc (orgId IN VARCHAR2)
    AS
    BEGIN
    DELETE FROM pklist_roll_details_temp
    WHERE roll_line_id = orgId;
    COMMIT;
    END roll_delete_proc;
    END genpack_pkg;
    //in Controller PFR
    import java.sql.CallableStatement;
    if (pageContext.getParameter("ActionsButton") != null)
    String val = pageContext.getParameter("ActionsChoice");
    if ("DELLN".equals(val))
    CallableStatement cstmt = null;
    for (OAViewRowImpl row = (OAViewRowImpl)tempvo.first(); row != null; row = (OAViewRowImpl)tempvo.next()) {
    if ((row.getAttribute("Selectflag") == null) ||
    (!row.getAttribute("Selectflag").toString().equals("Y"))) continue;
    try {
    int rollid = Integer.parseInt((String)row.getAttribute("orgId"));
    Connection conn = am.getOADBTransaction().getJdbcConnection();
    if (rollid == 1)
    temphm.put(row.getAttribute("orgId").toString(), row.getAttribute("PoNumber").orgId());
    tempvo.removeCurrentRow();
    else
    try
    StringBuilder sb = new StringBuilder();
    sb.append(rollid);
    String strI = sb.toString();
    System.out.println("Inside else in delete");
    cstmt = conn.prepareCall("{call GENPACK_PKG.tpc_roll_delete_proc(?)}");
    cstmt.setString(1, strI);
    System.out.println("Oracle Callable Statment Execution Init for Delete");
    cstmt.execute();
    catch (SQLException e) {
    throw new OAException(e.toString(), (byte)0);
    }tempvo.removeCurrentRow();
    catch (OAException e) {
    throw new OAException("No row selected", (byte)3);
    Thanks,
    Dilip

  • Need help in exporting data in to Excel by integrating XML publisher in OAF

    Hi All,
    I am facing issue while exporting data into Excel by integrating XML publisher in OAF. Everything is working fine except that the report is not uploaded in the Excel sheet. Excel sheet is opening empty.
    In OC4J server log an getting the below Exception while exporting the data:
    13/06/21 14:31:17 in try b4 creating DT
    [062113_023118734][][STATEMENT] debug_mode=on
    [062113_023118750][][STATEMENT] xml_tag_case=upper
    [062113_023118750][][STATEMENT] Inside parameterParser...
    [062113_023118750][][STATEMENT] Parameter:p_last_rev  Default value:
    [062113_023118750][][STATEMENT] Inside dataQueryParser...
    [062113_023118750][][STATEMENT] Inside dataStructureParser...
    [062113_023118765][][STATEMENT] Group ...report
    [062113_023118765][][STATEMENT] Group ...G_DISPUTE
    [062113_023118765][][STATEMENT] Template parsing completed...
    [062113_023118765][][STATEMENT] Setting Data Template
    [062113_023118765][][STATEMENT] Setting JDBC Connection
    13/06/21 14:31:18 after datatemplate
    [062113_023118765][][STATEMENT] ***Paramter :p_last_rev Value :419947
    [062113_023118765][][STATEMENT] Setting Parameters
    [062113_023118765][][STATEMENT] Setting Parameters
    13/06/21 14:31:18 after set params
    13/06/21 14:31:18 after setOutput
    [062113_023118781][][STATEMENT] Start process Data
    [062113_023118781][][STATEMENT] Process Data ...
    [062113_023118781][][STATEMENT] p_last_rev
    [062113_023118812][][STATEMENT] Writing Data ...
    [062113_023118843][][STATEMENT] Sql Query :Q_DISPUTE: select f.description "Current_Reviewer",
           p.trx_date "Original_Transaction_Date",
           h.discr_dt "Create_Date",
           h.custid "Customer_Number",
           h.cusname "Customer_Name",
           h.discr_no "Dispute_Number",
           p.amount_due_remaining "Remaining_Amount",
           h.last_rev,
           a.name
      from seacds.ar_payment_schedules_all_sv p,
           seaar.seaar_ddt_header             h,
           seacds.fnd_user_nv                 f,
           seacds.ar_collectors_nv            a
    where p.trx_number = h.discr_no
       and f.user_name = h.last_rev
       and nvl(a.employee_id, -999) = nvl(f.employee_id, -987)
       and a.attribute1 = 'AR'
       and p.class != 'PMT'
       and h.clsd_flag = 'N'
       and p.org_id = 22
       and p.amount_due_remaining > 0
       and h.last_rev = decode(:p_last_rev,'ALL',last_rev,:p_last_rev)
    order by f.description,h.last_rev
    [062113_023118843][][STATEMENT] 1: p_last_rev:419947
    [062113_023118843][][STATEMENT] 2: p_last_rev:419947
    [062113_023119546][][EVENT] Data Generation Completed...
    [062113_023119546][][EVENT] Total Data Generation Time 1.0 seconds
    13/06/21 14:31:19 after processData
    13/06/21 14:31:19 blobDomain Value :<?xml version="1.0" encoding="UTF-8"?>
    <IDIS_OPENEDBYUSER_RPT>
    <p_last_rev>419947</p_last_rev>
    <LIST_G_DISPUTE>
    <G_DISPUTE>
    <CURRENT_REVIEWER>NUMFON KIMWANGTAGO</CURRENT_REVIEWER>
    <ORIGINAL_TRANSACTION_DATE>2010-10-02T00:00:00.000+05:30</ORIGINAL_TRANSACTION_DATE>
    <CREATE_DATE>2011-04-20T00:00:00.000+05:30</CREATE_DATE>
    <CUSTOMER_NUMBER>45356000</CUSTOMER_NUMBER>
    <CUSTOMER_NAME>HEWLETT PACKARD GMBH</CUSTOMER_NAME>
    <DISPUTE_NUMBER>1CZ155358</DISPUTE_NUMBER>
    <REMAINING_AMOUNT>945</REMAINING_AMOUNT>
    </G_DISPUTE>
    </LIST_G_DISPUTE>
    </IDIS_OPENEDBYUSER_RPT>
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): oa-date-validation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): xdo.TemplateValidation: null
    [062113_023120390][oracle.apps.xdo.oa.schema.server.TemplateInputStream][STATEMENT] initStream(): template validation is on
    [062113_023121046][][STATEMENT] TemplateHelper.runProcessTemplate() called
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_COOKIE_NAME]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:processEscapes]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPL_SERVER_ID]:[C1ACC302F183004AE0430A0990B773BA35529272341851546077251405344914]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[100]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_COOKIE_VALUE]:[v1CUM5yeRe9st6ePp4QEmgJhEW]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_TRANSACTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RRRR]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[20084]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[4444238]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_PORT]:[1533]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_ID]:[2318]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DISPLAY_LANGUAGE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPLICATION_ID]:[seagate.oracle.apps.seaar.idispute.report.server.iDisputeOpenedByUserAM]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GUEST_USER_PWD]:[GUEST/ORACLE]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RESP_ID]:[53350]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROFILE_VALIDATION_ENABLED]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FUNCTION_ID]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_PV_SESSION_MODE]:[115J]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012b.okla.seagate.com)(PORT=1533))(ADDRESS=(PROTOCOL=tcp)(HOST=okdevcl1012a.okla.seagate.com)(PORT=1533)))(CONNECT_DATA=(SERVICE_NAME=dcap1)))]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FNDNAM]:[APPS]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_PROXY_USER]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [TWO_TASK]:[dcap1_balance]
    [062113_023121062][][EXCEPTION] [DEBUG]  [APPS_JDBC_DRIVER_TYPE]:[THIN]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_HOST]:[okdevcl1012a.okla.seagate.com]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBC_FILE_PATH]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [LANG_CODE]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [062113_023121062][][EXCEPTION] [DEBUG]  [USER_NAME]:[505543]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[5]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_NAME]:[null]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[AL32UTF8]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ORG_ID]:[22]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DB_ID]:[dcap1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [GWYUID]:[APPLSYSPUB/PUB]
    [062113_023121062][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ICX_SESSION_ID]:[1231277285]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JDBC:oracle.jdbc.maxCachedBufferSize]:[358400]
    [062113_023121062][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [ajp.connection.listener.state]:[down]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Client Compiler]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.version]:[10.1.3.3.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.name]:[Windows XP]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\i18n.jar;C:\JDEV\jdevbin\jdk\jre\lib\sunrsasign.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\classes]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.desktop]:[windows]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.trusted.clients]:[*]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.security.jazn.config]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.name]:[mysub]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.initial]:[com.evermind.server.ApplicationInitialContextFactory]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[C:\JDEV\jdevbin\jdk\jre\bin]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oc4j.jms.usePersistenceLockFiles]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.version]:[1.5.0_05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.util.logging.manager]:[oracle.classloader.util.ApplicationLogManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.timezone]:[Asia/Calcutta]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.net.preferIPv4Stack]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [062113_023121062][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.UtilClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.Util]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\endorsed]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[Cp1252]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [062113_023121062][][EXCEPTION] [DEBUG]  [DBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [file.separator]:[\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.class.version]:[49.0]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.country]:[US]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.home]:[C:\JDEV\jdevbin\jdk\jre]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [062113_023121062][][EXCEPTION] [DEBUG]  [os.version]:[5.1]
    [062113_023121062][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBSingletonClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121062][][EXCEPTION] [DEBUG]  [path.separator]:[;]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.vm.version]:[1.5.0_05-b05]
    [062113_023121062][][EXCEPTION] [DEBUG]  [user.variant]:[]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.protocol.handler.pkgs]:[com.evermind.protocol]
    [062113_023121062][][EXCEPTION] [DEBUG]  [checkForUpdates]:[adminClientOnly]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.awt.windows.WPrinterJob]
    [062113_023121062][][EXCEPTION] [DEBUG]  [RUN_FROM_JDEV]:[true]
    [062113_023121062][][EXCEPTION] [DEBUG]  [sun.io.unicode.encoding]:[UnicodeLittle]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.INTEROP_MODE]:[false]
    [062113_023121062][][EXCEPTION] [DEBUG]  [awt.toolkit]:[sun.awt.windows.WToolkit]
    [062113_023121062][][EXCEPTION] [DEBUG]  [MetaObjectContext]:[oracle.adf.mds.jbo.JBODefManager]
    [062113_023121062][][EXCEPTION] [DEBUG]  [FND_TOP]:[C:\JDEV\jdevhome\jdev\dbc_files\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [oracle.j2ee.http.socket.timeout]:[500]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.port]:[5659]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JRAD_ELEMENT_LIST_PATH]:[C:\JDEV\jdevhome\jdev\myhtml\OA_HTML\jrad\]
    [062113_023121062][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[C:\JDEV\jdevhome\jdev\dbc_files\secure\dcap1.dbc]
    [062113_023121062][][EXCEPTION] [DEBUG]  [com.sun.CORBA.POA.ORBServerId]:[1000000]
    [062113_023121062][][EXCEPTION] [DEBUG]  [java.naming.factory.url.pkgs]:[oracle.oc4j.naming.url]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.home]:[C:\Documents and Settings\mysub]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.home]:[C:\JDEV\jdevbin]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.dms.sensors]:[5]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.library.path]:[C:\JDEV\jdevbin\jdk\bin;.;C:\WINNT\system32;C:\WINNT;D:\oracle\product\10.1.0\Db_1\bin;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Windows Imaging\;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin;D:\oracle\product\10.1.0\Db_1\jdk\jre\bin\client;D:\oracle\product\10.1.0\Db_1\jlib;]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.StubClass]:[com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.dont.use.memory.archive]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.class.path]:[C:\JDEV\jdevbin\jdk\jre\lib\rt.jar;C:\JDEV\jdevbin\jdk\jre\lib\jsse.jar;C:\JDEV\jdevbin\jdk\jre\lib\jce.jar;C:\JDEV\jdevbin\jdk\jre\lib\charsets.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\dnsns.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\localedata.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunjce_provider.jar;C:\JDEV\jdevbin\jdk\jre\lib\ext\sunpkcs11.jar;C:\JDEV\jdevbin\j2ee\home\oc4j-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-unsupported-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\activation.jar;C:\JDEV\jdevbin\j2ee\home\lib\mail.jar;C:\JDEV\jdevbin\j2ee\home\lib\persistence.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb30.jar;C:\JDEV\jdevbin\j2ee\home\lib\ejb.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax77.jar;C:\JDEV\jdevbin\j2ee\home\lib\javax88.jar;C:\JDEV\jdevbin\j2ee\home\lib\servlet.jar;C:\JDEV\jdevbin\j2ee\home\lib\jms.jar;C:\JDEV\jdevbin\j2ee\home\lib\jta.jar;C:\JDEV\jdevbin\j2ee\home\lib\jacc-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\connector.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmx_remote_api.jar;C:\JDEV\jdevbin\j2ee\home\lib\jax-qname-namespace.jar;C:\JDEV\jdevbin\webservices\lib\jaxr-api.jar;C:\JDEV\jdevbin\webservices\lib\jaxrpc-api.jar;C:\JDEV\jdevbin\webservices\lib\saaj-api.jar;C:\JDEV\jdevbin\webservices\lib\jws-api.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-internal.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-oc4j.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-client.jar;C:\JDEV\jdevbin\j2ee\home\lib\oems-jms-server.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j-schemas.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojsp.jar;C:\JDEV\jdevbin\j2ee\home\lib\oc4j_orb.jar;C:\JDEV\jdevbin\j2ee\home\lib\iiop_support.jar;C:\JDEV\jdevbin\j2ee\home\lib\orbbase.jar;C:\JDEV\jdevbin\j2ee\home\iiop_gen_bin.jar;C:\JDEV\jdevbin\j2ee\home\lib\jmxcluster.jar;C:\JDEV\jdevbin\j2ee\home\jaccprovider.jar;C:\JDEV\jdevbin\javavm\lib\jasper.zip;C:\JDEV\jdevbin\j2ee\home\lib\adminclient.jar;C:\JDEV\jdevbin\opmn\lib\optic.jar;C:\JDEV\jdevbin\j2ee\home\jacc-spi.jar;C:\JDEV\jdevbin\j2ee\home\jazncore.jar;C:\JDEV\jdevbin\j2ee\home\jazn.jar;C:\JDEV\jdevbin\jlib\ospnego.jar;C:\JDEV\jdevbin\jlib\ldapjclnt10.jar;C:\JDEV\jdevbin\webservices\lib\wsserver.jar;C:\JDEV\jdevbin\webservices\lib\wsif.jar;C:\JDEV\jdevbin\webservices\lib\orawsmetadata.jar;C:\JDEV\jdevbin\webservices\lib\orajaxr.jar;C:\JDEV\jdevbin\jlib\jssl-1_1.jar;C:\JDEV\jdevbin\jlib\ojmisc.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-oc4j.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl2.jar;C:\JDEV\jdevbin\xqs\lib\xqs-api.jar;C:\JDEV\jdevbin\xqs\lib\xds.jar;C:\JDEV\jdevbin\jdev\lib\jdev-oc4j-embedded.jar;C:\JDEV\jdevbin\j2ee\home\lib\pcl.jar;C:\JDEV\jdevbin\j2ee\home\lib\ext;C:\JDEV\jdevbin\lib\dmsapp.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\admin_ejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jdomorcl.jar;C:\JDEV\jdevbin\jlib\jsp-el-api.jar;C:\JDEV\jdevbin\jlib\commons-el.jar;C:\JDEV\jdevbin\jlib\oracle-el.jar;C:\JDEV\jdevbin\jlib\jewt4.jar;C:\JDEV\jdevbin\jdev\appslibrt\regexp.jar;C:\JDEV\jdevbin\jdev\appslibrt\share.jar;C:\JDEV\jdevbin\jdev\appslibrt\uix2.jar;C:\JDEV\jdevbin\oaext\mds\lib\mdsrt.jar;C:\JDEV\jdevbin\oaext\lib\mdsdt.jar;C:\JDEV\jdevbin\oaext\lib\oamdsdt.jar;C:\JDEV\jdevbin\javacache\lib\cache.jar;C:\JDEV\jdevbin\lib\xschema.jar;C:\JDEV\jdevbin\BC4J\lib;C:\JDEV\jdevbin\BC4J\lib\adfbinding.jar;C:\JDEV\jdevbin\BC4J\lib\adfcm.jar;C:\JDEV\jdevbin\BC4J\lib\adfm.jar;C:\JDEV\jdevbin\BC4J\lib\adfmweb.jar;C:\JDEV\jdevbin\BC4J\lib\adfs-jazn.jar;C:\JDEV\jdevbin\BC4J\lib\adfs.jar;C:\JDEV\jdevbin\BC4J\lib\adfshare.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jct.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jctejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jimdomains.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmt.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jmtejb.jar;C:\JDEV\jdevbin\BC4J\lib\bc4jsyscat.jar;C:\JDEV\jdevbin\BC4J\lib\collections.jar;C:\JDEV\jdevbin\jdev\appslibrt\fwkjbo.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwk.zip;C:\JDEV\jdevbin\jdev\appslibrt\atg.zip;C:\JDEV\jdevbin\jdev\appslibrt\collections.zip;C:\JDEV\jdevbin\jdev\appslibrt\iasjoc.zip;C:\JDEV\jdevbin\jdev\appslibrt\rosettaRt.zip;C:\JDEV\jdevbin\jdev\appslibrt\portalFlexComps.jar;C:\JDEV\jdevbin\jdev\appslibrt\svc.zip;C:\JDEV\jdevbin\jdev\appslibrt\pat.zip;C:\JDEV\jdevbin\jdev\appslibrt\concurrent.zip;C:\JDEV\jdevbin\jdev\appslibrt\oamMaintMode.zip;C:\JDEV\jdevbin\jdev\appslibrt\fwkCabo.zip;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container.jar;C:\JDEV\jdevbin\jdev\appslibrt\pdkjava.jar;C:\JDEV\jdevbin\jdev\appslibrt\ptlshare.jar;C:\JDEV\jdevbin\jdev\appslibrt\xml.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsrp-container-types.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-impl.jar;C:\JDEV\jdevbin\jdev\appslibrt\jaxb-libs.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazn.jar;C:\JDEV\jdevbin\jdev\appslibrt\jazncore.jar;C:\JDEV\jdevbin\bibeans\lib\biamlocal.jar;C:\JDEV\jdevbin\bibeans\lib\bipres.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn.jar;C:\JDEV\jdevbin\bibeans\lib\bidatasvr.jar;C:\JDEV\jdevbin\bibeans\lib\bidataclt.jar;C:\JDEV\jdevbin\bibeans\lib\bidatacmn.jar;C:\JDEV\jdevbin\bibeans\lib\biext.jar;C:\JDEV\jdevbin\bibeans\lib\bicmn-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bipres-nls.zip;C:\JDEV\jdevbin\bibeans\lib\bidata-nls.zip;C:\JDEV\jdevbin\oaext\config\oac\oacfilter.jar;C:\JDEV\jdevbin\j2ee\home\lib\scheduler.jar;C:\JDEV\jdevbin\jdev\lib\jdev-rt.jar;C:\JDEV\jdevbin\jdev\lib\ojc.jar;C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\JDEV\jdevbin\diagnostics\lib\ojdl.jar;C:\JDEV\jdevbin\lib\dms.jar;C:\JDEV\jdevbin\jdbc\lib\ojdbc14dms.jar;C:\JDEV\jdevbin\opmn\lib\ons.jar;C:\JDEV\jdevbin\jdbc\lib\ocrs12.jar;C:\JDEV\jdevbin\rdbms\jlib\aqapi.jar;C:\JDEV\jdevbin\j2ee\home\lib\ojms-provider.jar;C:\JDEV\jdevbin\jdbc\lib\orai18n.jar;C:\JDEV\jdevbin\lib\xmlparserv2.jar;C:\JDEV\jdevbin\lib\xml.jar;C:\JDEV\jdevbin\lib\xmlmesg.jar;C:\JDEV\jdevbin\lib\xsu12.jar;C:\JDEV\jdevbin\lib\xquery.jar;C:\JDEV\jdevbin\jlib\osdt_core.jar;C:\JDEV\jdevbin\jlib\osdt_cert.jar;C:\JDEV\jdevbin\jlib\osdt_xmlsec.jar;C:\JDEV\jdevbin\jlib\osdt_wss.jar;C:\JDEV\jdevbin\jlib\osdt_saml.jar;C:\JDEV\jdevbin\jlib\ojpse.jar;C:\JDEV\jdevbin\jlib\oraclepki.jar;C:\JDEV\jdevbin\toplink\jlib\toplink.jar;C:\JDEV\jdevbin\toplink\jlib\antlr.jar;C:\JDEV\jdevbin\toplink\jlib\toplink-essentials.jar;C:\JDEV\jdevbin\webservices\lib\wsclient.jar;C:\JDEV\jdevbin\webservices\lib\orasaaj.jar;C:\JDEV\jdevbin\webservices\lib\xsdlib.jar;C:\JDEV\jdevbin\webservices\lib\mdds.jar;C:\JDEV\jdevbin\webservices\lib\relaxngDatatype.jar;C:\JDEV\jdevbin\webservices\lib\soap.jar;C:\JDEV\jdevbin\sqlj\lib\runtime12.jar;C:\JDEV\jdevbin\sqlj\lib\translator.jar;C:\JDEV\jdevbin\webservices\lib\orawsdl.jar;C:\JDEV\jdevbin\j2ee\home\applib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib;C:\JDEV\jdevbin\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\JDEV\jdevbin\lib\dsv2.jar;C:\JDEV\jdevbin\j2ee\home\lib\http_client.jar;C:\JDEV\jdevbin\j2ee\home\lib\jgroups-core.jar;C:\JDEV\jdevhome\jdev\myhtml\OA_HTML;C:\JDEV\jdevhome\jdev\myclasses;C:\JDEV\jdevbin\jlib\jdev-cm.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4jhtml.jar;C:\JDEV\jdevbin\BC4J\jlib\datatags.jar;C:\JDEV\jdevbin\BC4J\jlib\bc4juixtags.jar;C:\JDEV\jdevbin\BC4J\jlib\graphtags.jar;C:\JDEV\jdevbin\jdev\appslibrt\wsp.zip;C:\JDEV\jdevbin\jdev\appslibrt\diagnostics.jar;C:\JDEV\jdevbin\jdev\appslibrt\svctester.jar]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.home]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.application.environment]:[development]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [062113_023121078][][EXCEPTION] [DEBUG]  [JRAD_XML_PATH]:[C:\JDEV\jdevhome\jdev\myclasses\JRADXML;C:\JDEV\jdevhome\jdev\myprojects;C:\JDEV\jdevbin\jdev\oamdsxml\fwk]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.rmi.CORBA.PortableRemoteObjectClass]:[com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer]:[NO_VALUE]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.specification.version]:[1.0]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[little]
    [062113_023121078][][EXCEPTION] [DEBUG]  [oracle.j2ee.container.name]:[Oracle Containers for J2EE 10g (10.1.3.3.0) ]
    [062113_023121078][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[Service Pack 3]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[C:\DOCUME~1\mysub\Local Settings\Temp\]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.jts.pi.CLIENT_POLICY_CHECKING]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.ssl.mutual.auth.port]:[5657]
    [062113_023121078][][EXCEPTION] [DEBUG]  [FND_JDBC_STMT_CACHE_SIZE]:[200]
    [062113_023121078][][EXCEPTION] [DEBUG]  [os.arch]:[x86]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.Win32GraphicsEnvironment]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.ext.dirs]:[C:\JDEV\jdevbin\jdk\jre\lib\ext]
    [062113_023121078][][EXCEPTION] [DEBUG]  [user.dir]:[C:\JDEV\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config]
    [062113_023121078][][EXCEPTION] [DEBUG]  [CACHENODBINIT]:[true]
    [062113_023121078][][EXCEPTION] [DEBUG]  [line.separator]:[
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Client VM]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.sun.CORBA.connection.ORBSocketFactoryClass]:[oracle.oc4j.corba.iiop.IIOPSSLSocketFactory]
    [062113_023121078][][EXCEPTION] [DEBUG]  [javax.management.builder.initial]:[oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder]
    [062113_023121078][][EXCEPTION] [DEBUG]  [com.oracle.corba.ee.security.use.ssl]:[false]
    [062113_023121078][][EXCEPTION] [DEBUG]  [org.omg.CORBA.ORBClass]:[com.sun.corba.ee.impl.orb.ORBImpl]
    [062113_023121078][][EXCEPTION] [DEBUG]  [file.encoding]:[Cp1252]
    [062113_023121078][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.5]
    13/06/21 14:31:33 After exporting into excel sheet
    Here is my code which i have used to integrate the XML publisher:
    Code in AMImpl:
    public BlobDomain getXMLData(String user) {
    System.out.println("*** in getXMLData *** ");
    this.getOADBTransaction().writeDiagnostics(this, "*** in getXMLData ***",1);
    BlobDomain blobDomain = new BlobDomain();
    String dataDefCode = null;
    dataDefCode ="IDIS_OPENEDBYUSER_RPT";
    String dataDefApp = "SEAAR";
    try {
    System.out.println("in try b4 creating DT");
    this.getOADBTransaction().writeDiagnostics(this, "*** in try b4 creating DT ***",1);
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(),
    dataDefApp,
    dataDefCode);
    this.getOADBTransaction().writeDiagnostics(this, "*** after datatemplate ***",1);                                                   
    System.out.println("after datatemplate");
    Hashtable parameters = new Hashtable();
    parameters.put("p_last_rev", user);
    datatemplate.setParameters(parameters);   
    System.out.println("after set params");
    this.getOADBTransaction().writeDiagnostics(this, "*** after set params ***",1);
    datatemplate.setOutput(blobDomain.getOutputStream());
    System.out.println("after setOutput");
    this.getOADBTransaction().writeDiagnostics(this, "*** after setOutput***",1);
    datatemplate.processData();
    System.out.println("after processData" ); 
    this.getOADBTransaction().writeDiagnostics(this, "*** after processData***",1);
    System.out.println("blobDomain Value :"+blobDomain); 
    this.getOADBTransaction().writeDiagnostics(this,"blobDomain :: "+blobDomain,1 );
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Code in Controller file:
    if (pageContext.getParameter("Export") != null)
    BlobDomain amBlobDomain ;
    String user = (String)pageContext.getTransientSessionValue("userName");
    System.out.println("User name before passing parameter to report"+user);
    Serializable[] param = { user};
    amBlobDomain = (BlobDomain)am.invokeMethod("getXMLData", param);
    Properties pdfproperties = new Properties();
    try
    DocumentHelper.exportDocument(pageContext,
    "SEAAR",
    "IDISPUTE_OPENEDBYUSER_RPT_TP",
    "en",
    "US",
    amBlobDomain.getInputStream(),
    "EXCEL",
    pdfproperties);  
    catch(Exception e) {
    System.out.println("Exception found in Document Helper");
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    System.out.println("After exporting into excel sheet");
    Thanks and Regards,
    Myvizhi

    Hi Peddi,
    I gave TRUNC to both of the dates. But still the same issue. I think the problem is in returning the BolbDomain.
    return blobDomain;
    } catch (XDOException xdoe) {
    System.out.println("Exception in XDO :");
    throw new OAException("Exception in XDO : "+xdoe.getMessage());
    catch (SQLException sqle) {
    System.out.println("Exception in SQL :");
    throw new OAException("SQL Exception : "+sqle.getMessage());
    catch (OAException e) {
    System.out.println("Exception in OA :");
    throw new OAException("Unexpected Error :: " +e.getMessage());
    Thanks and Regards,
    Myvizhi

  • Error While Inserting Data into table using OAF

    Hi Experts,
    I am learning OAF; i am trying into insert the data into table using OAF. I followed the below procedure.
    My table(OLF_TEST_TBL) Columns:
    EmpID (Number), Ename(VARCHAR2 100), Sal Number, and who columns.
    1. created Application Module (AM).
    package: oracle.apps.mfg.simplepg.server
    name: oaf_test_tbl_am
    2. created simple page
    name:EmployeePG
    package:oracle.apps.mfg.simplepg.webui
    3. Assigned the Application Module to Page
    4. Created Entity Object(EO)
    name:oaf_test_tbl_eo
    package:oracle.apps.mfg.simplepg.schema.server
    schema:apps
    table:OLF_TEST_TBL
    note:
    1. EMPID column is selected as primary key
    2. selected create method, remove method and validation method.
    3.checked generate default view object
    VO:
    name:olf_test_tbl_vo
    note: Entity Object was assigned to VO
    Coming To page:
    page main region:EmployeeMainRN
    1.under main region i created one more region using wizard
    selected AM and VO, region style-default single column
    2. under main region i created one more region
    region style- pagebuttonbar, ID:pagebutoonsRN
    3. under pagebuttonRN, created two submit buttons(ID:SUBMIT, ID:CANCEL).
    In AM java page:
    created a method to insert row and for commit.
    Insert Method:
    public void insertrow(){
    OAViewObject vo=(OAViewObject)getoaf_test_tbl_vo1();
    if(!vo.isPreparedForExecution()){
    vo.executeQuery();
    Row row=vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    Commit Method:
    public void savaDataTooaftesttable(){
    getDBTransaction().commit();
    In EmployeeMainRN, created a controller.
    In this controller process request method, 'insertrow' method was called.
    import oracle.apps.fnd.framework.OAApplicationModule;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("insertrow");
    To commit the transaction when SUBMIT button pressed, commit method was called in process form request method.
    import oracle.apps.fnd.framework.OAViewObject;
    public void processformRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("SUBMIT") != null)
    am.invokemethod("savaDataTooaftesttable");
    Error After clicking the submit button_
    I ran the page, page was opened successfully. Once i enter data and click submit button, it's giving the following error.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object oaf_test_tbl_am.oaf_test_tbl_vo1700_oaf_test_tbl_vo1_practice_test_prc1_oracle_apps_mfg_simplepg_server_oaf_test_tbl_am.oaf_test_tbl_vo1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    Experts, Kindly help me why i am getting this error.
    Awating your replies.
    Thanks in advance.

    If you dont want to create message. You can throw exception like below as well
              throw new OAException("Emp Id is "+empId+" and employee name is "+empName, OAException.CONFIRMATION);Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Stale Data Error in seeded OAF page

    Hi All,
    In my custom oaf page I used master-detail between two tables using PPR (with single selection radio button in master table). From time to time I get "Error: Stale Data ..."
    Absolutely the same error I was able to reproduce in seeded oaf page (R12.1.2):
    1. open OA Framework ToolBox Tutorial -> Sample Browser -> Partial Page Rendering (PPR)
    2. expand Coordinate Master Detail Tables
    3. select first record (Supplier Number 1) and wait when the page will be fully refreshed
    4. VERY FAST select second and immediately third record.
    After that I get:
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The number of displayed records, 3, exceeds the actual number of records, 1, in view object SampleBrowserAM.SupplierSitesVO1. Some of the displayed records may have been deleted
    Additional conditions:
    1. Your connection to server should be "a little slowly" (in my case it's VPN). If apps server is in your local network you can get response very fast and will not get error. In this case repate 1-4 several times.
    2. Browser - IE7 or IE8. In FireFox 3.6 works fine.
    Thanks in advance.
    Regards,
    Sergey

    Hi
    Are you using
    if (!vo.isPreparedForExecution()) if (! vo.isPreparedForExecution ())
    vo.executeQuery(); vo.executeQuery ();
    for VOs in process request of base page!For detailed explanation on this look at this thread: for VOs in process request of base page.
    Please refer this thread may be it help you out..
    Re: Page Refresh and Page Date Rollback
    Ajay

  • Stale Data error when invoking seeded OAF from a custom OAF page

    Hi All,
    We have a requirement in OAF where we have to open a Seeded OAF Page (Install Base) from our Custom Page. We are using the javascript function “openWindow()” to open the page in a new window. When we close the seeded page by clicking seeded page window using the Window-close button and then perform any event on the custom page, we get the Stale Data error as given below.
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The number of displayed records, 2, exceeds the actual number of records, 1, in view object OwqAM.IKNCICOWQDetailVO1. Some of the displayed records may have been deleted.
    Here is the part of code we have tried.
    String destination = "/OA_HTML/RF.jsp?function_id="+Func_Id+"&"+"resp_id="+Resp_id+"&"+"resp_appl_id="+Application_id+"&security_group_id=0&lang_code=US";
    String testDest = "javascript:openWindow(top,'"+destination+"',null,{width:750, height:550},false,'document',null);void(0);";
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    bodyBean.setOnLoad(testDest);
    Also this issue is encountered only when we open an OAF page in a new window. We also have a functionality where a JSP page is opened on similar lines, but above said navigations do not result in the same error.
    If anyone has come across such a issue and have a resolution, please let me know. Any pointers would be of great help.
    Thanks,
    Mrugesh

    Hi,
    We had tried passing RetainAM = Y and then bouncing apache. Still we were getting the same error.
    We are not facing the STALE DATA issue when we invoke JSP page and oracle forms. It is only when we launch a seeded OAF page from our custom OAF page that we are getting this error.
    Regards,
    Mrugesh

Maybe you are looking for