Classic ASP - "ORA-01722: invalid number" using OraOLEDB.Oracle driver

I am working on doing some maintenance updates to a Classic ASP website, and I need to be able to run an insert/update statement for putting values into a lookup table. I am currently running into an "ORA-01722: invalid number" error when trying to use ADO and bind variables for my insert statement.
Below is an example of a table that I am having problems with:
CREATE TABLE "MATMGR"."TEST_SWING_TABLE"
(     "TABLE1_ID" NUMBER(4,0) NOT NULL ENABLE,
     "TABLE2_ID" NUMBER(4,0) NOT NULL ENABLE,
     CONSTRAINT "TEST_SWING_TABLE_PK" PRIMARY KEY ("TABLE1_ID", "TABLE2_ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
Here is some snippet code of the basic functionality I am trying to get to work:
''START CODE''
Dim connDb, cmdDoseInsert
Set connDb = Server.CreateObject("ADODB.Connection")
connDb.CursorLocation = adUseClient ' Setup to return RecordSet
connDb.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source={host};User ID={user id};Password={password}"
connDb.Open()
Set cmdDoseInsert = Server.CreateObject("ADODB.command")
Set cmdDoseInsert.ActiveConnection = connDb
cmdDoseInsert.CommandType = adCmdText
cmdDoseInsert.NamedParameters = true ' Set the command object to use named parameters
cmdDoseInsert.Prepared = true
cmdDoseInsert.CommandTimeout = 0
cmdDoseInsert.CommandText = "INSERT INTO TEST_SWING_TABLE (TABLE1_ID, TABLE2_ID) VALUES (:P_TABLE1_ID, :P_TABLE2_ID)"
cmdDoseInsert.Prepared = true
cmdDoseInsert.Parameters.Append cmdDoseInsert.CreateParameter("P_TABLE1_ID", adNumeric, adParamInput)
cmdDoseInsert.Parameters.Append cmdDoseInsert.CreateParameter("P_TABLE2_ID", adNumeric, adParamInput)
'... START: While Looping
     cmdDoseInsert.Parameters(0).Value = {some numeric value}
     cmdDoseInsert.Parameters(1).Value = {some numeric value}
     cmdDoseInsert.Execute
'... END: Looping
''END CODE''
What I have been able to find out so far is that there is some type of issue with numeric values getting translated right when sending two and retrieving from Oracle in ASP. So, does anyone have any thoughts on how to resolve this as I would like to use parameterized SQL to improve application performance?
I am connecting to a developmental server running Oracle 9.2

Ok, in my slightly larger example I found out that for what ever reason my named parameters are not being enforced, and so I had to make sure that the parameters were in the same order as they appeared in the SQL. To be on the save side, I did this when they were added as well as when I was assigning values to them.
Can anyone tell me if this is an Oracle issue or a ASP issue?

Similar Messages

  • Ora-01722 invalid number error in oracle 11g working fine in 9i

    Problem : I am getting ora-01722 invalid number i below mention code.Some times the procedure runs successfully but sometimes it gives error for the same parameters.The code runs fine in 9i Database.Help needed ASAP.
    CODE :
    PROCEDURE Get_HQ_for_Manager(p_person_id IN NUMBER
    ,p_maximum_level IN NUMBER
    ,io_cursor OUT dynamic_cursor) IS
    v_session_id NUMBER;
    BEGIN
    /* Create the Employee hierarchy */
    v_session_id := AMHR_GENIE_APIS.GET_SESSION_ID(p_person_id);
    OPEN io_cursor FOR
    SELECT decode(t.org_information3, 402, 'India - DVCI HR HQ', ou.NAME) HQ_Name,
    t1.org_information2 HQ_Email
    FROM hr.hr_organization_information t,
    hr_all_organization_units ou,
    hr_organization_information t1,
    (SELECT *
    FROM AMDOCS.AMHR_EMP_HIERARCHY_TMP B
    WHERE B.MNG_PERSON_ID = P_PERSON_ID
    AND B.SESSION_ID = V_SESSION_ID
    AND b.hier_level <= p_maximum_level) hier,
    per_all_people_f p_emp,
    hr_locations_all l
    WHERE t.organization_id = 342
    AND t.org_information_context = 'AMHR_COUNTRY_BY_HQ'
    AND t.org_information2 + 0 = ou.organization_id
    AND t.org_information1 = l.country
    AND t.org_information2 = t1.organization_id
    AND t1.org_information_context = 'AMHR_HQ_EMAIL_LIST'
    AND t1.org_information1 = 'HQ'
    AND p_emp.person_id = hier.person_id
    AND trunc(SYSDATE) + 0 BETWEEN p_emp.effective_start_date AND
    p_emp.effective_end_date
    AND p_emp.business_group_id <> 0
    AND (hier.ASSIGNMENT_TYPE = 'C' OR hier.ASSIGNMENT_TYPE = 'E')
    AND hier.location_id = l.location_id(+)
    AND hier.person_id <> p_person_id
    UNION
    SELECT 'India - ABSI HR HQ' HQ_Name, '[email protected]' HQ_Email
    FROM hr.hr_organization_information t,
    hr_all_organization_units ou,
    (SELECT *
    FROM amdocs.AMHR_EMP_HIERARCHY_TMP a
    WHERE a.mng_person_id = p_person_id
    AND a.session_id = v_session_id
    AND a.hier_level <= p_maximum_level) hier,
    per_all_people_f p_emp,
    hr_locations_all l
    WHERE t.organization_id = 342
    AND t.org_information_context = 'AMHR_COUNTRY_BY_HQ'
    AND t.org_information2 = ou.organization_id
    AND t.org_information1 = l.country
    AND p_emp.person_id = hier.person_id
    AND trunc(SYSDATE) + 0 BETWEEN p_emp.effective_start_date AND
    p_emp.effective_end_date
    AND p_emp.business_group_id <> 0
    AND (hier.ASSIGNMENT_TYPE = 'C' OR hier.ASSIGNMENT_TYPE = 'E')
    AND hier.location_id = l.location_id(+)
    AND t.org_information3 = 402
    AND hier.person_id <> p_person_id;
    END Get_HQ_for_Manager;

    Hi There,
    I'm having trouble seeing anything spatial in your procedure. Since this forum is for "Discussions related to Oracle Spatial, Locator, GeoRaster, Topology, Network Data Model, GeoCoder, Router, Spatial Web Services and 3D Data Model. Recommended reading: Pro Oracle Spatial" you might have better luck asking your question on one of the other forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    A line number for the error would help too.
    Best of luck,
    Matt

  • ORA-01722: invalid number while using TO_CHAR function.

    Hi All,
    I was using this query from around past 1 year and everything was working fine.
    select to_char ( '2012/12/23','YYYY/MM/DD') from dual;
    how ever from monday onwards , this is returning me with the following error.
    ORA-01722: invalid number
    The NLS_DATE_FORMAT is DD-MON-RR in my oracle 11g version.
    Please help me regarding this.

    Your date is in literal & your intended format so no need to format it again.
    select to_char ( '2012/12/23','YYYY/MM/DD') from dual;
    same as
    select '2012/12/23' from dual;I don't know your need so same code to work!!!
    select to_char(to_date('2012/12/23','YYYY/MM/DD'),'DD/MM/YYYY') from dualsunnymoon wrote:
    where vale for ? is coming as '2011/12/23' from java.
    the whole application has to be changed and retested.
    >
    It it comes as a text convert it to date TO_DATE('2011/12/23','YYYY/MM/DD') to use in comparison operators like =, != , > , < etc. Comparison operators used taking date as literal will give you wrong result.
    Better to do it right even it takes huge effort.
    Edited by: Lokanath Giri on ३ जनवरी, २०१२ १२:०६ अपराह्न

  • ORA-01722: invalid number error when trying to pass a list of values

    Gurus
    We are using a function like so
    The usage for the function below is
    Select fn_st_bb_nm_uc (‘1232131312, 123213312’) from dual;
    SQL> /
    Select fn_st_bb_nm_uc ('1232131312, 123213312') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    It’s giving an invalid number error. When we pass one value it is working fine but when we pass a string of values it gives this error. I have opened an SR around this but would greatly appreciate your help
    Acc_blackbar is the table and acc_blkbr_id is of type number.
    FUNCTION fn_st_bb_nm_uc (pBB_ID_LIST VARCHAR2)
    RETURN VARCHAR2 IS
    vspcm_typ_nm_uc VARCHAR2 (2000);
    CURSOR stname
    IS
    SELECT distinct st.spcm_typ_nm_uc
    FROM
    acc_blackbar abb,
    acc_specimen_type ast, acc_procedure apr,
    acc_specimen_part asp,
    specimen_type st, procedure pr,
    proc_proc_family ppf
    WHERE abb.ACC_BLKBR_ID = apr.ACC_BLKBR_ID
    AND apr.ACC_SPCM_PART_ID = asp.ACC_SPCM_PART_ID
    AND asp.ACC_SPCM_TYP_ID = ast.ACC_SPCM_TYP_ID
    AND ast.ACC_SPCM_TYP_SPCM_TYP_ID = st.SPCM_TYP_ID
    AND apr.procdr_id = pr.PROCDR_ID
    AND pr.PROCDR_ID = ppf.PROCDR_ID
    AND abb.acc_blkbr_id in (pBB_ID_LIST) ;
    BEGIN
    DBMS_OUTPUT.PUT_LINE(' BB LIST : ' || pBB_ID_LIST);
    FOR st IN stname
    LOOP
    vspcm_typ_nm_uc := vspcm_typ_nm_uc || ',' || st.spcm_typ_nm_uc;
    END LOOP;
    vspcm_typ_nm_uc := SUBSTR (vspcm_typ_nm_uc, 2);
    RETURN vspcm_typ_nm_uc;
    END;

    This ask tom thread covers multiple solutions:
    [http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425]

  • Recieving ORA-01722 invalid number error while creating a materialized view

    Hi,
    I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
    CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
    REFRESH FORCE ON DEMAND
    AS
    SELECT DISTINCT kr.request_id, org.org_unit_name,
    ebs_ch_ticket_type (kr.request_id) ticket_type,
    DECODE
    (kr.status_code,
    'CLOSED_SUCCESS', kr.last_update_date,
    'IN_PROGRESS', (SELECT MAX (start_time)
    FROM ebs_ch_datastore ecd1
    WHERE kr.request_id = ecd1.request_id
    AND workflow_step_name =
    'Final BA Review and Deployment Exit Criteria')
    ) closed_date,
    substr(krhd.visible_parameter12,1,10) siebel_start_date,
    kr.creation_date itg_start_date
    FROM kcrt_requests kr,
    kcrt_request_types krt,
    kcrt_req_header_details krhd, kcrt_request_details krd1,
    (SELECT koum.user_id user_id,
    DECODE (koup.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    koup.org_unit_name
    ) org_unit_name
    FROM krsc_org_unit_members koum, krsc_org_units koup
    WHERE 1 = 1
    AND 'Y' = koup.enabled_flag
    AND koum.org_unit_id = koup.org_unit_id
    AND EXISTS (
    SELECT 'X'
    FROM krsc_org_units kouc
    WHERE koup.org_unit_id = kouc.org_unit_id
    START WITH kouc.parent_org_unit_id =
    ANY (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units1
    WHERE 'Clearinghouse' =
    org_unit_name)
    CONNECT BY kouc.parent_org_unit_id =
    PRIOR kouc.org_unit_id)
    UNION
    SELECT kou.manager_id user_id,
    DECODE
    (kou.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    kou.org_unit_name
    ) org_unit_name
    FROM krsc_org_units kou
    WHERE 'Y' = kou.enabled_flag
    START WITH kou.parent_org_unit_id =
    (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units2
    WHERE 'Clearinghouse' = org_unit_name)
    CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
    WHERE krt.request_type_id = kr.request_type_id
    AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
    and kr.REQUEST_ID = krd1.request_id
    and krd1.batch_number = 1
    AND kr.request_id = krhd.request_id
    AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
    AND ( 'CLOSED_SUCCESS' = kr.status_code
    OR 'IN_PROGRESS' = kr.status_code
    AND kr.request_id IN (
    SELECT request_id
    FROM (SELECT DISTINCT request_id,
    MAX
    (start_time)
    closed_date
    FROM ebs_ch_datastore
    WHERE 'Final BA Review and Deployment Exit Criteria' =
    workflow_step_name
    GROUP BY request_id))
    Thanks,
    Shaik Mohiuddin

    This error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
    use
    where
    to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
    hope this helps..

  • Error Message - ORA-01722 Invalid Number

    Hello:
    I have the following situation. When I create an organization, a record is inserted into the following table, AGREEMENTS, and populates four fields.
    I have an update form which selects the organization from the AGREEMENTS table so the user can populate the rest of the table. In addition, on this form, there is a drop-down box which allows the user to select the name of a legal document along with the version of the document in which the user needs to select. This select list is created via an LOV joining three tables. The item name for this select list is :P6_DOCUMENT.
    The code for the LOV is:
    SELECT S.DOC_NAME||' - '|| O.VERSION_NO AS DOC, O.ORG_DOC_CURR_KEY
    FROM SUPPORTING_DOCS S,
         ORG_DOC_CURR_VER O,
         AGREEMENTS H
    WHERE
        S.DOC_TYPE = 'HISA'
    AND S.SUPPORTING_DOC_KEY = O.SUPPORTING_DOC_KEY
    AND H.ORG_KEY_LE = O.ORG_KEY
    AND O.ORG_KEY=:P6_ORG_KEY_LEWhen the user completes the form, the SUBMIT process is a PL/SQL block consisting of an UPDATE statement to update the AGREEMENTS table based on the selected organization and an INSERT statement to insert a record into the AGREEMENTS_DOC table to store the value stored in :P7_DOCUMENT.
    Ok, now here is where my problem starts.
    When I first bring up the form and I select the organization I want to update, I click the Search button to find the organization and I receive the following error message: ORA-01722 Invalid Number.
    At this point all I'm doing is a basic search. There is no insert/update or anything going on. I'm not understanding why I would be receiving this error message.
    The search is based on the database column ORG_KEY_LE whose datatype is NUMBER.
    In my application, the item assigned to ORG_KEY_LE is P6_ORG_KEY_LE.
    I have a PL/SQL block process created (On Load-Before Header) in the Page Rendering area of my page definition. The PL/SQL code that is written is:
    BEGIN
    IF :P6_SEARCH_ORG != '0' THEN
    :P6_ORG_KEY_LE := :P6_SEARCH_ORG;
    END IF;
    END;I then have an Item created, :P6_SEARCH_ORG, which is a Select List. In the LOV portion of the page for this item, I have the following:
    select ORG_KEY_LE display_value, ORG_KEY_LE return_value
    from AGREEMENTS
    order by 1The reason for using this table is because this table contains the newly created organization which needs to be updated with the remaining columns of data.
    I then have a Search button in the Button area which has the following settings:
    Button Position: Region Template Position #CHANGE#.
    Condition Type: Value of Item in Express 1 is NULL.
    Expression 1: :P6_ORG_KEY_LE.
    To troubleshoot this problem, I created two pages, one page to do the UPDATE and the second page to do the INSERT.
    The SEARCH functionality in both pages are identical.
    When I run my UPDATE page, which only involves updating the missing fields, the process works. I have my search box, I'm able to search for the organization, make my updates, and I'm good.
    When I run my INSERT page, which involves inserting the record with the assigned document, I receive the error message after I click the SEARCH button. In order to INSERT the record into this table, I first need to SELECT the organization that was UPDATED in the AGREEMENTS table (using the UPDATE page described in above paragraph). When I select the organization, the user can then assign the appropriate legal document to the organization and insert the record into the AGREEMENTS_DOC table.
    Can someone help me with this error message? I'm not sure why I am able to perform my SEARCH on a page with the UPDATE statement, not able to perform the SEARCH on the page with my INSERT statement, and not be able to perform the SEARCH on the page that combines the UPDATE and INSERT statements.
    I did some more troubleshooting and I do believe my SUBMIT process which contains the INSERT statement is the issue. I created a fourth page which doesn't have a SUBMIT process. I brought up the form, searched for my organization and the information for that organization appeared. The problem is definately with my UPDATE/INSERT process.
    The PL/SQL block for the Submit process is the following:
    BEGIN
    update
        MDD.HISA_AGREEMENTS
         set
           LAST_UPDATED_BY=V('APP_USER'),
           APPROVER_SALUTATION=:P6_APPROVER_SALUTATION,
           APPROVER_FIRST_NAME=:P6_APPROVER_FIRST_NAME,
           APPROVER_MIDDLE_INITIAL=:P6_APPROVER_MIDDLE_INITIAL,
           APPROVER_LAST_NAME=:P6_APPROVER_LAST_NAME,
           APPROVER_NAME_SUFFIX=:P6_APPROVER_NAME_SUFFIX,
           APPROVER_EMAIL_ADDR=:P6_APPROVER_EMAIL_ADDR,
           SPONSOR_EMAIL_ADDR=:P6_SPONSOR_EMAIL_ADDR,
           APPROVER_TITLE=:P6_APPROVER_TITLE
    where
          ORG_KEY_LE=:P6_ORG_KEY_LE
    INSERT INTO
        HISA_AGREEMENT_DOCS
          (HISA_AGREEMENT_DOC_KEY,
           ORG_KEY_LE,
           APPLICATION_KEY,
           STATUS,
           STATUS_DATE,
           CREATED_BY,
           ORG_DOC_CURR_KEY)
    VALUES
          (HISA_AGREEMENT_DOC_KEY_SEQ.NEXTVAL,
           :P6_ORG_KEY_LE,
           :P6_APPLICATION_KEY,
           'C',
           SYSDATE,
           V('APP_USER'),
           :P6_DOCUMENT)
    END;There is something wrong with the above statement and I do not understand what it could be. Can someone help?
    Thanks for the help.

    Hi,
    I believe you are on to something.
    The select list for item :P6_DOCUMENT appears when I first bring up the form. When I select my organization and receive the error message, I clicked on the Session in the Developer's bar. The value in item/field :P6_DOCUMENT shows %null%.
    This is the path in which my user would like to accomplish her task:
    1. Select an organization
    2. Display the information for that organization from the AGREEMENTS table
    3. Enter the data for the remaining fields in the AGREEMENTS table
    4. Select the document (:P6_DOCUMENT) from the drop-down.
    5. Click Submit
    6. Update the AGREEMENTS table with data entered in #3.
    7. Insert a record into the AGREEMENTS_DOC table with the selection from #4.
    Somehow I need the :P6_DOCUMENT field not to show the %null% during the SEARCH functionality. I think that is causing the problem.
    How do I fix this?

  • Error Message (ORA-01722: invalid number) when add amount into Number field

    I am using VB.net, trying to insert data into a field called amt with Data Type 'Number'.
    my vb.net code is as follows
    Dim oradb As String = DatabaseConnectionString
    Dim AmountValue As Decimal = 123.45
    'get the connection
    Dim conn As New OracleConnection(oradb)
    'open the database connection
    conn.Open()
    'create oracle command
    Dim cmd As New OracleCommand("INSERT INTO TBL1 (AMT) VALUES (:AMT)", conn)
    cmd.CommandType = CommandType.Text
    cmd.Parameters.Add(":AMT", OracleDbType.Decimal, AmountValue, ParameterDirection.Input)
    'Execute
    cmd.ExecuteNonQuery()
    I got error message "ORA-01722: invalid number". Please help

    Did you also change the below line before inserting Integer 123:
    cmd.Parameters.Add(":AMT", OracleDbType.Decimal, AmountValue, ParameterDirection.Input)
    to
    cmd.Parameters.Add(":AMT", OracleDbType.Integer, AmountValue, ParameterDirection.Input)

  • Please help: Case Statement - ORA-01722: invalid number Error

    Hi All,
    I'm trying to use Case statement to recode Cancelled statuses into two groups
    'Reject' if the difference between first date and last date is less than 29 and
    'Accept' if the difference between first date and last date is greater than 30
    Here is my 'test' data:
    STATUS     FIRST_DATE     LAST_DATE
    Transfer     10/08/2011     10/09/2011
    Mover     10/08/2011     15/09/2011
    Cancel     10/08/2011     16/09/2011
    Cancel     10/08/2011     5/09/2011
    Here is the syntax
    select a.*,
    (CASE WHEN a.STATUS ='Cancel' THEN (round(a.LAST_DATE-a.FIRST_DATE))
    ELSE 0
    END) CAN_DAYS,
    (CASE WHEN 'CAN_DAYS' >29 THEN 'Reject'
    WHEN 'CAN_DAYS' <30 THEN 'Accept'
    END) Reject_Accept
    from test a
    The first CASE statement works fine and gives me this
    STATUS     FIRST_DATE     LAST_DATE     CAN_DAYS
    Transfer     10/08/2011     10/09/2011     0
    Mover     10/08/2011     15/09/2011     0
    Cancel     10/08/2011     16/09/2011     37
    Cancel     10/08/2011     5/09/2011     26
    but the second CASE produces ORA-01722: invalid number Error. It is something to do with the CAN_DAYS data type, Oracle doesn't see it as Numeric i think.
    The result i want to see would be
    STATUS     FIRST_DATE     LAST_DATE     CAN_DAYS Reject_Accept
    Transfer     10/08/2011     10/09/2011     0
    Mover     10/08/2011     15/09/2011     0
    Cancel     10/08/2011     16/09/2011     37 Accept
    Cancel     10/08/2011     5/09/2011     26 Reject
    Could someone please help me to fix the syntax?
    Thank you in advance,

    This seems to give you your desired results...
    with test as
      ( select 'Transfer' as status, to_date('10/08/2011') as first_date, to_date('10/09/2011') as last_date  from dual union all
        select 'Mover'             , to_date('10/08/2011')              , to_date('15/09/2011')               from dual union all
        select 'Cancel'            , to_date('10/08/2011')              , to_date('16/09/2011')               from dual union all
        select 'Cancel'            , to_date('10/08/2011')              , to_date('05/09/2011')               from dual
    select  status
         ,  first_date
         ,  last_date
         ,  CAN_DAYS
         ,  CASE
              WHEN CAN_DAYS =   0 THEN NULL
              WHEN CAN_DAYS <  30 THEN 'Reject'
              WHEN CAN_DAYS >= 30 THEN 'Accept'
            END  Reject_Accept
      from  ( select  status
                   ,  first_date
                   ,  last_date
                   ,  CASE
                        WHEN STATUS ='Cancel' THEN round(LAST_DATE-FIRST_DATE)
                        ELSE 0
                      END  CAN_DAYS
                from  test
    ;

  • User Accounts and ORA-01722: invalid number error

    Hello,
    I have been using Express for a month or so now but have very limited knowledge of how it works.
    My Problem:
    I have a listing screen for user records which creates records in table QAS_USERS.
    When I add a record it saves the data OK and put the record in the list.
    When I click on the record in the list it takes me to the edit screen and I can change
    the details and it works OK and all the changes get saved to the database.
    On the data entry screen I have a list of the User Groups so I can select what group
    the user will be in, usual details in username, fullname, email address, password etc..
    I then added a routine to create a USER in the APEX Manage USERs.
    It creates the record in my table QAS_USERS and it creates a APEX User Account with
    the correct details and the record is displayed in the list.
    So far so good.
    Now the errors start:
    1. When I look at the User Account in Administration -> Manage Application Express Users
    most of the details have been added but the User Group does not get allocated.
    2. The record I created in QAS_USERS appears in the list on my listing screen but when
    I click on the Edit Icon on the left of the list I get the following error appear
    when the screen changes to the edit screen:
    ORA-01722: invalid number
    Unable to fetch row error
    QAS_USER Table:
    ID NUMBER
    CREATED_ON DATE
    CREATED_BY VARCHAR2(10)
    CHANGED_ON DATE
    CHANGED_BY VARCHAR2(10)
    ACTIVE VARCHAR2(3)
    USERNAME VARCHAR2(10)
    FULLNAME VARCHAR2(30)
    TEAMLEADER VARCHAR2(3)
    TEAMLEADER_ID NUMBER
    LAB NUMBER
    DIRECTOR VARCHAR2(3)
    ACTION_MANAGER VARCHAR2(3)
    SDM VARCHAR2(3)
    GM VARCHAR2(3)
    EMAIL_ADDRESS VARCHAR2(50)
    PASSWORD VARCHAR2(12)
    SDTL VARCHAR2(3)
    FIRSTNAME VARCHAR2(30)
    LASTNAME VARCHAR2(30)
    GROUP_ID NUMBER
    USER_ID VARCHAR2(20)
    Process Script to create the Express User Account:
    Declare
    group_id NUMBER;
    BEGIN
    group_id := APEX_UTIL.get_group_id (:P15_GROUP_ID);
    APEX_UTIL.CREATE_USER (
    P_USER_NAME => :P15_USERNAME,
    P_FIRST_NAME => :P15_FIRSTNAME,
    P_LAST_NAME => :P15_LASTNAME,
    P_WEB_PASSWORD => :P15_PASSWORD,
    P_EMAIL_ADDRESS => :P15_EMAIL_ADDRESS,
    p_developer_privs => 'ADMIN',
    p_group_ids => group_id);
    END;
    If any one has any ideas I would be very grateful.
    Regards,
    Simon.

    Hi,
    It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
    However, your formula is far more complicated than it needs to be.
    Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
    date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
    GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
    and AbsenceEnd as
    LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
    Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
    SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
    That's it. Not so complicated after all.
    Rod West

  • SQLAuthenticator Provider Specific ORA-01722 invalid number error

    Hi,
    when i try to to configure sql authentication and
    After restrating the OBIEE server  i am facing the below error
    <Oct 21, 2013 12:09:10 PM GST> <Error> <Security> <BEA-000000> <[Security:090759
    ]A SQLException occurred while retrieving user information
    java.sql.SQLSyntaxErrorException: ORA-01722: invalid number
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
            Truncated. see log file for complete stacktrace
    >
    Pls suggest to fix the issue

    Pls find the config.xml copied below
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd">
      <name>bifoundation_domain</name>
      <domain-version>10.3.5.0</domain-version>
      <security-configuration>
        <name>bifoundation_domain</name>
        <realm>
          <sec:authentication-provider xsi:type="wls:read-only-sql-authenticatorType">
            <sec:name>UserGroupDBAuthenticator</sec:name>
            <sec:control-flag>SUFFICIENT</sec:control-flag>
            <wls:data-source-name>UserGroupDS</wls:data-source-name>
            <wls:sql-get-users-password>SELECT USER_PASSWORD FROM BO_USER WHERE USER_ID = ?</wls:sql-get-users-password>
            <wls:sql-user-exists>SELECT USER_ID FROM BO_USER WHERE USER_ID= ?</wls:sql-user-exists>
            <wls:sql-list-member-groups>SELECT USER_ID FROM BO_USER WHERE USER_ID= ?</wls:sql-list-member-groups>
            <wls:sql-list-users>SELECT USER_ID FROM BO_USER WHERE USER_ID LIKE ?</wls:sql-list-users>
            <wls:sql-get-user-description>SELECT USER_AFNAME FROM BO_USER WHERE USER_ID LIKE ?</wls:sql-get-user-description>
            <wls:sql-list-groups>SELECT USER_CATEGORY_ID FROM BO_USER_CATEGORY WHERE USER_CATEGORY_ID LIKE ?</wls:sql-list-groups>
            <wls:sql-group-exists>SELECT USER_CATEGORY_ID FROM BO_USER_CATEGORY WHERE USER_CATEGORY_ID = ?</wls:sql-group-exists>
            <wls:sql-is-member>SELECT USER_ID FROM BO_USER WHERE USER_ID= ? AND USER_CATEGORY_ID = ?</wls:sql-is-member>
            <wls:sql-get-group-description>SELECT USER_CATEGORY_ANAME FROM BO_USER_CATEGORY WHERE USER_CATEGORY_ID = ?</wls:sql-get-group-description>
          </sec:authentication-provider>
          <sec:authentication-provider xsi:type="wls:active-directory-authenticatorType">
            <sec:name>MSAD</sec:name>
            <sec:control-flag>SUFFICIENT</sec:control-flag>
            <wls:host>scdc001.scad.ae</wls:host>
            <wls:user-name-attribute>sAMAccountName</wls:user-name-attribute>
            <wls:principal>CN=HCL1 HCL1,OU=Unknown Accounts,OU=SCADOU,DC=scad,DC=ae</wls:principal>
            <wls:user-base-dn>OU=SCADOU,DC=scad,DC=ae</wls:user-base-dn>
            <wls:credential-encrypted>{AES}yJt1s2K9bE/H3EgbCde7SLVz2O+kGSeF2XPlx16Kg/c=</wls:credential-encrypted>
            <wls:user-from-name-filter></wls:user-from-name-filter>
            <wls:group-base-dn>OU=SCADOU,DC=scad,DC=ae</wls:group-base-dn>
            <wls:group-from-name-filter></wls:group-from-name-filter>
          </sec:authentication-provider>
          <sec:authentication-provider xsi:type="wls:default-authenticatorType">
            <sec:control-flag>SUFFICIENT</sec:control-flag>
            <wls:use-retrieved-user-name-as-principal>true</wls:use-retrieved-user-name-as-principal>
          </sec:authentication-provider>
          <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
            <sec:active-type>AuthenticatedUser</sec:active-type>
          </sec:authentication-provider>
          <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
          <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
          <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
          <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
          <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
          <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
          <sec:name>myrealm</sec:name>
          <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
            <sec:name>SystemPasswordValidator</sec:name>
            <pas:min-password-length>8</pas:min-password-length>
            <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
          </sec:password-validator>
        </realm>
        <default-realm>myrealm</default-realm>
        <anonymous-admin-lookup-enabled>false</anonymous-admin-lookup-enabled>
        <clear-text-credential-access-enabled>false</clear-text-credential-access-enabled>
        <credential-encrypted>{AES}XIuR3PugbUjOzUtule2BBcdFXE5YndaeC6lrv+CIpRES+1us7RK77qywGsAGQiu5shrQ9gdqXF4lDUGu52pQFlbohEqFM7fLLSY9gitQi203cjSIEtDL/SjrIWX/L7GS</credential-encrypted>
        <web-app-files-case-insensitive>false</web-app-files-case-insensitive>
        <compatibility-connection-filters-enabled>false</compatibility-connection-filters-enabled>
        <node-manager-username>weblogic</node-manager-username>
        <node-manager-password-encrypted>{AES}Lnj81ljv/oGM7z99GT5+6NQdb6MxacRAO3QWV3q6hCE=</node-manager-password-encrypted>
        <principal-equals-case-insensitive>false</principal-equals-case-insensitive>
        <principal-equals-compare-dn-and-guid>false</principal-equals-compare-dn-and-guid>
        <downgrade-untrusted-principals>false</downgrade-untrusted-principals>
        <enforce-strict-url-pattern>true</enforce-strict-url-pattern>
        <cross-domain-security-enabled>false</cross-domain-security-enabled>
      </security-configuration>
      <jta>
        <security-interop-mode>default</security-interop-mode>
      </jta>
      <server>
        <name>AdminServer</name>
        <idle-connection-timeout>1000</idle-connection-timeout>
        <period-length>200000</period-length>
        <idle-periods-until-timeout>20</idle-periods-until-timeout>
        <dgc-idle-periods-until-timeout>21</dgc-idle-periods-until-timeout>
        <ssl>
          <name>AdminServer</name>
          <hostname-verification-ignored>true</hostname-verification-ignored>
          <listen-port>7002</listen-port>
        </ssl>
        <machine>scbofup3</machine>
        <listen-address></listen-address>
        <server-diagnostic-config>
          <name>AdminServer</name>
          <diagnostic-context-enabled>true</diagnostic-context-enabled>
        </server-diagnostic-config>
      </server>
      <server>
        <name>bi_server1</name>
        <ssl>
          <name>bi_server1</name>
          <enabled>false</enabled>
          <listen-port>9804</listen-port>
        </ssl>
        <machine>scbofup3</machine>
        <listen-port>8765</listen-port>
        <listen-port-enabled>true</listen-port-enabled>
        <cluster>bi_cluster</cluster>
        <listen-address></listen-address>
        <java-compiler>javac</java-compiler>
        <server-start>
          <name>bi_server1</name>
          <arguments>-Dserver.group=obi</arguments>
        </server-start>
        <jta-migratable-target>
          <name>bi_server1</name>
          <user-preferred-server>bi_server1</user-preferred-server>
          <cluster>bi_cluster</cluster>
        </jta-migratable-target>
        <client-cert-proxy-enabled>false</client-cert-proxy-enabled>
        <server-diagnostic-config>
          <name>bi_server1</name>
          <diagnostic-context-enabled>true</diagnostic-context-enabled>
          <wldf-diagnostic-volume>Low</wldf-diagnostic-volume>
        </server-diagnostic-config>
      </server>
      <cluster>
        <name>bi_cluster</name>
        <cluster-messaging-mode>unicast</cluster-messaging-mode>
      </cluster>
      <production-mode-enabled>true</production-mode-enabled>
      <embedded-ldap>
        <name>bifoundation_domain</name>
        <credential-encrypted>{AES}M3mHz4RP6LUiVO8E50F4tImxMHn81BhfT/wauMEMPzI7dCliZNS25wD7bch3SUc0</credential-encrypted>
      </embedded-ldap>
      <configuration-version>10.3.5.0</configuration-version>
      <app-deployment>
        <name>FMW Welcome Page Application#11.1.0.0.0</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.jrf_11.1.1/fmw-welcome.ear</source-path>
        <deployment-order>5</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>DMS Application#11.1.1.1.0</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.dms_11.1.1/dms.war</source-path>
        <deployment-order>5</deployment-order>
        <security-dd-model>CustomRoles</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>wsil-wls</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.webservices_11.1.1/wsil-wls.ear</source-path>
        <deployment-order>5</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>ESSAPP</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/ess/archives/stub-ess-app.ear</source-path>
        <deployment-order>50</deployment-order>
        <security-dd-model>CustomRoles</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>wsm-pm</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.wsm.pm_11.1.1/wsm-pm.ear</source-path>
        <deployment-order>5</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>em</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:\OBIEE11g\user_projects\applications\bifoundation_domain/em.ear</source-path>
        <deployment-order>400</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bilocaladmin#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bilocaladmin.ear</source-path>
        <deployment-order>253</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>biadminservices#11.1.1</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/biadminservices.ear</source-path>
        <deployment-order>257</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bicontentserver#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bicontentserver.ear</source-path>
        <deployment-order>300</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>biadminutils#11.1.1</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/biadminutils.ear</source-path>
        <deployment-order>240</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bicomposer#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bi.presentation_11.1.1/bicomposer.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>asyncadminservice#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/AsyncAdminService.ear</source-path>
        <deployment-order>260</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>jbips#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/jbips.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bioffice#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bioffice.ear</source-path>
        <deployment-order>300</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>biofficeclient#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/biofficeclient.war</source-path>
        <deployment-order>301</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>analytics#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/analytics.ear</source-path>
        <deployment-order>250</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bimiddleware#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bimiddleware.ear</source-path>
        <deployment-order>251</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bisearch#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bisearch.ear</source-path>
        <deployment-order>254</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bisecurityadmin#11.1.1</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bisecurityadmin.ear</source-path>
        <deployment-order>256</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bisecurity#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/bisecurity.ear</source-path>
        <deployment-order>257</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>mapviewer#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/mapviewer.ear</source-path>
        <deployment-order>258</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>adminservice#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/AdminService.ear</source-path>
        <deployment-order>259</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>biadminservlet#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/javahost/lib/obisintegration/biadminservlet.war</source-path>
        <deployment-order>261</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>NonJ2EEManagement</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>servers\AdminServer\upload\NonJ2EEManagement\app\NonJ2EEManagement.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>OracleRTD#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/RTD.ear</source-path>
        <deployment-order>333</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>bipublisher#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jee/xmlpserver.ear</source-path>
        <deployment-order>510</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>Workspace#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/products/Foundation/workspace/InstallableApps/workspace.ear</source-path>
        <deployment-order>522</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>Calc#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/products/Foundation/CALC/AppServer/InstallableApps/calcmgr.ear</source-path>
        <deployment-order>523</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>FinancialReporting#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/products/financialreporting/InstallableApps/HReports.ear</source-path>
        <deployment-order>524</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>APS#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/products/Essbase/aps/redist/aps.ear</source-path>
        <deployment-order>521</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>eas#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/products/Essbase/eas/server/tomcat/webapps/eas.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <app-deployment>
        <name>analyticsRes</name>
        <target>bi_cluster</target>
        <module-type>war</module-type>
        <source-path>E:\OBIEE11g\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
      <library>
        <name>oracle.bi.adf.model.slib#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.bi.presentation_11.1.1/bi-adf-model-slib.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.adf.view.slib#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.bi.presentation_11.1.1/bi-adf-view-slib.war</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.adf.webcenter.slib#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.bi.presentation_11.1.1/bi-adf-webcenter-slib.war</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.wsm.seedpolicies#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.wsm.policies_11.1.1/wsm-seed-policies.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.jsp.next#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.jsp_11.1.1/ojsp.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.dconfig-infra#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.dconfig-infra_11.1.1.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>orai18n-adf#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.nlsgdk_11.1.0/orai18n-adf.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.adf.dconfigbeans#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.dconfigbeans_11.1.1.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.pwdgen#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.pwdgen_11.1.1/pwdgen.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.jrf.system.filter</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.jrf_11.1.1/system-filters.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>adf.oracle.domain#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.model_11.1.1/adf.oracle.domain.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>adf.oracle.businesseditor#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.businesseditor_11.1.1/adf.businesseditor.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.adf.management#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.management_11.1.1/adf-management.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>adf.oracle.domain.webapp#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.view_11.1.1/adf.oracle.domain.webapp.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>jsf#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:\OBIEE11g\wlserver_10.3/common/deployable-libraries/jsf-1.2.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>jstl#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:\OBIEE11g\wlserver_10.3/common/deployable-libraries/jstl-1.2.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>UIX#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.uix_11.1.1/uix11.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>ohw-rcf#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.help_5.0/ohw-rcf.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>ohw-uix#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.help_5.0/ohw-uix.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.adf.desktopintegration.model#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.desktopintegration.model_11.1.1/oracle.adf.desktopintegration.model.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.adf.desktopintegration#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.adf.desktopintegration_11.1.1/oracle.adf.desktopintegration.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.jbips#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.bi.presentation_11.1.1/bi-jbips-slib-stub.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.composer#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/modules/oracle.bi.presentation_11.1.1/bi-composer-slib-stub.war</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bpm.mgmt#[email protected]</name>
        <target>AdminServer</target>
        <source-path>E:/OBIEE11g/oracle_common/bpm/modules/oracle.bpm.mgmt_11.1.1/oracle.bpm.bpmn-em-tools.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>emai</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/sysman/archives/applications/11_1_1_0_0_emai.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.ess.client#[email protected]</name>
        <target>bi_cluster</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.ess.client_11.1.1/stub-ess-client.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.ess#[email protected]</name>
        <target>bi_cluster</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.ess_11.1.1/stub-ess.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.webcenter.skin#[email protected]</name>
        <target>AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle.webcenter.skin.ear</source-path>
        <deployment-order>300</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.webcenter.composer#[email protected]</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/webcenter/modules/oracle.webcenter.framework_11.1.1/oracle.webcenter.composer.war</source-path>
        <deployment-order>300</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>emas</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/sysman/archives/applications/11_1_1_0_0_emas.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>emcore</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/sysman/archives/applications/11_1_1_0_0_emcore.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>bi.em</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/sysman/archives/fmwctrl/plugins/11_1_1_0_0_bi.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>essbase.em</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/sysman/archives/fmwctrl/plugins/11_1_1_0_0_essbase.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.biopmn#11.1.1</name>
        <target>bi_cluster,AdminServer</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jlib/oracle-biopmn.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.applcore.model#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/oracle_common/atgpf/modules/oracle.applcore.model_11.1.1/oracle.applcore.model.stub.ear</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.applcore.view#[email protected]</name>
        <target>AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/oracle_common/atgpf/modules/oracle.applcore.view_11.1.1/oracle.applcore.view.stub.war</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.applcore.config#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>jar</module-type>
        <source-path>E:/OBIEE11g/oracle_common/atgpf/modules/features/oracle.applcore.config.stub.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-shared-libraries#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>bijdbc#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>jar</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/bifoundation/jdbc/jdk16/bijdbc.jar</source-path>
        <deployment-order>300</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.composer#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bi.presentation_11.1.1/bi-composer-slib.war</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.jbips#[email protected]</name>
        <target>bi_cluster,AdminServer</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bi.presentation_11.1.1/bi-jbips-slib.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.jbips.commons#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bi.presentation_11.1.1/bi-jbips-commons-slib.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.bi.jbips.soap#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bi.presentation_11.1.1/bi-jbips-soap-slib.ear</source-path>
        <deployment-order>100</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>bithirdparty#11.1.1</name>
        <target>bi_cluster</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/oracle.bithirdparty_11.1.1/bithirdparty.jar</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.rtd.client#[email protected]</name>
        <target>bi_cluster</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/clients/rtd/oracle.rtd.client.ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>oracle.rtd.client.webapp#[email protected]</name>
        <target>bi_cluster</target>
        <source-path>E:/OBIEE11g/Oracle_BI1/clients/rtd/oracle.rtd.client.webapp.war</source-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>bip-shared-libraries#11.1.1</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/modules/BIPWebCP.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>xerces#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_xerces.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-misc-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_misc.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-bpmui-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_bpmui.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-bpmui-shared-webapp#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/bpmui-common/11.1.2.0/bpmui.war</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-applistener-libraries</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/config/11.1.2.0/hit-applistener.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-calcmgr-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/calcmgr/11.1.2.0/lib/calcmgr.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-epma-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_epma.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-pdf-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_pdf.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>struts#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>war</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/misc/11.1.2.0/struts.war</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-fr-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_fr.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-frweb-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_frweb.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-annotation-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_annotation.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-planning-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_planning.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-planning-adm-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_planning_adm.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <library>
        <name>epm-eas-libraries#[email protected]</name>
        <target>bi_cluster</target>
        <module-type>ear</module-type>
        <source-path>E:/OBIEE11g/Oracle_BI1/common/jlib/11.1.2.0/epm_eas.jar</source-path>
        <deployment-order>500</deployment-order>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </library>
      <machine>
        <name>scbofup3</name>
        <node-manager>
          <listen-address>scbofup3</listen-address>
          <listen-port>9556</listen-port>
        </node-manager>
      </machine>
      <jms-server>
        <name>JRFWSAsyncJmsServer</name>
        <target>bi_server1</target>
        <persistent-store>JRFWSAsyncFileStore</persistent-store>
        <messages-maximum>200000</messages-maximum>
      </jms-server>
      <jms-server>
        <name>BipJmsServer</name>
        <target>bi_server1</target>
        <persistent-store>BipJmsStore</persistent-store>
      </jms-server>
      <migratable-target>
        <name>bi_server1 (migratable)</name>
        <notes>This is a system generated default migratable target for a server. Do not delete manually.</notes>
        <user-preferred-server>bi_server1</user-preferred-server>
        <cluster>bi_cluster</cluster>
      </migratable-target>
      <self-tuning>
        <work-manager>
          <name>weblogic.wsee.mdb.DispatchPolicy</name>
          <target>bi_cluster</target>
        </work-manager>
      </self-tuning>
      <shutdown-class>
        <name>JOC-Shutdown</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.ias.cache.Shutdown</class-name>
      </shutdown-class>
      <shutdown-class>
        <name>DMSShutdown</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.dms.wls.DMSShutdown</class-name>
      </shutdown-class>
      <startup-class>
        <name>JRF Startup Class</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>110</deployment-order>
        <class-name>oracle.jrf.wls.JRFStartup</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>JPS Startup Class</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>115</deployment-order>
        <class-name>oracle.security.jps.wls.JpsWlsStartupClass</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>ODL-Startup</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>145</deployment-order>
        <class-name>oracle.core.ojdl.weblogic.ODLConfiguration</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>AWT Application Context Startup Class</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.jrf.AppContextStartup</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>JMX Framework Startup Class</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.as.jmx.framework.wls.spi.StartupListener</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>Web Services Startup Class</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.j2ee.ws.server.WebServiceServerStartup</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>JOC-Startup</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.ias.cache.Startup</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <startup-class>
        <name>DMS-Startup</name>
        <target>bi_cluster,AdminServer</target>
        <deployment-order>150</deployment-order>
        <class-name>oracle.dms.wls.DMSStartup</class-name>
        <failure-is-fatal>false</failure-is-fatal>
        <load-before-app-deployments>true</load-before-app-deployments>
        <load-before-app-activation>true</load-before-app-activation>
      </startup-class>
      <file-store>
        <name>JRFWSAsyncFileStore</name>
        <directory>JRFWSAsyncFileStore</directory>
        <target>bi_server1</target>
      </file-store>
      <file-store>
        <name>BipJmsStore</name>
        <directory>BipJmsStore</directory>
        <target>bi_server1</target>
      </file-store>
      <jms-system-resource>
        <name>JRFWSAsyncJmsModule</name>
        <target>bi_cluster</target>
        <sub-deployment>
          <name>JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer</name>
          <target>JRFWSAsyncJmsServer</target>
        </sub-deployment>
        <descriptor-file-name>jms/jrfwsasyncjmsmodule-jms.xml</descriptor-file-name>
      </jms-system-resource>
      <jms-system-resource>
        <name>BipJmsResource</name>
        <target>bi_cluster</target>
        <sub-deployment>
          <name>BipJmsSubDeployment</name>
          <target>BipJmsServer</target>
        </sub-deployment>
        <descriptor-file-name>jms/bipjmsresource-jms.xml</descriptor-file-name>
      </jms-system-resource>
      <admin-server-name>AdminServer</admin-server-name>
      <wldf-system-resource>
        <name>Module-FMWDFW</name>
        <target>bi_cluster,AdminServer</target>
        <descriptor-file-name>diagnostics/Module-FMWDFW-2818.xml</descriptor-file-name>
        <description>Creates FMWDFW incidents based on unchecked Exceptions and critical errors</description>
      </wldf-system-resource>
      <jdbc-system-resource>
        <name>mds-owsm</name>
        <target>bi_cluster,AdminServer</target>
        <descriptor-file-name>jdbc/mds-owsm-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>EPMSystemRegistry</name>
        <target>bi_cluster,AdminServer</target>
        <descriptor-file-name>jdbc/EPMSystemRegistry-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>rtd_datasource</name>
        <target>bi_cluster</target>
        <descriptor-file-name>jdbc/RTDDataSource-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>bip_datasource</name>
        <target>bi_cluster</target>
        <descriptor-file-name>jdbc/bip_datasource-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>calc_datasource</name>
        <target>bi_cluster</target>
        <descriptor-file-name>jdbc/calc_datasource-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>raframework_datasource</name>
        <target>bi_cluster</target>
        <descriptor-file-name>jdbc/raframework_datasource-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>aps_datasource</name>
        <target>bi_cluster</target>
        <descriptor-file-name>jdbc/aps_datasource-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
      <jdbc-system-resource>
        <name>UserGroupDS</name>
        <target>AdminServer,bi_server1</target>
        <descriptor-file-name>jdbc/UserGroupDS-0115-jdbc.xml</descriptor-file-name>
      </jdbc-system-resource>
    </domain>

  • Error: ORA-01722: invalid number performing List of Values query.

    when i created a cascading select list, For the first time it worked properly then little later
    it is giving this error.
    Error: ORA-01722: invalid number performing List of Values query: "select distinct cl_name d, cl_no r from Kclient where gr_no = :P1_GRNO order by 1
    could any one please solve the problem?
    2. when i run the application. in all the items edit button is automatically seen
    including in the login screen.
    could any one identify what is the error and give me a solution.

    Is this better?
    select DISTINCT FIRST_NAME||' '||LAST_NAME display_value
          , ROW_ID return_value
      from "PSA_RESOURCE_MANAGER"
    where PSA_RESOURCE_MANAGER.ACTIVE_FLAG='Y'
       AND :P117_REPORTING_MANAGER = PSA_RESOURCE_MANAGER.REPORTING_MANAGER
       AND :P117_REPORTING_MANAGER <> -1 order by 1or
    select DISTINCT FIRST_NAME||' '||LAST_NAME display_value
          , ROW_ID return_value
      from "PSA_RESOURCE_MANAGER"
    where PSA_RESOURCE_MANAGER.ACTIVE_FLAG='Y'
       AND :P117_REPORTING_MANAGER = PSA_RESOURCE_MANAGER.REPORTING_MANAGER
       AND :P117_REPORTING_MANAGER != '-1' order by 1Is ROW_ID a column in your table by the way? If not, you should use ROWID (without the underscore)

  • ORA-01722: invalid number performing List of Values query

    I have a situation here where I want to pass string value(available in search field) to POP up key LOV on another page as default value.
    I passed item value in default field in POPup key LOV item.I am able to see string value but It also gave me following error.
    Error: ORA-01722: invalid number performing List of Values query: "select CUSTOMER_NAME, CUSTOMER_ID from (select customer_name, customer_id from hed_customers) wwvlovinlineviewname where CUSTOMER_ID = :WWV_LOV_RETURN_KEY_UTIL_1111".
    Without Default value, it work like champ.
    Please suggest how to get rid of this error
    Thanks in advance

    I hit the same problem.
    The thing is that, in APEX, a 'null' value in a form is not really null but gets passed on as '%'.
    When that gets compared to a number, 01722 will occur.
    A workaround is to define a 'value if null' that is an implicit number, like '-1'.
    And lets hope no one ever uses that as a real ID...
    Cheers
    Peter

  • ORA-01722: Invalid number - error only in Oracle 10g?

    While trying to insert a numeric value into a decimal column, I get this error. Hitherto, my update statements used to look fine.
    Can anyone let me know if this enforcement is specific to Oracla 10g? I am running :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Thanks in advance for your help!
    Niranjan

    Well, you've a blank space which isn't a number, that's why you have an error.
    Please see the following example to have a default value :
    SQL> create table tutu (id number, text varchar2(10));
    Table created.
    SQL> alter table tutu modify id default 0;
    Table altered.
    SQL> insert into tutu values (' ', 'NoWork');
    insert into tutu values (' ', 'NoWork')
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> insert into tutu values (null,'NullValue');
    1 row created.
    SQL> insert into tutu (text) values ('Default');
    1 row created.
    SQL> insert into tutu values (1,'NonDefault');
    1 row created.
    SQL> select * from tutu;
            ID TEXT
               NullValue
             0 Default
             1 NonDefault
    SQL> Nicolas.
    Message was edited by:
    N. Gasparotto

  • ORA-01722: invalid number error with Bulk collect

    Hi ,
    I have been using the script to delete old seasonal data from my application DB tables. The stored procedure has been created successfully but when i try to run the proc it has been throwing 'ORA-01722: invalid number' exception at line 'FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;'.
    Could you please help me here?
    Below is the stored proc:
    CREATE OR REPLACE PROCEDURE clean_old_season_data(P_SEASON VARCHAR2) AS
    CURSOR C1_CUR IS SELECT ROWID RID,pro.* FROM PROPS pro where pro.ITEMPK IN
    (SELECT sve.pk FROM SAVEDVALUEENTRY sve WHERE sve.p_parent IN
    (SELECT s.pk FROM SAVEDVALUES s WHERE s.P_MODIFIEDITEM IN
    (SELECT a.PK
    FROM products a
    WHERE a.p_season IN (select s.pk from Seasons s where s.P_code=P_SEASON)
    ) ) ) and rownum<5;
    CURSOR C2_DEL IS SELECT RID FROM PROPS_HISTORY;
    TYPE C1_TYPE IS TABLE OF C1_CUR%ROWTYPE;
    C1_TYPE_VAR C1_TYPE;
    TYPE C2_TYPE IS TABLE OF UROWID;
    C2_TYPE_VAR C2_TYPE;
    ex_dml_errors EXCEPTION;
    PRAGMA EXCEPTION_INIT(ex_dml_errors, -24381);
    l_error_count NUMBER;
    err_num NUMBER;
    err_msg VARCHAR2 (300);
    COMMIT_VARIABLE PLS_INTEGER:=0;
    v_bulklimit NUMBER:=2;
    BEGIN
    /*------------------ Data Selection and INSERTION IN HISTORY TABLE ---------------------------------------*/
    OPEN C1_CUR;
    LOOP
    DBMS_OUTPUT.put_line('Cursor opend now in loop');
    FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;//ERROR OCCURS HERE
    DBMS_OUTPUT.put_line('Cursor count is'|| C1_TYPE_VAR.COUNT);
    FORALL I IN 1..C1_TYPE_VAR.COUNT SAVE EXCEPTIONS
    INSERT INTO PROPS_HISTORY VALUES C1_TYPE_VAR(I);
    COMMIT_VARIABLE := COMMIT_VARIABLE + v_bulklimit;
    DBMS_OUTPUT.put_line('Commit variable'|| COMMIT_VARIABLE.COUNT);
    IF COMMIT_VARIABLE = v_bulklimit THEN
    COMMIT;
    COMMIT_VARIABLE := 0;
    END IF;
    EXIT WHEN C1_CUR%NOTFOUND;
    END LOOP;
    DBMS_OUTPUT.put_line('Cursor closed now in loop and data inserted in history table');
    CLOSE C1_CUR;
    /*------------------ Data Selection and DELETION IN Live TABLE ---------------------------------------*/
    COMMIT_VARIABLE := 0;
    OPEN C2_DEL;
    LOOP
    FETCH C2_DEL BULK COLLECT INTO C2_TYPE_VAR LIMIT 2;
    FORALL I IN 1..C2_TYPE_VAR.COUNT SAVE EXCEPTIONS
    DELETE FROM PROPS WHERE ROWID = C2_TYPE_VAR(I);
    COMMIT_VARIABLE := COMMIT_VARIABLE + 2;
    IF COMMIT_VARIABLE = 2 THEN
    COMMIT;
    COMMIT_VARIABLE := 0;
    END IF;
    EXIT WHEN C2_DEL%NOTFOUND;
    END LOOP;
    CLOSE C2_DEL;
    END;

    Although there are many things which should not have been done in the posted code, I could not find any reason why the Invalid number error should occur at the Fetch clause.
    I would suggest you to Insert into Table by providing the Order of Columns i.e. Insert into table (col1, ... colN) values (coll(i).col1...col(i).colN);
    I tested below code and it did not give any errors.
    drop table test_table;
    create table test_Table
      rid   varchar2(100),
      emp_id  number(5),
      fname   varchar2(20),
      lname   varchar2(50)
    set serveroutput on;
    declare
      cursor c_cur is
          select rowid rid, e.*
            from employees e
           where rownum < 10;
      type typ_cur is table of c_cur%rowtype;
      typ typ_cur;
      l_bulk_limit    number := 5;
    begin
      open c_cur;
      loop
        fetch c_cur bulk collect into typ limit l_bulk_limit;
        dbms_output.put_line('Collection Count :: ' || typ.count);
        forall i in 1..typ.count --typ.first..typ.last
          insert into test_Table (rid, emp_id, fname, lname) values (typ(i).rid,typ(i).employee_id,typ(i).first_name,typ(i).last_name);
        dbms_output.put_line('Processed ' || l_bulk_limit || ' records.');
        exit when c_cur%notfound;
      end loop;
      commit;
    end;
    select * from test_table;PS:- 1. When you are processing only 4 Records, then why are you breaking them in 2 Loops?
    2. Why Commit every time you are processing a DML? Why not maintain an Error Flag and Rollback the Transaction as soon as error is encountered?
    3. Use "{code}" (Exclude Double Quotes) to format the code. I am not sure if works.
    Regards,
    P.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 'ORA-01722: Invalid number' error message in BeX

    Hi Gurus,
    We have a new report built on top of a DSO. When I run this report, I get the message  'ORA-01722: invalid number'. On furthur testing, I found that when I move two objects 'Date Changed' & 'Time Changed' [both are 'Z' objects we created] from the 'Rows' to 'Free Characteristics', the report runs as expected. So the issue seems that it is with these two objects. One of them is of type 'DATS' & the other of type 'TIMS'. These two are mapped to respective 'Date' & 'Time' fields in SAP R3.
    SID's exists in the Master Data tables for both these objects. The data for both the fields contains the normal 'Date' & 'Time' values.Running the query using RSRT shows the same error message. The RSRV check on this report says that 'Query execution not possible as the variables contain invalid values'.
    I have seen a couple of other posts in SDN with similar issues but none of them have a solution identified so far. Just wanted to check if anyone who has experienced this issue have been successfully able to resolve it?
    Thanks
    Arvind

    Hi Ravi,
    Thanks for your prompt reply. Yes, the 'Date' & 'Time' objects have 0DATE & 0TIME as reference objects.
    I couldn't find any invalid vallues for these date and time fields. If invalid values were present, wouldn't the DSO activation have failed?
    Thanks
    Arvind.

Maybe you are looking for

  • Difference between redundancy & recovery window, rman

    Hi All, i want to know the difference between following two commands i.e. 1. configure retention policy to redundancy 1; 2. configure retention policy to recovery window of 1 days; we are taking rman based FULL backup every night, so just want to kee

  • How to reduce performance time.

    Hi, Any body guide me how to reduce performance time for this report. It’s taking to much time for execution. *& Report  ZEOU_CST_CLAIM_REP                                          * REPORT  zeou_cst_claim_rep. *& Program Name    : ZEOU_CST_CLAIM_REP

  • How many Win 7 x64 Critical Patches for Sept 2012?

    Hi, How many Windows 7 SP1 x64 Critical Patches released by Novell for ZPM? We only see 2? Is that what others seeing or is something wrong on our system we did do a rest few day ago that also disabled all patches. Did anyone one else had similar exp

  • How to copy all bookmarks

    how to copy all bookmarks in firefox

  • Empty Line at the End of a List Component

    I am using a list compenent in which I am manually adding items to it (i.e. addItemAt). The list is long enough to be scrollable. At the end of the list is a blank line, or a space big enough to look like the size of a line. It is not clickable or yo