TO_NUMBER and ORA-01722 invalid number pls delete
I cannot see where to delete a post I made. I found out my problem. It was in my NLS settings. Decimals were set to be commas instead of periods.
please disregard this post, and delete if you are a moderator
I recently tried to bring in lat/long coordinates from a VARCHAR2 field (and even as a flat file) into a NUMBER field with a setup of NUMBER(20,13) to ensure I'd capture all of the signifigant digits.
I even ran this through a procedure to check if the data is a number first, and update only. I've found however that I keep getting the ORA-01722 invalid number error.
So I started testing out some points, and came across this:
select to_number('-79.662965387') from dual;
this query results in the invalid number error. I don't want to have to load these as an SDO GEOMETRY object, has anyone encountered this scenario before?
Or is my choice of 13 decimal places too high for Oracle?
I just ran that code in my database (10g) and it returned this
select to_number('-79.662965387') from dual;
TO_NUMBER('-79.662965387')
-79.662965
1 row selected.Message was edited by:
Tridith
Similar Messages
-
Subquery, TO_NUMBER and ORA-01722 invalid number
I'm running into a invalid number error (ORA-01722) when I expect none.
I have a table that stores a semester term as a VARCHAR2, all term codes are actually numbers like 200609. There is one exception which I filter out, using a subquery, to prevent the invalid number error.
My query looks like this:
SELECT NVL(SUM(s.balance))
FROM (SELECT s1.term, s1.balance
FROM student_account s1
WHERE s1.student_id = :student_id
AND s1.term <> 'SCRIPT') s
WHERE TO_NUMBER(s.term) <= 200609;
The query errors with ORA-01722.
Now I've checked and rechecked that there isn't another bad term that is not a number.
SELECT DISTINCT '[' || term || ']'
FROM student_account
WHERE student_id = :student_id;
The error complains at line of the WHERE clause.
I've ran just the subquery and changed the column list to select distinct term. All terms are numbers. I think that the outer WHERE clause for some reason still gets the 'SCRIPT' term. Though I've tried to verify this with no luck.
I created a function that simply takes the term writes it to DBMS_OUTPUT and returns it as a VARCHAR2. The weird thing is then the query works. For example the outer WHERE clause becomes: WHERE TO_NUMBER(PRINT_TERM(s.term)) <= 200609
I've also tried to move the TO_NUMBER to the subquery without any luck, same error.
Anyone know what is going on?Oracle is allowed to push predicates into the subquery, so there is no guarantee that the problem row is filtered out before TO_NUMBER is called. You can get into some very interesting discussions about whether this is the right behavior from a relational theory and/or ANSI standard perspective, but you're probably stuck with the behavior (unless you want to get Oracle to rework their optimizer)
One way to get around the problem would be to write a my_to_number function that catches the error and returns NULL if the to_number conversion fails, i.e.
CREATE FUNCTION my_to_number( p_num IN VARCHAR2 )
RETURN NUMBER
IS
l_num number;
BEGIN
l_num := to_number( p_num );
RETURN l_num;
EXCEPTION
WHEN <<Exception whose name escapes me>> THEN
RETURN NULL;
END;And use that in your query.
Justin
Message was edited by:
Justin Cave -
User Accounts and ORA-01722: invalid number error
Hello,
I have been using Express for a month or so now but have very limited knowledge of how it works.
My Problem:
I have a listing screen for user records which creates records in table QAS_USERS.
When I add a record it saves the data OK and put the record in the list.
When I click on the record in the list it takes me to the edit screen and I can change
the details and it works OK and all the changes get saved to the database.
On the data entry screen I have a list of the User Groups so I can select what group
the user will be in, usual details in username, fullname, email address, password etc..
I then added a routine to create a USER in the APEX Manage USERs.
It creates the record in my table QAS_USERS and it creates a APEX User Account with
the correct details and the record is displayed in the list.
So far so good.
Now the errors start:
1. When I look at the User Account in Administration -> Manage Application Express Users
most of the details have been added but the User Group does not get allocated.
2. The record I created in QAS_USERS appears in the list on my listing screen but when
I click on the Edit Icon on the left of the list I get the following error appear
when the screen changes to the edit screen:
ORA-01722: invalid number
Unable to fetch row error
QAS_USER Table:
ID NUMBER
CREATED_ON DATE
CREATED_BY VARCHAR2(10)
CHANGED_ON DATE
CHANGED_BY VARCHAR2(10)
ACTIVE VARCHAR2(3)
USERNAME VARCHAR2(10)
FULLNAME VARCHAR2(30)
TEAMLEADER VARCHAR2(3)
TEAMLEADER_ID NUMBER
LAB NUMBER
DIRECTOR VARCHAR2(3)
ACTION_MANAGER VARCHAR2(3)
SDM VARCHAR2(3)
GM VARCHAR2(3)
EMAIL_ADDRESS VARCHAR2(50)
PASSWORD VARCHAR2(12)
SDTL VARCHAR2(3)
FIRSTNAME VARCHAR2(30)
LASTNAME VARCHAR2(30)
GROUP_ID NUMBER
USER_ID VARCHAR2(20)
Process Script to create the Express User Account:
Declare
group_id NUMBER;
BEGIN
group_id := APEX_UTIL.get_group_id (:P15_GROUP_ID);
APEX_UTIL.CREATE_USER (
P_USER_NAME => :P15_USERNAME,
P_FIRST_NAME => :P15_FIRSTNAME,
P_LAST_NAME => :P15_LASTNAME,
P_WEB_PASSWORD => :P15_PASSWORD,
P_EMAIL_ADDRESS => :P15_EMAIL_ADDRESS,
p_developer_privs => 'ADMIN',
p_group_ids => group_id);
END;
If any one has any ideas I would be very grateful.
Regards,
Simon.Hi,
It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
However, your formula is far more complicated than it needs to be.
Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
and AbsenceEnd as
LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
That's it. Not so complicated after all.
Rod West -
Case When Statement and ORA:01722 Invalid number error
Hi folks, I have posted this under another heading as well under E-business suite so apologies if some you have already seen it but I would really appreciate some help on this one. Any suggestions are most welcome.
We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
The period is always a rolling 6 months from sysdate.
This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
This is probably over complicated but we are not techie at all so are learning as we go!
We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))Hi,
It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
However, your formula is far more complicated than it needs to be.
Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
and AbsenceEnd as
LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
That's it. Not so complicated after all.
Rod West -
SQLAuthenticator Provider Specific ORA-01722 invalid number error
Hi,
when i try to to configure sql authentication and
After restrating the OBIEE server i am facing the below error
<Oct 21, 2013 12:09:10 PM GST> <Error> <Security> <BEA-000000> <[Security:090759
]A SQLException occurred while retrieving user information
java.sql.SQLSyntaxErrorException: ORA-01722: invalid number
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
Truncated. see log file for complete stacktrace
>
Pls suggest to fix the 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> -
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.. -
Varchar to number returns a ORA-01722-Invalid Number error
I have a script where i am converting a varchar to number to be compared against a number.
(To_Number(p.result_value,'999999.99') < 0 OR p.result_value < 0)
this particular line is causing the error ORA-01722-Invalid Number.
Is there any ideas as to why this happens and how I can resolve?
Thanks in advance!The result_value column in Pay_Run_Result_Values is a varchar2 field.
So you need to put in some additional logic to make sure that the row is having numbers alone before doing to_number.
Cheers
Ganesh -
ORA-01722: invalid number error with Bulk collect
Hi ,
I have been using the script to delete old seasonal data from my application DB tables. The stored procedure has been created successfully but when i try to run the proc it has been throwing 'ORA-01722: invalid number' exception at line 'FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;'.
Could you please help me here?
Below is the stored proc:
CREATE OR REPLACE PROCEDURE clean_old_season_data(P_SEASON VARCHAR2) AS
CURSOR C1_CUR IS SELECT ROWID RID,pro.* FROM PROPS pro where pro.ITEMPK IN
(SELECT sve.pk FROM SAVEDVALUEENTRY sve WHERE sve.p_parent IN
(SELECT s.pk FROM SAVEDVALUES s WHERE s.P_MODIFIEDITEM IN
(SELECT a.PK
FROM products a
WHERE a.p_season IN (select s.pk from Seasons s where s.P_code=P_SEASON)
) ) ) and rownum<5;
CURSOR C2_DEL IS SELECT RID FROM PROPS_HISTORY;
TYPE C1_TYPE IS TABLE OF C1_CUR%ROWTYPE;
C1_TYPE_VAR C1_TYPE;
TYPE C2_TYPE IS TABLE OF UROWID;
C2_TYPE_VAR C2_TYPE;
ex_dml_errors EXCEPTION;
PRAGMA EXCEPTION_INIT(ex_dml_errors, -24381);
l_error_count NUMBER;
err_num NUMBER;
err_msg VARCHAR2 (300);
COMMIT_VARIABLE PLS_INTEGER:=0;
v_bulklimit NUMBER:=2;
BEGIN
/*------------------ Data Selection and INSERTION IN HISTORY TABLE ---------------------------------------*/
OPEN C1_CUR;
LOOP
DBMS_OUTPUT.put_line('Cursor opend now in loop');
FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;//ERROR OCCURS HERE
DBMS_OUTPUT.put_line('Cursor count is'|| C1_TYPE_VAR.COUNT);
FORALL I IN 1..C1_TYPE_VAR.COUNT SAVE EXCEPTIONS
INSERT INTO PROPS_HISTORY VALUES C1_TYPE_VAR(I);
COMMIT_VARIABLE := COMMIT_VARIABLE + v_bulklimit;
DBMS_OUTPUT.put_line('Commit variable'|| COMMIT_VARIABLE.COUNT);
IF COMMIT_VARIABLE = v_bulklimit THEN
COMMIT;
COMMIT_VARIABLE := 0;
END IF;
EXIT WHEN C1_CUR%NOTFOUND;
END LOOP;
DBMS_OUTPUT.put_line('Cursor closed now in loop and data inserted in history table');
CLOSE C1_CUR;
/*------------------ Data Selection and DELETION IN Live TABLE ---------------------------------------*/
COMMIT_VARIABLE := 0;
OPEN C2_DEL;
LOOP
FETCH C2_DEL BULK COLLECT INTO C2_TYPE_VAR LIMIT 2;
FORALL I IN 1..C2_TYPE_VAR.COUNT SAVE EXCEPTIONS
DELETE FROM PROPS WHERE ROWID = C2_TYPE_VAR(I);
COMMIT_VARIABLE := COMMIT_VARIABLE + 2;
IF COMMIT_VARIABLE = 2 THEN
COMMIT;
COMMIT_VARIABLE := 0;
END IF;
EXIT WHEN C2_DEL%NOTFOUND;
END LOOP;
CLOSE C2_DEL;
END;Although there are many things which should not have been done in the posted code, I could not find any reason why the Invalid number error should occur at the Fetch clause.
I would suggest you to Insert into Table by providing the Order of Columns i.e. Insert into table (col1, ... colN) values (coll(i).col1...col(i).colN);
I tested below code and it did not give any errors.
drop table test_table;
create table test_Table
rid varchar2(100),
emp_id number(5),
fname varchar2(20),
lname varchar2(50)
set serveroutput on;
declare
cursor c_cur is
select rowid rid, e.*
from employees e
where rownum < 10;
type typ_cur is table of c_cur%rowtype;
typ typ_cur;
l_bulk_limit number := 5;
begin
open c_cur;
loop
fetch c_cur bulk collect into typ limit l_bulk_limit;
dbms_output.put_line('Collection Count :: ' || typ.count);
forall i in 1..typ.count --typ.first..typ.last
insert into test_Table (rid, emp_id, fname, lname) values (typ(i).rid,typ(i).employee_id,typ(i).first_name,typ(i).last_name);
dbms_output.put_line('Processed ' || l_bulk_limit || ' records.');
exit when c_cur%notfound;
end loop;
commit;
end;
select * from test_table;PS:- 1. When you are processing only 4 Records, then why are you breaking them in 2 Loops?
2. Why Commit every time you are processing a DML? Why not maintain an Error Flag and Rollback the Transaction as soon as error is encountered?
3. Use "{code}" (Exclude Double Quotes) to format the code. I am not sure if works.
Regards,
P. -
ORA-01722: invalid number error coming in Oracle 10g.
Hi,
We are getting the error "ORA-01722: invalid number" while opening a cursor using CURSOR FOR LOOP.
This error has started coming only after we have migrated to Oracle 10g from Oracle 9i. Earlier the same code used to work properly. And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works.
Does anybody know about any such bug in Oracle 10g. Our cursor is a parametrized cursor accepting a VARCHAR2 parameter and the value we are passing to it is also character.
Our database is Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production and is running on UNIX server.And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
a) environment settings that differ from session to session
b) or more often, data
The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction). -
ORA-01722: invalid number (Error in Application after upgrade to 3.0)
Dear All,
After upgrading to 3.0 I am no longer able to login to my application. The error I am seeing is:
ORA-01722: invalid number
Error Could not process show_hide_memory.show_hide_collection_output procedure !
Please help me pin-point the issue and fixed it.
This happens in some applications but in others it doesn't...
Regards,
Pawel.I believe I have found the source of the problem!
This is coming from the sample application which was used for the show/hide of regions example.
The code behind the above procedure is:
CREATE OR REPLACE
PACKAGE show_hide_memory AS
PROCEDURE show_hide_collection;
PROCEDURE show_hide_collection_output;
END;
CREATE OR REPLACE PACKAGE BODY show_hide_memory AS
PROCEDURE show_hide_collection AS
l_arr apex_application_global.vc_arr2;
l_found boolean := FALSE;
l_collection_name VARCHAR2(255) := 'SHOW_HIDE_COLLECTION';
BEGIN
IF(wwv_flow_collection.collection_exists(p_collection_name => l_collection_name) = FALSE) THEN
htmldb_collection.create_or_truncate_collection(p_collection_name => l_collection_name);
END IF;
l_arr := apex_util.string_to_table(p_string => v('TEMPORARY_ITEM'), p_separator => ']');
-- If the array member count of l_arr < 3, then the following code will raise an exception
FOR c1 IN
(SELECT seq_id
FROM apex_collections
WHERE collection_name = l_collection_name
AND c001 = l_arr(1)
AND c002 = l_arr(2)
AND c003 = l_arr(3))
LOOP
-- It exists, so delete it
apex_collection.delete_member(p_collection_name => l_collection_name, p_seq => c1.seq_id);
l_found := TRUE;
END LOOP;
IF l_found = FALSE THEN
apex_collection.add_member(p_collection_name => l_collection_name, p_c001 => l_arr(1), p_c002 => l_arr(2), p_c003 => l_arr(3));
END IF;
COMMIT;
END show_hide_collection;
PROCEDURE show_hide_collection_output AS
BEGIN
htp.prn('<script type="text/javascript">' || CHR(10));
htp.prn('<!--' || CHR(10));
htp.prn('window.onload=function(){' || CHR(10));
FOR c1 IN
(SELECT c003
FROM apex_collections
WHERE collection_name = 'SHOW_HIDE_COLLECTION'
AND c001 = wwv_flow.g_flow_id
AND c002 = wwv_flow.g_flow_step_id)
LOOP
htp.prn('htmldb_ToggleWithImage(''' || c1.c003 || 'img'',''' || c1.c003 || 'body'');' || CHR(10));
END LOOP;
htp.prn('}' || CHR(10));
htp.prn('//-->' || CHR(10));
htp.prn('</script>' || CHR(10));
END show_hide_collection_output;
END;
I guess now I have to find the bug in the above code ! -
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] -
Oracle SQL Developer 1.1.1.25.14, I rror ORA-01722 Invalid Number
I have installed the new version of Oracle SQL Developer 1.1.1.25.14, I use Oracle 9.2. When I browse in the tree of the stored procedures and compile I obtain Error ORA-01722 Invalid Number. The previous version does not give this error. I have tried to change the decimal separator to comma ',' and point '.' but this error always appears.
create or replace
PROCEDURE getAge (
dtmDataStart_in IN DATE,
dtmDataEnd_in IN DATE,
intYears_out OUT NUMBER,
intMonths_out OUT NUMBER,
intDays_out OUT NUMBER) AS
-- Calcola il numero di anni, mesi, giorni intercorsi
-- dalla data iniziale alla data finale.
-- Se la data iniziale è > della data finale, le due date
-- vengono scambiate e le variabili di output vengono ritornate
-- con segno negativo.
--==================================================
-- Data Ultima Modifica: 31/07/98
-- Aggiunta procedura per il calcolo della differenza tra
-- due date dello stesso anno.
--==================================================
-- DICHIARAZIONE VARIABILI INIZIO --------------------------------------------------------
intYMDStart NUMBER(10);
intYMDEnd NUMBER(10);
intYMD NUMBER(10);
intDiffAnni NUMBER(5);
intDiffMesi NUMBER(5);
intDiffGiorni NUMBER(5);
intMeseStart NUMBER(5);
intAnnoStart NUMBER(5);
intTotGiorniMeseStart NUMBER(5);
ysnNegativo NUMBER(5);
-- DICHIARAZIONE VARIABILI FINE ----------------------------------------------------------
BEGIN
intYMDStart := TO_NUMBER( TO_CHAR(dtmDataStart_in,'YYYYMMDD'));
intYMDEnd := TO_NUMBER( TO_CHAR(dtmDataEnd_in,'YYYYMMDD'));
ysnNegativo := 0;
IF intYMDStart = intYMDEnd THEN
intYears_out := 0;
intMonths_out := 0;
intDays_out := 0 ;
ELSE
IF intYMDStart > intYMDEnd THEN
intYMD := intYMDStart;
intYMDStart := intYMDEnd;
intYMDEnd := intYMD;
ysnNegativo := -1;
END IF;
intDiffAnni := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'YYYY')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'YYYY'));
intDiffMesi := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'MM')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'MM'));
intDiffGiorni := TO_NUMBER(TO_CHAR(dtmDataEnd_in,'DD')) - TO_NUMBER(TO_CHAR(dtmDataStart_in ,'DD'));
-- I valori cosi' calcolati di intDiffAnni, intDiffMesi e intDiffGiorni vanno bene
-- ad eccezione dei seguenti casi:
-- Sistemo intDiffAnni
IF (intDiffMesi > 0 OR (intDiffMesi = 0 AND intDiffGiorni >= 0)) THEN
-- intDiffAnni e' OK
intDiffAnni := intDiffAnni;
ELSE
-- non e' ancora arrivato il giorno del compleanno
intDiffAnni := intDiffAnni-1;
END IF;
-- Sistemo intDiffMesi
IF (intDiffMesi > 0 AND intDiffGiorni < 0) THEN
intDiffMesi := intDiffMesi-1;
ELSIF (intDiffMesi < 0 ) THEN
if(intDiffGiorni<0) THEN
intDiffMesi := intDiffMesi+11;
else
intDiffMesi := intDiffMesi+12;
END IF;
ELSIF (intDiffMesi=0 AND intDiffGiorni<0) THEN
intDiffMesi:=11;
END IF;
-- Sistemo intDiffGiorni
-- Calcolo i giorni come (TotGiorniMeseIniziale - GiornoIniziale) + (GiornoFinale - 0)
-- che e' uguale a fare TotGiorniMeseIniziale + (GiornoFinale-GiornoIniziale)
IF intDiffGiorni < 0 THEN
intMeseStart := TO_NUMBER(TO_CHAR(dtmDataStart_in ,'MM'));
IF intMeseStart IN (1,3,5,7,8,10,12) THEN
intTotGiorniMeseStart := 31;
ELSIF intMeseStart = 2 THEN
-- Da enciclopedia: sono bisestili gli anni multipli di 4
-- esclusi i secoli che non sono multipli di 400 (Parte commentata).
intAnnoStart := TO_NUMBER(TO_CHAR(dtmDataStart_in ,'YYYY'));
if (intAnnoStart MOD 4) = 0
-- AND NOT ((intAnnoStart MOD 100) = 0 AND (intAnnoStart MOD 400) <> 0)
Then
intTotGiorniMeseStart := 29;
else
intTotGiorniMeseStart := 28;
end if;
ELSIF intMeseStart IN (4,6,9,11) THEN
intTotGiorniMeseStart := 30;
END IF;
intDiffGiorni := intDiffGiorni + intTotGiorniMeseStart;
END IF;
IF ysnNegativo = 0 THEN
intDays_out := intDiffGiorni;
intMonths_out := intDiffMesi;
intYears_out := intDiffAnni;
ELSE
intDays_out := intDiffGiorni * (-1);
intMonths_out := intDiffMesi * (-1);
intYears_out := intDiffAnni * (-1);
END IF;
END IF;
EXCEPTION
WHEN OTHERS THEN
RAISE;
END getAge;
The output result of compilation is "GETAGE Compiled", I think the 01722 error is not caused from an sql syntax error, but probably caused from an invalid or unsupported or 'strange' configuration on nationalization... the fact surprises me that the previous version did not give problems
THANKS SO MUTCH
*/ -
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.87I 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 -
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 for getting PR information
This is a query ran on Oracle Purchasing database, I want to select all those purchase requisitions which have accounting segment3 value between 100000 and 199999. The query errors out.
As in the below query, even though I said "to_number(ccds.segment3) account_seg" in the inner select query but when I give a where condition "account_seg between 150000 and 160000" in the outer query, the sql errors out with "ORA-01722: invalid number" error.
By commenting out statement "where account_seg between 150000 and 160000", I checked the values returned for segment 3 are all digits and no alphabets.
Whats can be the issue ?
ERROR at line 16:
ORA-01722: invalid number
select requisition_header_id from
select
prls.requisition_header_id requisition_header_id
,to_number(ccds.segment3) account_seg
from
PO_REQUISITION_headers_all prhs
,PO_REQUISITION_LINES_all prls
,PO_REQ_DISTRIBUTIONS_ALL prds
,gl_code_combinations_kfv ccds
where
prhs.requisition_header_id=prls.requisition_header_id
and prls.requisition_line_id=prds.requisition_line_id
and prds.code_combination_id=ccds.code_combination_id
where account_seg between 150000 and 160000Hi this error comes because of data problem.
Some value in segment3 is having alphanumeric data. Check it i am sure about this, i verified!
Adding more info:
Some of the alphanumeric data that i found in my database are:
X00050
F5000
Let us replicate your error:
1. This will run fine:
SELECT segment3
FROM gl_code_combinations_kfv
WHERE segment3 = 'F5000';
SEGMENT3
F5000
But when we say TO_NUMBER of this value, see what happens:
SELECT TO_NUMBER(segment3)
FROM gl_code_combinations_kfv
WHERE segment3 = 'F5000';
SELECT TO_NUMBER(segment3) FROM gl_code_combinations_kfv WHERE segment3 = 'F5000'
ERROR at line 1:
ORA-01722: invalid number
Error proved!
Thanks,
Jithendra
Error Proof added
Jithendra
Maybe you are looking for
-
EM 10g - Listener does not show up on DB home, but is running. Why??
Oracle Version 10.2.0.1.0 Microsoft Windows Server 2003 R2 Server 5.2 Service Pack 2 (32-bit) LSNRCTL> start LISTENER Starting tnslsnr: please wait... TNSLSNR for 64-bit Windows: Version 10.2.0.1.0 - Production System parameter file is D:\or
-
I have fusion 7.1.1 on an iMac 27 inch retina. 32GB ram of which 6GB assigned to Fusion and 2 cores. Windows 7 Home Premium installed. Mostly working fine but a few funnies. First and foremost: Whenever I drag and drop between instances of windows ex
-
Iphone 5 not working..
everytime i plug in my iphone 5 with the usb cord i get a pop up message saying driver has malfuctioned.. so i go check the driver and it says "unknown device" and " No drivers are installed for this device. If you are having problems with this devic
-
Hi, is there a model of ASA appliance that replaced the 5505 in terms of functionality (8 switchports, some PoE, VLANs, IPSEC VPNs) and possibly footprint? Thanks, Pat.
-
I cant enter to facetime ... "check your connection and try again later"
I cant enter to facetime ... "check your connection and try again later"