How to resolve ORA-00001 Error in SQL Insert?

Hi all, I need your appreciated help.
I make a plsql procedure that is inserting a row according cursor value, I'm having oracle error ORA-00001: unique constraint (constraint_name) violated.
You may see this message if a duplicate entry exists at a different level: in RDBMS MySQL I have the syntax IGNORE to resolve this duplication error... and in Oracle ?
Thanks for your time and hints.
Miguelito

user6317803 wrote:
How to resolve ORA-00001 Error in SQL Insert?ORA-00001 means table has unique/primary key/index and you are trying to insert a row with key value that already exists in the table. I'll assume table COUNTRIES has primary key on COUNTRY_ID. Then change SQL to:
SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ')"There is a good chance table COUNTRIES also has unique key/index on COUNTRY_NAME. If so use:
SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR COUNTRY_NAME = 'BLZ')"SY.

Similar Messages

  • HOW TO RESOLVE ORA-00001

    hi,
    i make a plsql procedure that is inserting a row according cursor value, i am having oracle error ora-00001.
    i want to do that if i get ora-00001so skip that insertion & move to another entry .but dont know how to do it so plz help me out
    thkxs

    Yes a direct path insert will not capture the unique constraint error on DML Error logging. But DML Error logging is one of the available option. And i hope the OP will consider knowing more about it and identifying the benefits and drawbacks in it.
    And OP would be solely responsible for any technique he implements ;)

  • "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7"

    I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
    Permission Problems in RDBMS 8.1.6 and 8.1.7".
    It will be accessible from Oracle Support's "Metalink" site.
    "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
    Problem Description
    Periodically an application running in the Enterprise Java Engine
    (EJE) formerly known as the "Oracle 8i JVM", "the JSERVER component", or
    the "Aurora JVM" will fail with a "java 2" permissions error having the
    following format :
    Note : Message shown below have been reformatted for easier readability.
    java.sql.SQLException: ORA-29532: Java call terminated by uncaught Java exception:
    usually followed by a detailed error message similar to one of the following
    messages :
    Example # 1
    java.security.AccessControlException: the Permission
    (java.net.SocketPermission hostname resolve)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Example # 2
    java.security.AccessControlException: the Permission
    (java.util.PropertyPermission * read,write)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Example # 3
    java.security.AccessControlException: the Permission
    (java.io.FilePermission \matt1.gif read)
    has not been granted by dbms_java.grant_permission to
    SchemaProtectionDomain(SCOTT|PolicyTableProxy(SCOTT))
    Explanation
    The java 2 permission stated in line # 2 of each of the above "Examples"
    has not been granted to the user specified in line 4 of the above "Examples".
    Solution Description
    The methodology to solve this issue is identical for all java 2 permissions
    cases.
    1) Format a call "dbms_java.grant_permission" procedure as described below.
    2) Logon as SYS or SYSTEM
    3) Issue the TWO commands shown below
    4) Logoff as SYS or SYSTEM
    5) Retry your application
    For Example # 1
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.net.SocketPermission',
    'hostname',
    'resolve');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    For Example # 2
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.util.PropertyPermission',
    'read,write');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    For Example # 3
    1) Logon as SYS or SYSTEM
    2) Issue the following commands :
    a) call dbms_java.grant_permission('SCOTT',
    'java.io.FilePermission',
    '\matt1.gif',
    'read');
    b) commit;
    Note: Commit is mandatory !!
    3) Logoff as SYS or SYSTEM
    4) Retry your application
    References
    For more details on java 2 permissions and security within the EJE, review
    Chapter 5, in the Java Developer's Guide. entitled,
    "Security For Oracle8i Java Applications"
    The RDBMS 8.1.7 version can be found at :
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/index.htm

    Hi, Don,
    I solved the problem of security exception I mentioned at java procedure topic as following:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException
    I tried to use your solution as following:
    call dbms_java.grant_permission('SDE', 'java.net.SocketPermission', 'ORCL.COHPA.UCF.EDU','resolve');
    but SQL*plus gave me a error message:
    invalid collumn.
    What's the problem?
    However, I call a grant command as following:
    SQL> grant JAVASYSPRIV to sde;
    and then that exception is gone. What's the difference between dbms_java.grant_permission and grant command?
    Thanks
    Bing
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by don -- oracle support:
    I'm in the process of publishing the following note (134280.1), titled "How to Resolve ORA-29532 Java 2
    Permission Problems in RDBMS 8.1.6 and 8.1.7".
    It will be accessible from Oracle Support's "Metalink" site.
    "How to Resolve ORA-29532 Java 2 Permission Problems in RDBMS 8.1.6 and 8.1.7".
    Problem Description
    <HR></BLOCKQUOTE>
    null

  • ORA-00001 error

    Hi all,
        After we restarted portal,we cannot start jcontrol,and we get a strange ORA-00001 error,when we check the log:
    Here is the log defaulttrace:
    Date : 12/10/2007
    Time : 15:13:26:500
    Message : ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
    com.sap.caf.eu.gp.base.exception.EngineException: ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.AbstractLocalProcessPersistence.createBlockInputLocal(AbstractLocalProcessPersistence.java:904)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.LocalProcessPersistence.createBlock(LocalProcessPersistence.java:250)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startBlock(StatusWriter.java:984)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.startActivity(StatusWriter.java:927)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.changeParentBlockStatus(StatusWriter.java:2710)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.changeParentBlockStatus(StatusWriter.java:2728)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatusUserDecisionBlock(StatusWriter.java:2574)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.updateProcessStatus(StatusWriter.java:2235)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.status.StatusWriter.completeAction(StatusWriter.java:223)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.LocalWorkflowConnector.completeAction(LocalWorkflowConnector.java:247)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.BackGroundActionProcessorHelper.processAction(BackGroundActionProcessorHelper.java:223)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.impl.queue.BackgroundCOQueueProcessor.run(BackgroundCOQueueProcessor.java:269)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPSR3DB.SYS_C005260) violated
         at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:259)
         at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:240)
         at com.sap.caf.eu.gp.model.pfw.wfc.local.db.impl.AbstractLocalProcessPersistence.createBlockInputLocal(AbstractLocalProcessPersistence.java:901)
         ... 15 more
    And i also check the startlog.It seems ok.
    Someone knows what's happening and how to solve this?
    Best regards
    delma

    Hi,Shikhil
    Thank you for your reply.
    But actually,we just install a WEB AS FOR JAVA on the portal server,no ABAP at all.
    I think it may be the database problem.
    Thank you.
    Best regards
    delma

  • How to resolve "open failed"error while starting dbisqlc utility in UNIX b

    how to resolve the following error while starting dbisqlc utility in UNIX box...??
    Unix Prompt% which dbisqlc
    /sybase/asiq12/bin/dbisqlc
    Unix Prompt%
    Unix Prompt% dbisqlc
    ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
    zsh: killed dbisqlc
    Unix Prompt%

    rm.vikram wrote:
    how to resolve the following error while starting dbisqlc utility in UNIX box...??
    Unix Prompt% which dbisqlc
    /sybase/asiq12/bin/dbisqlc
    Unix Prompt%
    Unix Prompt% dbisqlc
    ld.so.1: dbisqlc: fatal: libdblib9_r.so: open failed: No such file or directory
    zsh: killed dbisqlc
    Unix Prompt%It may not help, but a quick google search for that library gave a link to http://www.sybase.com/content/1040797/deployadmintoolslinux.pdf, and from within that:
    Interactive SQL files
    Copy the following files from your reference installation:
    /opt/sybase/SYBSsa9/bin/dbisql
    /opt/sybase/SYBSsa9/java/dbmaen9.jar
    /opt/sybase/SYBSsa9/java/isql.jar
    /opt/sybase/SYBSsa9/java/jlogon.jar
    /opt/sybase/SYBSsa9/java/xerces.jar
    /opt/sybase/SYBSsa9/java/xml4j.jar
    3
    Copyright © 2004 iAnywhere Solutions, Inc.
    /opt/sybase/SYBSsa9/lib/libdblib9_r.so.1
    /opt/sybase/SYBSsa9/lib/libdbtool9_r.so.1
    /opt/sybase/SYBSsa9/res/asa.cvf
    /opt/sybase/SYBSsa9/res/dblgen9.res
    /opt/sybase/shared/java/HelpManager11.jar
    /opt/sybase/shared/java/JComponents142.jar
    /opt/sybase/shared/java/SCEditor142.jar
    /opt/sybase/shared/java/jsyblib142.jar
    /opt/sybase/shared/sun/javahelp-1_1/jh.jar
    Create the following symbolic links in /opt/SYBSsa9/lib:
    libdblib9_r.so -> libdblib9_r.so.1
    libdbtool9_r.so -> libdbtool9_r.so.1which may suggest a solution.

  • How to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    how to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    Looks like the presentation column got Alias before your BMM changes, so in your case renaming logical column and deleting alias is not good to go.
    Keep Alias

  • ORA: 00001 error when issued commit_form

    I have a question about finalizing the changes when using commit_form.
    There is a database trigger on the table which records all the changes update, insert, delete into an audit table. The actual sequence of actions going on in the form are
    1. Update a row in a table (No explicit update stmt is issued as the block is a database block)
    2. Key-Commit(issues commit_form)
    3. Delete the same row which was previously updated (happens thru explicit delete stmt in the Post-Forms-Commit/Post-Database-Commit
    4. forms_ddl(commit_form)
    Actions 1 & 2 are working fine. Action 3 is throwing an error ORA: 00001. And if the trigger is disabled then the form is working fine.
    I wanna know if the forms issues a commit_form, will it finalizes the changes in the database or will it waits for the post-forms-commit trigger to get completed and then finalizes the changes.
    Can anyone help me with this?
    Thanks for your time

    Here is the help on Post-Database-Commit Trigger:
    Fires once during the Post and Commit Transactions process, after the database commit occurs. Note that the Post-Forms-Commit trigger fires after inserts, updates, and deletes have been posted to the database, but before the transaction has been finalized by issuing the Commit.
    I think you are fine at this point, as long as you use changed values in the WHERE clause of your DELETE statement.
    ORA: 00001 is violation of UNIQUE CONSTRAINT, which really does not make any sense in context of DELETE statement, because you are not adding a new record but deleting one (Step 3).
    With limited info I have here, I think that you are running into constraint issues on your audit table, because update and delete are happening almost at the same time, and you will be effectively getting two records in your audit table, that depending how UNIQUE constraints are setup on your audit table might cause the issue.
    By the way it boggles my mind: why would you change and delete record from the table at the same time?

  • How to handle ORA-00001: unique constraint in EXCEPTION block?

    Hi,
    Is there a specific exception thats raised when ORA-00001: unique constraint error occurs?

    SQL> create table test(id number primary key);
    Table created.
    SQL> set serverout on
    SQL> declare
      2   ex exception;
      3   pragma exception_init(ex,-1);
      4  begin
      5   insert into test values(1);
      6  exception
      7   when ex then
      8    dbms_output.put_line('dup');
      9   when others then
    10    raise;
    11  end;
    12  /
    dup                                                                            
    PL/SQL procedure successfully completed.
    <br>
    <a href ="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/errors.htm#LNPLS00703">Predefied exceptions </a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Ora-00001 error occured while upgrading 10.2.0.4 to 11.2.0.3

    Hi all,
    I am facing 'ora-00001: Unique constraint(SYSMAN.MGMT_PRIV_GRANTS_PK) violated' while upgrading 10.2.0.4 database to 11.2.0.3 using DBUA. Need urgent help in resolving this.
    Thanks
    Sandeep

    Hi srini,
    Yes, all the actions required by pre-upgrade tool are performed.
    In our case dbua related logs are present in $ORACLE_BASE/cfgtoollogs/dbua/logs folder.
    Files under this folder are:
    1.) sqls.log 2.) trace.log
    Last 100 lines from trace.log file
    [Thread-52] [ 2012-10-24 13:59:01.749 GMT+05:30 ] [Util.<init>:95] Util Instance created.
    [Thread-52] [ 2012-10-24 13:59:01.762 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: null
    [Thread-52] [ 2012-10-24 13:59:01.768 GMT+05:30 ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [Thread-52] [ 2012-10-24 13:59:01.769 GMT+05:30 ] [OracleHome.getVersion:908] Homeinfo /nhi2/app/oracle11g/product/11.2.0/dbhome_1,7
    [Finalizer thread] [ 2012-10-24 13:59:01.822 GMT+05:30 ] [Util.finalize:126] Util: finalized called for oracle.ops.mgmt.has.Util@a360a36
    [Finalizer thread] [ 2012-10-24 13:59:01.822 GMT+05:30 ] [Util.finalize:126] Util: finalized called for oracle.ops.mgmt.has.Util@1700170
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:936] OracleHome.server.getVersion Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.961 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.961 GMT+05:30 ] [CommonUtils.createPasswordFile:604] calling new orapwd for 11.1 or higher
    [Thread-52] [ 2012-10-24 13:59:01.963 GMT+05:30 ] [OsUtilsBase.execProg:2183] beginning execProg with input array.
    [Thread-52] [ 2012-10-24 13:59:02.046 GMT+05:30 ] [OsUtilsBase.execProg:2220] finished execProg with input array. Status:0
    [Thread-52] [ 2012-10-24 13:59:02.046 GMT+05:30 ] [OracleHome.initOptions:1236] Initializing Database Options with for dummy sid=DBUA5901749 using initfile=/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora using pwdfile=/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/orapwDBUA5901749
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLPlusEngine.getCmmdParams:222] m_home 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLPlusEngine.getCmmdParams:223] version > 112 true
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLEngine.getEnvParams:555] Default NLS_LANG: AMERICAN_AMERICA.AL32UTF8
    [Thread-52] [ 2012-10-24 13:59:02.049 GMT+05:30 ] [SQLEngine.getEnvParams:565] NLS_LANG: AMERICAN_AMERICA.AL32UTF8
    [Thread-52] [ 2012-10-24 13:59:02.049 GMT+05:30 ] [SQLEngine.initialize:325] Execing SQLPLUS/SVRMGR process...
    [Thread-52] [ 2012-10-24 13:59:02.087 GMT+05:30 ] [SQLEngine.initialize:362] m_bReaderStarted: false
    [Thread-52] [ 2012-10-24 13:59:02.090 GMT+05:30 ] [SQLEngine.initialize:366] Starting Reader Thread...
    [Thread-52] [ 2012-10-24 13:59:02.227 GMT+05:30 ] [OracleHome.initOptions:1248] executing: startup nomount pfile='/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora'
    [Thread-52] [ 2012-10-24 13:59:29.944 GMT+05:30 ] [OracleHome.initOptions:1259] executing: select parameter from v$option where value='TRUE'
    [Thread-52] [ 2012-10-24 13:59:29.966 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Partitioning is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Objects is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Advanced replication is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Bit-mapped indexes is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Connection multiplexing is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Connection pooling is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Database queuing is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Incremental backup and recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Instead-of triggers is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel backup and recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel execution is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel load is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Point-in-time tablespace recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fine-grained access control is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Proxy authentication/authorization is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Change Data Capture is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Plan Stability is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Online Index Build is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Coalesce Index is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Managed Standby is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Materialized view rewrite is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Database resource manager is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Spatial is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Export transportable tablespaces is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Transparent Application Failover is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fast-Start Fault Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Sample Scan is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Duplexed backups is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Java is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option OLAP Window Functions is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Block Media Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fine-grained Auditing is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Application Role is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Enterprise User Security is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Oracle Data Guard is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option OLAP is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Basic Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Join index is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Trial Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Data Mining is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Online Redefinition is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Streams Capture is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option File Mapping is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Block Change Tracking is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Table is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Database is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Transparent Data Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Backup Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Unused Block Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Result Cache is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option SQL Plan Management is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option SecureFiles Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Real Application Testing is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Data Archive is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option DICOM is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Active Data Guard is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Server Flash Cache is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Advanced Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option XStream is ON
    [Thread-52] [ 2012-10-24 13:59:29.993 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Deferred Segment Creation is ON
    [Thread-52] [ 2012-10-24 13:59:29.993 GMT+05:30 ] [OracleHome.initOptions:1269] executing: select version from v$timezone_file
    [Thread-52] [ 2012-10-24 13:59:29.997 GMT+05:30 ] [OracleHome.initOptions:1275] Timezone file version is 14
    [Thread-52] [ 2012-10-24 13:59:31.019 GMT+05:30 ] [SQLEngine.done:2189] Done called
    [Thread-52] [ 2012-10-24 13:59:31.020 GMT+05:30 ] [OsUtilsBase.deleteFile:1863] OsUtilsBase.deleteFile: /nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora
    [Thread-52] [ 2012-10-24 13:59:31.034 GMT+05:30 ] [OsUtilsBase.deleteFile:1863] OsUtilsBase.deleteFile: /nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/orapwDBUA5901749
    [Thread-52] [ 2012-10-24 13:59:31.042 GMT+05:30 ] [OracleHome.initOptions:1316] Diag cleanup /nhi2/app/oracle11g/product/11.2.0/dbhome_1/log/diag/rdbms/dbua5901749
    [Thread-52] [ 2012-10-24 13:59:31.564 GMT+05:30 ] [OracleHome.initOptions:1324] Database Options queried: 60
    [Thread-52] [ 2012-10-24 13:59:31.564 GMT+05:30 ] [CompManager.setLoggingDirForDB:6992] Create logging folder for database=baan
    [Thread-52] [ 2012-10-24 13:59:31.565 GMT+05:30 ] [CompManager.createUniqueDirs:6953] create createUniqueDirs logging folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade
    [Thread-52] [ 2012-10-24 13:59:31.566 GMT+05:30 ] [CompManager.createUniqueDirs:6965] create createUniqueDirs logging folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade1
    [Thread-52] [ 2012-10-24 13:59:31.574 GMT+05:30 ] [CompManager.createUniqueDirs:6973] create SUCCESS for folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade1
    Thanks,
    Sandeep Vadlamudi

  • How to resolve the "Builld error mxmlc task failed" in flex4 web application

    hi all,
    I am using flex 4 mxml web application wiht as3. when i deploying this project i am facing the folling error.
    Environment:
    Flex 3.5 SDK
    Flash builder 4 .                 APPLICATION NAME: BillProcess
    Ant compile tasks
    ============
        <property name="FLEX_HOME" value="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0/>
        <property name="JAVA_HOME" value="C:\Program Files\Java\jdk1.6.0_06"/>
        <property name="JRE_HOME" value="C:\Program Files\Java\jre1.6.0_06"/>
    ERROR:
    init:
    [ippprojectproperties] qbServer = workplace.intuit.com
       [delete] Deleting directory C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
        [mkdir] Created dir: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\Dev
    checkForCustomBuild:
    custombuild:
    dependentProjects:
    compile:
    [ippflexbuild] Parsing: C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess/.actionScriptProperties
    BUILD FAILED
    C:\Documents and Settings\TIVL\Adobe Flash Builder 4\BillProcess\ippbuild.xml:101: mxmlc task failed
    Total time: 16 seconds.
    HOW TO RESOLVE THIS.
    please share your useful suggession,
    cheers,
    B.venkatesan.

    hello,
    Check out this link http://www.kirupa.com/forum/showthread.php?309387-ant-mxmlc-task-don-t-compile-with-FlexSD K-4 this may solve your problem.
                         Gajanan Hiroji | [email protected] | www.isacglobal.com

  • How to Resolve HTTP 500 error in sharepoint 2013 workflow

    Hi guys,
                 I am new to Sharepoint. I have created a workflow for sending if a document added or edited in a document library. When i added a document i
    workflow status shows workflow started. But when checked in the internal status of the workflow it shows as cancelled.
    RequestorId: 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce. Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["132"],"SPRequestGuid":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"request-id":["2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 05 Feb 2014 09:18:43 GMT"],"Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.Activit
    How to resolve this error. It shows http 500 error.

    Go to one of your SharePoint boxes, open op powershell and get teh logs around the "SPRequestGUid" you see in your message...  Do something like this:
    Merge-SPLogFile -path "Desktop\wferror.log" -correlation 2bfd5ec9-1fd1-de92-ccc2-1f2a912c49ce
    This will basically grab log files from all boxes ULS logs that have to do with that transaction.
    *** not sure how far back it will look depending on your log size, but sometimes I've had to reproduce another error (with a new SPGuid) and then Merge logs with that Correlation...
    Once you get this file, you can open it with ULSViewer and then you can filter/sort by Product/Category/ErrorLevel/etc...  this will definitely help you determine what the issue is.  The key is that SPRequestGuid (which is the "Correlation ID"
    that you see when you get SharePoint Unexpected errors to reference the log files...

  • How to resolve multiple declaration error in libraries

    Hi All,
    I have one C Application, it links to two libraries. There is one variable with same name defined in two different libraries. These two libraries are third party libraries and i don't have access to their source code.
    Compiler gives multiple declaration of same variable error.
    Please let me know how to resolve this error.
    Thanks in Advance.
    Regards,
    Vasu

    Please, show your compilation line as well as error that you get.
    Are these static or shared libraries?
    Are we talking about Solaris here?
    regards,
    Fedor.

  • ORA-04044 Error in SQL statement

    Hi All,
    I faced ORA-04044 in a SQL statement being written inside a shell script. I really don't know what is wrong with the script. Without shell variables is working ...
    Here is the excerpt:
    line=`sar -u 2 5 |tail -1`
    var_io=`echo "$line" | awk '{print $6}'`
    var_sys=`echo "$line" | awk '{print $5}'`
    var_user=`echo "$line" | awk '{print $3}'`
    var_idle=`echo "$line" | awk '{print $7}'`
    sqlplus $ora_access <<EOF
    select sysdate, a.hostid, a.inst_num, b.count1, c.count2, $var_user,$var_sys,$var_idle,$var_io
    from dual ,
    (select HOST_NAME hostid, INSTANCE_NUMBER inst_num from v$instance ) a,
    (select count(sid) count1 from v$session where username is not null) b,
    (select count(*) count2 from apps.fnd_concurrent_requests where phase_code ='R') c;
    EOF
    [b]Error Message:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Apr 10 02:20:53 2008
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> 2 3 4 5 (select count(sid) count1 from v where username is not null) b,
    ERROR at line 4:
    ORA-04044: procedure, function, package, or type is not allowed here

    Thanks a lot for instant reply. It worked!!
    I forgot to use the escape character, but the error
    message was not revealing anything :-(If you look carefully you could have spotted it:
    SQL> 2 3 4 5 (select count(sid) count1 from[b] v where username is not null) b,

  • ORA-06502 error on SQL tab

    I have just installed the latest version of SQL Developer (1.2.1.3213) and am running an Oracle 9i database (version 9.2.0.7).
    When I click on the SQL tab when looking at a table I get an ORA-06502 error and the DDL generated has "-- Unable to Render DDL with DBMS_METADATA using internal generator." at the top.
    I then get a whole host of other errors when using other parts of the program until I disconnect and reconnect.
    This error also occurs when I run the following query:
    select dbms_metadata.get_ddl('TABLE',table_name , user ) from user_tables;
    Any ideas?
    Incidentally prior to this release I had an early version 1 release of SQL Developer and the SQL tab here showed nothing at all.
    Any comments would be most appreciated.

    I am currently using v2.1.1.64, Build MAIN-64.45 and have the same or a similar problem. SQL developer will not generate the SQL code, but fails with the following error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 0
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4544
    ORA-06512: at "SYS.DBMS_METADATA", line 466
    ORA-06512: at "SYS.DBMS_METADATA", line 640
    ORA-06512: at "SYS.DBMS_METADATA", line 1260
    ORA-06512: at line 1
    This installation doesn't have the same directory structure as in the previous reply, so I can't run the catmeta.sql script which doesn't exist in this release.
    Mike

  • ORA-0911 Errors in SQL Worksheet

    Is anyone else getting ORA-0911 errors in the Worksheet when they press F9? It is, of course, not consistent or easily repeatable, but seems to occur when I've got more than about three SQL statements in the worksheet and just typed another at the end.
    It's not a problem with my SQL, because I can cut and then paste the statement elsewhere in the worksheet and F9 will work fine. Of course when I then cut and paste it back to the bottom it carries on working as well.
    I'm trying to figure out exactly when this happens but of course the behaviour isn't consistent enough to narrow it down. I'm hoping that other people are also seeing this error message a lot and that there is either a known problem or that we can collectively figure out what is going on.

    The specific error must be in one of the earlier threads that was talking about this problem, but when I have problem with SQL Worksheet not identifying the current statement out of multiple statements, it is almost always the ORA-911.
    If the statement runs fine when you select the specific text, then I would say that the problem is the SQL Worksheet statement selection rather than anything to do with the DB version.
    As an example - I am connecting to 9.2.0.5 and if my SQL Worksheet contains:
    select dummy
    from dual
    where dummy like '%'
    select dummy
    from dual
    where dummy not like '%'
    If I use F9 anywhere in the SQL Worksheet, I get the ORA-911 error.
    However if I select the the text of either statement, it runs fine (first returning a record and second not).
    If I delete the two where clauses, I don't get the ORA-911 error, even if I don't select the statement text explicitly.

Maybe you are looking for

  • Problem whit jdbc adapter

    hello, a very big problem. I configured in my PI 7.1 installation a JDBC - PI - rfc interface. When i active the jdbc comunication channel , all cpu saturated and j2ee crash. I try to restart java stack but is not possible I think the problem is on j

  • Export and import parameter

    Hello friends, DB: oracle 10 G O/S: Sun soalris 10. I have two sun system system both are having oracle 10 g 1 is prod database and another is test database both the systems having same schema ,I want to make my test database upto date with productio

  • I AM BEGGING THE MODERATOR, PLEASE...

    Create a subject heading where obsessive people can whine about their ordering, carriers and shipment times. I sure you would agree this is very frustrating when trying to help those with real or perceived problems. Just the fact of the post totals i

  • Custom ATP integration with oracle

    HI All, We have a requirement for developing Custom ATP for our client requirement. Anybody has developed this kind of custom ATP in Oracle? Can you share your experience if you come across such requirement? I think if we develop our own ATP in place

  • PHP-MySQL "INSERT INTO" query not working

    Hi, The code below fails to update a MySQL table I have made called "tampa."  I'm not sure why.  The field "id" is an index field, auto-increment, and primary-type.  The field "site" is also an index field, but just unique-type.  Does the fact that t