ORA-01722: Invalid number when importing .csv file
Hi,
I did not find any information regarding my specific problem until now.
I try to import a *.csv file containing id, double, double, double, double, double (e.g. as a sample line "id_1, 674,6703459157907, 4212,205538937771, 674,6703459158016, 5561,546230769363, 2714,6367797576822") into a table with the following definition:
CREATE TABLE "foo"."BUILDING_SURFACES"
( "ID" VARCHAR2(40 BYTE),
"AREA1" BINARY_DOUBLE DEFAULT 0,
"AREA2" BINARY_DOUBLE DEFAULT 0,
"AREA3" BINARY_DOUBLE DEFAULT 0,
"AREA4" BINARY_DOUBLE DEFAULT 0,
"AREA5" BINARY_DOUBLE DEFAULT 0
) SEGMENT CREATION IMMEDIATE
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 FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS" ;
I am doing it with the help of the importer tool in the SQLDeveloper, by doing a right-click onto the table and selecting import data. In the assistant everything seem to be fine, even the data preview.
But when I try to import, I get an error: "ORA-01722: Invalid number" and a couple of failure windows appear. These windows display a NullPointerException:
java.lang.NullPointerException
at oracle.dbtools.raptor.data.writers.DataTypeFormatterRegistry.getFormattor(DataTypeFormatterRegistry.java:42)
at oracle.dbtools.raptor.data.writers.ImportGenerator.getBatchForInsert(ImportGenerator.java:1837)
at oracle.dbtools.raptor.data.writers.ImportGenerator.access$1800(ImportGenerator.java:84)
at oracle.dbtools.raptor.data.writers.ImportGenerator$1.afterLoopProcessing(ImportGenerator.java:1125)
at oracle.dbtools.raptor.newscriptrunner.ScriptExecutorTask.loopThroughAllStatements(ScriptExecutorTask.java:220)
at oracle.dbtools.raptor.newscriptrunner.ScriptExecutorTask.doWork(ScriptExecutorTask.java:165)
at oracle.dbtools.raptor.data.writers.ImportGenerator$1.doWork(ImportGenerator.java:782)
If I cancel the task, the insert statements are displayed:
SET DEFINE OFF
--Einfügen für Zeilen 1 bis 2 nicht erfolgreich
--ORA-01722: Ungültige Zahl
--Zeile 1
INSERT INTO BUILDING_SURFACES (ID, AREA1, AREA2, AREA3, AREA4, AREA5) VALUES ('BLDG_0003000b002ea10f','674.6703459157907','4212.205538937771','674.6703459158016','5561.546230769363','2714.6367797576822');
--Zeile 2
As one can see, the numbers are quoted ('). If I delete the quotes by hand, the insert statement works correctly.
What can I do, so that the import tool does not quote the numbers?
Deleting the quotes with the help of a regular expression is not workaround, since a lot of error windows appear, which needs to be closed by hand...
Thanks in advance,
Richard
Some infos about my machine:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
$ java -version
java version "1.6.0_38"
Java(TM) SE Runtime Environment (build 1.6.0_38-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved. Alle Rechte vorbehalten.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
I solved my problem. :)
I changed the datatype of the area fields to "NUMBER" and edited my input file in a way, that it is tab separated with "," as decimal sign.
Richard
Similar Messages
-
Hi guys
We are having a problem with the migration to WLCS 3.2 SP2 / WLS 5.1 SP10.
We are moving from WLCS 3.2 and WLS SP6. Our CMP beans generate errors when
the container tries to update them. They deploy without error though.
See below for the stack trace
We use the recommended weblogic driver for our Oracle 8.1.7.0 database. WL
runs on w2k, and Oracle on Solaris 7.
Extract from set-environment:
SET DB_CLASSPATH=
SET PATH=%PATH%;%WEBLOGIC_HOME%\bin\oci815_8;%WLCS_ORACLE_HOME%\bin
SET
SQLPATH=C:\WebLogicCommerceServer3.2\db\oracle816;C:\WebLogicCommerceServer3
.2\db\oracle816\event;
Extract from weblogic.properties:
weblogic.jdbc.connectionPool.commercePool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
I made a few experiments, and I noticed that generating the CMP classes
(with EJBC) with the old WebLogic_RDBMS.jar (from WLS SP6) is working fine.
Here is what I mean : ejbc uses the library
c:\weblogic\lib\persistence\WebLogic_RDBMS.jar And this library has changed
with SP10. However since that change and after rebuilding our jars, all CMP
entity beans fail to update.
If I just replace that WebLogic_RDBMS.jar with the previous one (from SP6),
and without changing anything else, our CMP beans work fine. I did not
change any driver or xml deployment descriptor.
One of the generated files in the jar (for our bean
VisibilityPSWebLogic_CMP_RDBMS.class) differs, and that seems to be the
cause of the problem.
I jadded that class and here is a difference I notice:
OLD, ejbc ran with SP6 WebLogic_RDBMS.jar : visibilitybean.targetCompanyId =
(BigDecimal)resultset.getObject(5);
NEW, ejbc ran with SP10 WebLogic_RDBMS.jar : visibilitybean.targetCompanyId
= resultset.getBigDecimal(5, 35);
Similar differences for the SETbigdecimal.
Dunno if that will help, but I'm attaching the 2 jar files with explicit
names.
Damn that was long, I hope someone will read it... Thanks for any help on
this, see stack trace attached below
Nicolas Lejeune
Stack trace:
mer. oct. 03 12:16:22 CEST 2001:<I> <EJB JAR deployment
C:/WebLogicCommerceServer3.2/lib/foundation.jar> Exception in
non-transactional EJB invoke:
java.rmi.UnexpectedException: Unexpected exception in
com.b2boost.visibility.VisibilityBean.getVisibilityId():
java.sql.SQLException: ORA-01722: invalid number
at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java:980)
at
weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
47)
at
com.b2boost.visibility.VisibilityPSWebLogic_CMP_RDBMS.update(VisibilityPSWeb
Logic_CMP_RDBMS.java:446)
at
com.b2boost.visibility.VisibilityPSWebLogic_CMP_RDBMS.store(VisibilityPSWebL
ogic_CMP_RDBMS.java:376)
at
weblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
at
weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
a:227)
at
weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
a:355)
at
weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
at
com.b2boost.visibility.VisibilityBeanEOImpl.getVisibilityId(VisibilityBeanEO
Impl.java:198)
at
com.b2boost.visibility.pipeline.LoadFirstVisibilityRequestPC.process(LoadFir
stVisibilityRequestPC.java:83)
at
com.beasys.commerce.foundation.pipeline.PipelineExecutorImpl.process(Pipelin
eExecutorImpl.java:193)
at
com.beasys.commerce.foundation.pipeline.PipelineExecutorImplEOImpl.process(P
ipelineExecutorImplEOImpl.java:56)
at
com.beasys.commerce.foundation.pipeline.PipelineExecutorImplEOImpl_ServiceSt
ub.process(PipelineExecutorImplEOImpl_ServiceStub.java:154)
at
com.beasys.commerce.webflow.PipelineProcessor.callPipeline(PipelineProcessor
.java:170)
at
com.beasys.commerce.webflow.PipelineProcessor.process(PipelineProcessor.java
:102)
at
com.beasys.commerce.webflow.WebflowAdvisor.handleTarget(WebflowAdvisor.java:
409)
at
com.beasys.commerce.webflow.WebflowAdvisor.processTarget(WebflowAdvisor.java
:156)
at
com.b2boost.framework.B2boostPortalDestinationDeterminer.determineDestinatio
n(B2boostPortalDestinationDeterminer.java:208)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:438
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:392)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:274)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
[Visibility_generated_with_SP6_weblogic_rdbms_jar.jar]
[Visibility_generated_with_SP10_weblogic_rdbms_jar.jar]You are using WebLogic jDriver for Oracle which needs exact version of OCI API, that comes with the Oracle client installation. Ensure that you have installed the right Oracle client version. And updated the PATH properly.
I notice that you have
bin/oci815_8
oracle816
Thsi looks liek the inconsistency in your environment.
What you need to do is
1. find oci817_8 and place that in the PATH.
2. install oracle 817 and use that client and set the ORACLE_HOME environment variable and the PATH properly.
Try this and see if it helps.
BTW - WLS 5.1 is EOL -
ORA-01722: invalid number when performing query
Hi,
I am running SQL Developer on a laptop (XP Pro) accessing Oracle Applications
Product Version 11.5.10.2
Platform IBM SP AIX
OS Version AIX
Database 9.2.0.7.0
Support ID 14460365
If I run the following query it works fine -
select
mtrh.request_number
,to_number(mtrh.request_number)
from
mtl_txn_request_headers mtrh
where
to_number(mtrh.request_number) = 135060
and mtrh.request_number = '135060' -- works with this line in!!!!
however if I comment out the last line I get
An error was encountered performing the requested operation :
ORA-01722: invalid number
The field request_number is defined as varchar2(30)
It seems that there is something strange about the way it handles to_number in where clauses.
Thanks
Mick SulleyYou have an invalid number in request_number. If you add "and mtrh.request_number = '135060' ", the result set will be reduced to only those rows which have 135060 in the column and the to_number() will work. WIthout that row, it does to_number(request_number) for all rows in order to identify the one you want. When it comes across a request_number column which contains an invalid number it reports an error.
<preach>
If request_number is a number then it should be stored in a number column. If it isn't, don't try an convert it to a number.
</preach> -
ORA-01722: Invalid number when implementing the Ruby article sample
Hi all,
When I implemented the Ruby on Rails article posted in http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html, I found the following problem:
Everything was fine until I decided to test my application. When my web app tried to access some record of the table, the following error happened:
OCIError: ORA-01722: invalid number: select * from (select raw_sql_.*, rownum raw_rnum_ from (SELECT * FROM comics WHERE (comics.id = '2.0') ) raw_sql_ where rownum <= 1) where raw_rnum_ > 0
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/oracle_adapter.rb:277:in `execute'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/oracle_adapter.rb:477:in `select'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/oracle_adapter.rb:268:in `select_all'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:390:in `find_by_sql'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:924:in `find_every'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:918:in `find_initial'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:952:in `find_one'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:941:in `find_from_ids'
F:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:382:in `find'
#{RAILS_ROOT}/app/controllers/comics_controller.rb:16:in `show'
The problem was related with the way RoR is accessing my table. I don't know the reason, but RoR is automatically building the SELECT sentence declaring my 'id' column as VARCHAR, so the sentence includes the expression " comics.id = '2.0' ".
I would like to hear the advice from more experienced RoR developers in order to solve this little issue... (I believe this is more a RoR problem than an Oracle one, but I didn't find anything useful in Rail forums).
Thank you very much in advance for your help.
GregorioAre you saying that if you do not modify the WHERE condition and run the SELECT as-is (as in your original post) in SQL*Plus, you get the same error?
Can you post a test case? I'm not getting any error in example below.
SQL> create table comics (id number) ;
Table created.
SQL> insert into comics values ('2.0') ;
1 row created.
SQL> insert into comics values ('2') ;
1 row created.
SQL> insert into comics values (2.0) ;
1 row created.
SQL> insert into comics values (2) ;
1 row created.
SQL> commit ;
Commit complete.
SQL> select * from comics WHERE (comics.id = '2.0') ;
ID
2
2
2
2
4 rows selected.
SQL> drop table comics ;
Table dropped.
SQL> create table comics (id varchar2(10)) ;
Table created.
SQL> insert into comics values ('2.0') ;
1 row created.
SQL> insert into comics values ('2') ;
1 row created.
SQL> insert into comics values (2.0) ;
1 row created.
SQL> insert into comics values (2) ;
1 row created.
SQL> select * from comics WHERE (comics.id = '2.0') ;
ID
2.0
1 row selected.
SQL>Message was edited by:
Kamal Kishore -
ORA-01722: invalid number - when last column has numbers that has a decimal seperator
Below is the sample data -
FRT,1.64,VAT,23.36
FRT,1.64,VAT,23.36
When I try to convert 1.64 to to_number all is good but when I do the same with 23.36 I get the following error
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-01722: invalid number
ORA-06512: at "SYS.ORACLE_LOADER", line 52
I tried this query as well
select to_number(CONSIGNMENT_NET_VALUE) as Col1 from DUMP_EXT
select to_number(CONSIGNMENT_NET_VALUE,'9999999999D99999','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT --> 268906.1
getting the same error - any help greatly appreciated.
T.
SriniHi,
You can check this test case
SQL> !cat a.txt
FRT,1.64,VAT,23.36
FRT,1.64,VAT,56.36
FRT,1.64,VAT,23.36
SQL> create table DUMP_EXT
Charge_ID_FRT VARCHAR2(50),
Net_Amount_VAT VARCHAR2(50),
Charge_ID_VAT VARCHAR2(50),
Consignment_Net_Value VARCHAR2(50)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY DATA_DD_DIR
ACCESS PARAMETERS
(RECORDS DELIMITED BY '\n'
SKIP 1
BADFILE 'bad_%a_%p.bad'
LOGFILE 'log.log'
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
Charge_ID_FRT CHAR(50),
Net_Amount_VAT CHAR(50),
Charge_ID_VAT CHAR(50),
Consignment_Net_Value CHAR(50)
LOCATION ('a.txt')
reject limit 0;
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Table created.
SQL> select charge_id_frt,net_amount_vat,charge_id_vat,consignment_net_value from dump_ext;
CHARG NET_AMOUNT_VAT CHARG CONSIGNMENT_NET_VALUE
FRT 1.64 VAT 56.36
FRT 1.64 VAT 23.36
--- Get Error here
SQL> select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT
2 /
select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-01722: invalid number
-- Check the Variable at DB level
SQL> SELECT value FROM NLS_DATABASE_PARAMETERS WHERE parameter='NLS_NUMERIC_CHARACTERS';
VALUE
-- Use the Query like
SQL> select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS=''.,''' ) as Col1 from DUMP_EXT;
COL1
56.36
23.36
HTH -
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 helpDid 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) -
Encountered ORA-01722 Invalid number when query doc from view
Hi all,
I have the following view.
Select item, to_number(wo) a
from tablea
union all
select item, wo
from tablebb
The problem rise ( ORA-01722) when I try to search for wo from the view after the view has been created. The wo field in tablea was varchar2 where user will key in the number only. And wo in tabebb is number, I can't change the column format as it is belong the my standard application table. How to solve this problem ?
Thanks
Limsm**** wrote:
I try to simplified my query. In fact, there are several where clause for both tables. The reason is because of the varchar2 field in WO at tablea versus the numeric field in WO for tableb. OK. The problem then is almost certainly that you have non-numeric characters in the column but you don't happen to have non-numeric characters in the columns that match all the other predicates.
Oracle is free to apply the TO_NUMBER function before it applies some or all of the predicates you specify in your WHERE clause. If it happens to apply the TO_NUMBER on a row that has non-numeric data before it applies the condition in the WHERE clause that filters out that particular row, you'll get an error. If, on the other hand, Oracle happens to filter out the row before applying the TO_NUMBER, you'll get the results you expect. It all comes down to which plan Oracle picks. But, in general, there is no guarantee about whether you'll get an error or whether you'll get the data you want.
You can define your own function
CREATE OR REPLACE FUNCTION my_to_number( p_str IN VARCHAR2 )
RETURN number
IS
l_num NUMBER;
BEGIN
l_num := to_number( p_str );
RETURN l_num;
EXCEPTION
WHEN others THEN
RETURN null;
END;and use that instead of to_number in your query. That will catch the exception if the function is applied to a row before one of the predicates is applied.
Justin -
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] -
ORA-01722: invalid number
Hi,[email protected]
we are working on Import tool, which takes a CSV file and inserts in Oracle
DB.I am using PLSQL UTL_File.Please look into the PLSQL file and clarify my
Queries.
If the Last column is a Varchar field, we are able to insert Records
comfortably. but we get the Following Error when the last column in CSV file
is a Number field.
Error Generated:
ORA-01722: invalid number 12242, ,
Praveen, Reddy, Chitti, Praveen Reddy Chitti, ,700,
ORA-01722: invalid number 12242, ,
Abhishek, C, Singh, Abhishek C Singh, ,700,
ORA-01722: invalid number 12243, , Paul,
K, Jak, Paul K Jak, ,700,
15 ORA-01722: invalid number 12242, ,
Praveen, Reddy, Chitti, Praveen Reddy Chitti, ,700,
Expecting reply from u in this regard.
Regards,
Mahi
Sample table Structure:
CREATE TABLE EMPM(
CMPCD NUMBER (10) NOT NULL,
LCTCD NUMBER (10),
EMPCD NUMBER (10) NOT NULL,
REFNO VARCHAR2 (51),
USRID NUMBER (10),
PREFX VARCHAR2 (10),
FNAME VARCHAR2 (51) NOT NULL,
MNAME VARCHAR2 (51),
LNAME VARCHAR2 (51) NOT NULL,
FULNM VARCHAR2 (201) NOT NULL,
EMPSX VARCHAR2 (1),
SSNUM VARCHAR2 (16),
NTLTY NUMBER (10),
STSCD NUMBER (10),
TCODE NUMBER (10),
JDATE DATE,
TDATE DATE,
ACDOB DATE,
ADATE DATE,
DSGCD NUMBER (10),
DPTCD NUMBER (10),
MGRCD NUMBER (10),
REFBY NUMBER (10),
WPHON VARCHAR2 (25),
MPHON VARCHAR2 (16),
RPHON VARCHAR2 (16),
PGRNO VARCHAR2 (16),
WKFAX VARCHAR2 (16),
RSFAX VARCHAR2 (16),
WKEML VARCHAR2 (256),
PEML1 VARCHAR2 (256),
PRLN1 VARCHAR2 (256),
PRLN2 VARCHAR2 (256),
PRCCD VARCHAR2 (256),
PRSCD NUMBER (10),
PRSIN VARCHAR2 (51),
PRCTR NUMBER (10),
PRZIP VARCHAR2 (15),
PMLN1 VARCHAR2 (256),
PMLN2 VARCHAR2 (256),
PMCCD VARCHAR2 (256),
PMSCD NUMBER (10),
PMSIN VARCHAR2 (51),
PMCTR NUMBER (10),
PMZIP VARCHAR2 (15),
LOADN NUMBER (10),
RESF1 VARCHAR2 (256),
RESF2 VARCHAR2 (256),
RESF3 VARCHAR2 (256),
RESF4 VARCHAR2 (256),
RESF5 VARCHAR2 (256),
OWNER VARCHAR2 (4000),
NOTES VARCHAR2 (401),
DFLAG VARCHAR2 (10) DEFAULT '0' NOT NULL,
MODBY NUMBER (10) NOT NULL,
MODON DATE NOT NULL,
PRIMARY KEY("CMPCD", "EMPCD"))we get the Following Error when the last column in CSV fileis a Number field.
Clearly one or more records has a value in the last column that is non-numeric. Broadly speaking, a number consists of characters 0123456789, with optional minus sign and decimal point (scientific notation is also allowed). Just about anything else is not a number. 934-89 is not a number. 786.567.765 is not a number. A NULL should not throw ORA-1722 but spaces will.
So, check your data. You find it necessary to employ an intermediary table and cleanse the data there. Alternatively, yell at the people who produce the extract. Or change your schema definition. Whatever's right.
Cheers, APC -
Error ORA-01722: invalid number
Hi,
I am using Apex 3.2 on Oracle 11g (Enterprise Edition).
I am new to Apex and I am using an imported application and editing its features to match my requirements.
While uploading a CSV file, I am getting error as :ORA-01722: invalid number"
Can someone help me where I am wrong or where I need to modify something?
Thanks in advance.
Regards
SharathHi Littlefoot,
Another set of information which I felt could be useful.
In "Home>Application Builder>Application 1000>Page 71>Edit Page Process", under the tab 'Source', I could see the below code. I think I need to make changes here. Please correct me if I am wrong here.
I need your help to modify this code (as this is an imported application, this code might be written keeping in mind the previous application).
--PLSQL code for uploading server details
DECLARE
v_blob_data BLOB;
v_blob_len NUMBER;
v_position NUMBER;
v_raw_chunk RAW(10000);
v_char CHAR(1);
c_chunk_len NUMBER:= 1;
v_line VARCHAR2 (32767):= NULL;
v_data_array wwv_flow_global.vc_arr2;
v_rows NUMBER;
v_count NUMBER;
--for editing
v_sr_no NUMBER:=1;
v_last_char varchar2(2);
BEGIN
-- Read data from wwv_flow_files
SELECT blob_content INTO v_blob_data FROM wwv_flow_files
WHERE last_updated = (SELECT MAX(last_updated) FROM wwv_flow_files WHERE UPDATED_BY = :APP_USER)
AND id = (SELECT MAX(id) FROM wwv_flow_files WHERE updated_by = :APP_USER);
v_blob_len := dbms_lob.getlength(v_blob_data);
v_position := 1;
-- For removing the first line
WHILE ( v_position <= v_blob_len )
LOOP
v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
v_position := v_position + c_chunk_len;
-- When a whole line is retrieved
IF v_char = CHR(10) THEN
EXIT;
END IF;
END LOOP;
-- Read and convert binary to char
WHILE ( v_position <= v_blob_len )
LOOP
v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
v_char := chr(hex_to_decimal(rawtohex(v_raw_chunk)));
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When a whole line is retrieved
IF v_char = CHR(10) THEN
--removing the new line character added in the end of each line
v_line := substr(v_line, 1, length(v_line)-2);
--removing the double quotes
v_line := REPLACE (v_line, '"', '');
--For checking the absense of data in the end of line
v_last_char:= substr(v_line,length(v_line),1);
IF v_last_char = CHR(44) THEN
v_line :=v_line||'-';
END IF;
-- Convert each column separated by , into array of data
v_data_array := wwv_flow_utilities.string_to_table (v_line, ',');
-- Insert data into target tables
--Checking whether the data already exist
SELECT COUNT(SERVERID) INTO v_count FROM REPOS_SERVERS WHERE SERVERNAME=v_data_array(1);
IF v_count = 0 THEN
EXECUTE IMMEDIATE 'INSERT INTO
REPOS_SERVERS (SERVERID,SERVERNAME,IPADDRESS,OS,SERVER_MODEL,CPU,MEMORY,PLATFORM_TYPE, MACHINE_TYPE,CLUSTERED,LAST_UPDATE_BY,LAST_UPDATE_DATE,REMARKS) VALUES(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13)'
USING
SERVERS_SEQ.NEXTVAL,
v_data_array(1),
v_data_array(2),
v_data_array(3),
v_data_array(4),
to_char(NVL(v_data_array(5),NULL)),
v_data_array(6),
v_data_array(7),
v_data_array(8),
v_data_array(9),
v_data_array(10),
v_data_array(11),
v_data_array(12);
END IF;
-- Clearing out the previous line
v_line := NULL;
END IF;
END LOOP;
END;
Regards
Sharath -
SQL*Loader- Records Rejected - Error on table ORA-01722: invalid number
Getting the following errors :
Please tell me where I am going wrong?
Attached is the log file and snippets of datafile along with the control file !!
Also please direct me how can i upload 4900 records at one go?
SQL*Loader: Release 11.1.0.7.0 - Production on Fri Oct 14 03:06:06 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: sample.ctl
Data File: Cities.csv
Bad File: Cities.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table CITY, loaded from every logical record.
Insert option in effect for this table: INSERT
Column Name Position Len Term Encl Datatype
ID FIRST * , CHARACTER
NAME NEXT 35 , ' CHARACTER
COUNTRYCODE NEXT 3 , ' CHARACTER
POPULATION NEXT * WHT CHARACTER
Record 1: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 2: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 3: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 4: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 5: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 6: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 7: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 8: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 9: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 10: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 11: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 12: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 13: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 14: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 15: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 16: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 17: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 18: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 19: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 20: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 21: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 22: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 23: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 24: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 25: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 26: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 27: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 28: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 29: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 30: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 31: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 32: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 33: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 34: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 35: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 36: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 37: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 38: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 39: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 40: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 41: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 42: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 43: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 44: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 45: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 46: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 47: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 48: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 49: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 50: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 51: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table CITY:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 35840 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 64
Total logical records rejected: 51
Total logical records discarded: 0
Run began on Fri Oct 14 03:06:06 2011
Run ended on Fri Oct 14 03:06:12 2011
Elapsed time was: 00:00:06.18
CPU time was: 00:00:00.03
my control file (sample.ctl):
load data infile 'Cities.csv'
into table city
fields terminated by ','
(id integer external,
name char(35) enclosed by "'",
countrycode char(3) enclosed by "'",
population integer external terminated by '\n'
my datafile (Cities.csv) (it contains 4900 records, but I am showing here just 4 records for ease)
3830,'Virginia Beach','USA',425257
3831,'Atlanta','USA',416474
3832,'Sacramento','USA',407018
3833,'Oakland','USA',399484
Thanks in advance!!Look that when I change a little bit your datafile as follows
1,'Kabul','AFG',1780000
2,'Qandahar','AFG','237500'
3,'Herat','AFG','186800' I got the same error (2 last rows rejected for the same error invalid number)
mhouri > select * from cities;
ID NAME COU POPULATION
1 Kabul AFG 1780000
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Oct 14 10:38:06 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: cities.ctl
Data File: cities.dat
Bad File: cities.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table CITIES, loaded from every logical record.
Insert option in effect for this table: INSERT
Column Name Position Len Term Encl Datatype
ID FIRST * , CHARACTER
NAME NEXT 35 , ' CHARACTER
COUNTRYCODE NEXT 3 , ' CHARACTER
POPULATION NEXT * WHT CHARACTER
Record 4: Rejected - Error on table CITIES, column ID.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 2: Rejected - Error on table CITIES, column POPULATION.
ORA-01722: invalid number
Record 3: Rejected - Error on table CITIES, column POPULATION.
ORA-01722: invalid number
Table CITIES:
1 Row successfully loaded.
3 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 35840 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 4
Total logical records rejected: 3
Total logical records discarded: 0
Run began on Fri Oct 14 10:38:06 2011
Run ended on Fri Oct 14 10:38:06 2011
Elapsed time was: 00:00:00.23
CPU time was: 00:00:00.09Population value within the data file should be a number
Best regards
Mohamed Houri -
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 issuePls 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> -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
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 MohiuddinThis 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?
Maybe you are looking for
-
Using waveform element to build arrays
Hello, there, from this forum, I learned that i can use "get waveform components" to extra time and data from waveforms. great. but how do i build an array and output it to a file? does it come as a strand of arrays as it is? or do i need to loop
-
Where are the division, multiplication and subtractions on mac keyboard?
trying to do an microsoft excel tutorial on mac - where are the divide, subtract and multiply figures on the keyboard?
-
Check/Turn on Disk write cache
Dear all, I read one of the Oracle metalink, and it said, we need to turn on the 'disk write cache' for better file writing throughput, but I am not very sure, whether currently, my newly installed Solaris 9 system have the 'disk write cache' turned
-
Hi iam Soumya! My application includes Struts,Hibernate 3.2 I use Tomcat 6 as the application server I do have problem while starting the Tomcat The following error mesage is displaye when i run my application [SRS] WARN [Timer-0] ThreadPoolAsynchron
-
Termination of employee before leave period
Hi All I have an employee who has applied leaves as following: 11-Oct-2007 to 10-Nov-2007 Paid leave 11-Nov-2007 to 09-Dec-2007 Unpaid leave But the employee expired on 23-Oct-2007 and we were notified about it on 24-Oct-2007. From the people>enter a