BAPI_OBJCL_CHANGE Lock Error !

Hi Friends,
Iam using BAPI_OBJCL_CHANGE to update the characteristics for equipment.
The code is somthing like:
call Function BAPI_OBJCL_CHANGE
     |
     |
Read it_return -  for any error messages.
     |
     |
Bapi_commit.
The problem here is, when run on Batch Mode sometimes this Bapi gives out the error 'Equipment is locked by user.'
There is no other parallel job running at this time. But also we get this error. Sometimes able to replicate and sometimes not.
I searched in SDN and found few others also faced the same problem with this FM BAPI_OBJCL_CHANGE.
The thread i viewed for your ref:
"BAPI_OBJCL_CHANGE "   is locking customers
Which lock should I use for material batch characteristics?
BAPI_OBJCL_CHANGE and BAPI_TRANSACTION_COMMIT
Record Locking when using BAPI
Kindly suggest me the suitable solution.
Should locking and unlocking the equipment using FM enqueue/dequeue before calling this bapi will help?
or
Should this Bapi be called in Update task?
Kindly suggest me.
thanks,
Padma

Hi,
Please try this
CALL FUNCTION function IN UPDATE TASK
COMMIT WORK
Regards
Hiren K.Chitalia

Similar Messages

  • Lock error when starting wl70

    Hello,
    Sometimes when starting wl, we receive the following error:
    Starting WebLogic Server...
    <Jun 9, 2003 6:54:44 AM EDT> <Notice> <Management> <140005> <Loading configuration
    /d001/DEV/app/bea/user_projects/devdomain/./config.xml>
    <Jun 9, 2003 6:54:50 AM EDT> <Error> <EmbeddedLDAP> <171517> <An error occurred
    while attempting to get exclusive access to the embedded LDAP data files directory
    - ./devserver/ldap/ldapfiles. The exception thown is java.io.IOException: lock
    error, ./devserver/ldap/ldapfiles/EmbeddedLDAP.lok, Permission denied, errno=13.>
    <Jun 9, 2003 6:54:50 AM EDT> <Critical> <WebLogicServer> <000364> <Server failed
    during initialization. Exception:weblogic.server.ServiceFailureException: Error
    getting exclusive access to embedded LDAP data files - with nested exception:
    [java.io.IOException: lock error, ./devserver/ldap/ldapfiles/EmbeddedLDAP.lok,
    Permission denied, errno=13]
    java.io.IOException: lock error, ./devserver/ldap/ldapfiles/EmbeddedLDAP.lok,
    Permission denied, errno=13
    at weblogic.ldap.FileLock.openWithLock(Native Method)
    at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:893)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:204)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:717)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Deleting or renaming the EmbeddedLDAP.lok file allows us to start wl.
    This doesn't happen every time we start wl.
    Any ideas?
    Thank you.

    You should post the seucirty newsgroup to be sure, but I think this happens
    when you have two WLS instances running pointing to the same ldap
    configuration portion of a domain.
    cheers
    mbg
    "Steve Diese" <[email protected]> wrote in message
    news:3ee48228$[email protected]..
    >
    Hello,
    Sometimes when starting wl, we receive the following error:
    Starting WebLogic Server...
    <Jun 9, 2003 6:54:44 AM EDT> <Notice> <Management> <140005> <Loadingconfiguration
    /d001/DEV/app/bea/user_projects/devdomain/./config.xml>
    <Jun 9, 2003 6:54:50 AM EDT> <Error> <EmbeddedLDAP> <171517> <An erroroccurred
    while attempting to get exclusive access to the embedded LDAP data filesdirectory
    - ./devserver/ldap/ldapfiles. The exception thown is java.io.IOException:lock
    error, ./devserver/ldap/ldapfiles/EmbeddedLDAP.lok, Permission denied,errno=13.>
    >
    <Jun 9, 2003 6:54:50 AM EDT> <Critical> <WebLogicServer> <000364> <Serverfailed
    during initialization. Exception:weblogic.server.ServiceFailureException:Error
    getting exclusive access to embedded LDAP data files - with nestedexception:
    [java.io.IOException: lock error,
    ./devserver/ldap/ldapfiles/EmbeddedLDAP.lok,> Permission denied, errno=13
    java.io.IOException: lock error,./devserver/ldap/ldapfiles/EmbeddedLDAP.lok,
    Permission denied, errno=13
    at weblogic.ldap.FileLock.openWithLock(Native Method)
    atweblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:893)
    at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:204)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:717)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Deleting or renaming the EmbeddedLDAP.lok file allows us to start wl.
    This doesn't happen every time we start wl.
    Any ideas?
    Thank you.

  • Error while doing multiple object updation from EP ! object lock error

    HI all,
    I am doing multiple  object updation using a standard RFC(BAPI_PROJECT_MAINTAIN). The RFC i am calling from Enterprise portal. I am sending data to RFC one by one. But the error i am getting is object is locked by user so data can't be save.
    Though i am using Lock and unlock method before and after calling RFC the project lock error comes up.
    What might be the reason
    regards
    sandeep

    Hi Sandeep,
    Is the RFC you use for locking in the same model as the bapi BAPI_PROJECT_MAINTAIN? If it is not then you are using two connections for communication with the sap R/3 backend.
    You can do 2 things.
    1. You could add the RFCs for locking in the same model as the BAPI_PROJECT_MAINTAIN
    2. Instead of adding the RFCs in one model synchronize the connections the models use as follows:
    IWDDynamicRFCModel model1 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model1.class);
    IWDDynamicRFCModel model2 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model2.class);
    model1.setConnectionProvider(model2);
    You can do this in the wdDoInit. This will make sure both models use the same connection but closing a connection will close both at the same time.
    The same problem applies to commit/rollback functionality.
    Regards,
    Jeschael

  • System Lock Error while reset & reversing the cleared document - FBRA

    Hi Experts,
    Currently using t-code FBRA, when user trying to reset & reverse the cleared document , they are facing "System Lock Error". We have analyzed on this issue and found SAP note no. u201C487347 u2013FBRA: Overflow of the lock table in production systemu201D . After implementation of this note, SAP has created one new transaction code, FBRA_LOAC.
    However, when we tried to reset & reverse the cleared document using t-code FBRA_LOAC, we face the same error.
    Can you help me to resolve this issue ?
    Thanks in advance.
    Regards,
    Manish

    Hi:
          We once faced these issue and got it resolved by extending parameter after extending the profile-parameter "enque/table_size", as per note note 13907. Do not forget the restart the server after extension.
    Regards

  • Restore using TSPITR Results  Dead lock error

    This is the step is followed but i am getting deadlock error .please give your valuable suggestion .
    Product Used:oracle 11g in linux environmnet
    1)Before taking backup get SCN number for restore.
    Command applied: Select current_scn from v$database;
    2)running Full backup of database
    Command applied:
    configure controlfile autobackup on;
    backup database;
    CROSSCHECK BACKUP;
    exit;
    3)Running level 0 incremental backup
    Command applied:
    BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 TAG ='WEEKLY' TABLESPACE TEST;
    exit;
    3) Running level 1 incremental backup
    Command applied:
    BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 1 TAG ='DAILY' TABLESPACE TEST;
    4)Before Restore(TSPITR) following procedure are applied under sysdba privilege
    Command applied:
    SQL 'exec dbms_backup_restore.manageauxinstance ('TSPITR',1)';
    5)TSPITR Restore command
    Command applied:
    run
    SQL 'ALTER TABLESPACE TEST OFFLINE'
    RECOVER TABLESPACE TEST UNTIL SCN 1791053 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
    SQL 'ALTER TABLESPACE TEST ONLINE';
    and i tried with this option also(the same error i was getting)
    Command applied:
    run
    SQL 'ALTER TABLESPACE TEST OFFLINE';
    SET UNTIL SCN 1912813;
    RESTORE TABLESPACE TEST ;
    RECOVER TABLESPACE TEST UNTIL SCN 1912813 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
    SQL 'ALTER TABLESPACE TEST ONLINE';
    The follwing error i get for above mentioned restore command
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Aug 17 18:11:18 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: NEW10 (DBID=2860680927)
    RMAN> run
    2> {
    3> SQL 'ALTER TABLESPACE TEST OFFLINE';
    4> RECOVER TABLESPACE TEST UNTIL SCN 1791053 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
    5> SQL 'ALTER TABLESPACE TEST ONLINE';
    6> }
    7>
    using target database control file instead of recovery catalog
    sql statement: ALTER TABLESPACE TEST OFFLINE
    Starting recover at 17-AUG-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=404 device type=DISK
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS1
    Creating automatic instance, with SID='BkAq'
    initialization parameters used for automatic instance:
    db_name=NEW10
    db_unique_name=BkAq_tspitr_NEW10
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/opt/oracle/base/flash_recovery_area
    log_archive_dest_1='location=/opt/oracle/base/flash_recovery_area'
    #No auxiliary parameter file used
    starting up automatic instance NEW10
    Oracle instance started
    Total System Global Area 292933632 bytes
    Fixed Size 1336092 bytes
    Variable Size 100666596 bytes
    Database Buffers 184549376 bytes
    Redo Buffers 6381568 bytes
    Automatic instance created
    Running TRANSPORT_SET_CHECK on recovery set tablespaces
    TRANSPORT_SET_CHECK completed successfully
    contents of Memory Script:
    # set requested point in time
    set until scn 1791053;
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 17-AUG-10
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=59 device type=DISK
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/autobackup/2010_08_17/o1_mf_s_727280767_66nmo8x7_.bkp
    channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/autobackup/2010_08_17/o1_mf_s_727280767_66nmo8x7_.bkp tag=TAG20100817T142607
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/opt/oracle/base/flash_recovery_area/NEW10/controlfile/o1_mf_66o0wsh8_.ctl
    Finished restore at 17-AUG-10
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until scn 1791053;
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile 1 to new;
    set newname for clone datafile 8 to new;
    set newname for clone datafile 3 to new;
    set newname for clone datafile 2 to new;
    set newname for clone datafile 9 to new;
    set newname for clone tempfile 1 to new;
    set newname for datafile 7 to
    "/opt/oracle/base/oradata/NEW10/test01.dbf";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile 1, 8, 3, 2, 9, 7;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 17-AUG-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00008 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00003 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00002 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00009 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_%u_.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnndf_TAG20100817T140128_66nl7174_.bkp
    channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnndf_TAG20100817T140128_66nl7174_.bkp tag=TAG20100817T140128
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:02:45
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00007 to /opt/oracle/base/oradata/NEW10/test01.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd0_WEEKLY_66nl9m8k_.bkp
    channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd0_WEEKLY_66nl9m8k_.bkp tag=WEEKLY
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:06:55
    Finished restore at 17-AUG-10
    datafile 1 switched to datafile copy
    input datafile copy RECID=6 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1sf_.dbf
    datafile 8 switched to datafile copy
    input datafile copy RECID=7 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1r9_.dbf
    datafile 3 switched to datafile copy
    input datafile copy RECID=8 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_66o0x1vr_.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=9 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1vj_.dbf
    datafile 9 switched to datafile copy
    input datafile copy RECID=10 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1rs_.dbf
    contents of Memory Script:
    # set requested point in time
    set until scn 1791053;
    # online the datafiles restored or switched
    sql clone "alter database datafile 1 online";
    sql clone "alter database datafile 8 online";
    sql clone "alter database datafile 3 online";
    sql clone "alter database datafile 2 online";
    sql clone "alter database datafile 9 online";
    sql clone "alter database datafile 7 online";
    # recover and open resetlogs
    recover clone database tablespace "TEST", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
    alter clone database open resetlogs;
    executing Memory Script
    executing command: SET until clause
    sql statement: alter database datafile 1 online
    sql statement: alter database datafile 8 online
    sql statement: alter database datafile 3 online
    sql statement: alter database datafile 2 online
    sql statement: alter database datafile 9 online
    sql statement: alter database datafile 7 online
    Starting recover at 17-AUG-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting incremental datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00007: /opt/oracle/base/oradata/NEW10/test01.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd1_DAILY_66nmf6qs_.bkp
    channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd1_DAILY_66nmf6qs_.bkp tag=DAILY
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    starting media recovery
    archived log for thread 1 with sequence 39 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_39_66nmc1dg_.arc
    archived log for thread 1 with sequence 40 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_40_66nmcfw4_.arc
    archived log for thread 1 with sequence 41 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_41_66nmcwcf_.arc
    archived log for thread 1 with sequence 42 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_42_66nmddbw_.arc
    archived log for thread 1 with sequence 43 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_43_66o0wyys_.arc
    archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_39_66nmc1dg_.arc thread=1 sequence=39
    archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_40_66nmcfw4_.arc thread=1 sequence=40
    archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_41_66nmcwcf_.arc thread=1 sequence=41
    archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_42_66nmddbw_.arc thread=1 sequence=42
    archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_43_66o0wyys_.arc thread=1 sequence=43
    media recovery complete, elapsed time: 00:00:50
    Finished recover at 17-AUG-10
    database opened
    contents of Memory Script:
    # make read only the tablespace that will be exported
    sql clone 'alter tablespace TEST read only';
    # create directory for datapump import
    sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /opt/oracle/base/flash_recovery_area''";
    # create directory for datapump export
    sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /opt/oracle/base/flash_recovery_area''";
    executing Memory Script
    sql statement: alter tablespace TEST read only
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/opt/oracle/base/flash_recovery_area''
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/opt/oracle/base/flash_recovery_area''
    Performing export of metadata...
    EXPDP> Starting "SYS"."TSPITR_EXP_BkAq":
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/TRIGGER
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
    EXPDP> Master table "SYS"."TSPITR_EXP_BkAq" successfully loaded/unloaded
    EXPDP> ******************************************************************************
    EXPDP> Dump file set for SYS.TSPITR_EXP_BkAq is:
    EXPDP> /opt/oracle/base/flash_recovery_area/tspitr_BkAq_82690.dmp
    EXPDP> ******************************************************************************
    EXPDP> Datafiles required for transportable tablespace TEST:
    EXPDP> /opt/oracle/base/oradata/NEW10/test01.dbf
    EXPDP> Job "SYS"."TSPITR_EXP_BkAq" successfully completed at 18:25:02
    Export completed
    contents of Memory Script:
    # shutdown clone before import
    shutdown clone immediate
    # drop target tablespaces before importing them back
    sql 'drop tablespace TEST including contents keep datafiles';
    executing Memory Script
    database closed
    database dismounted
    Oracle instance shut down
    sql statement: drop tablespace TEST including contents keep datafiles
    Removing automatic instance
    shutting down automatic instance
    target database instance not started
    Automatic instance removed
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_temp_66o1k480_.tmp deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_3_66o1k0mg_.log deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_2_66o1jyt4_.log deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_1_66o1jx3w_.log deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1rs_.dbf deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1vj_.dbf deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_66o0x1vr_.dbf deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1r9_.dbf deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1sf_.dbf deleted
    auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/controlfile/o1_mf_66o0wsh8_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/17/2010 18:25:36
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on default channel at 08/17/2010 18:25:25
    RMAN-11003: failure during parse/execution of SQL statement: drop tablespace TEST including contents keep datafiles
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00060: deadlock detected while waiting for resource
    Recovery Manager complete.
    please give your valuable suggestion .It should be more helpful for us.
    Edited by: user10750009 on Aug 20, 2010 1:07 AM
    Edited by: user10750009 on Aug 20, 2010 1:15 AM

    I want TSPITR ,during this operation i faced this deadlock error.
    Before that we faced roll backsegment error for that we applied follwing workaround .
    If i applied follwing workaround before every backup and restore .i didn't get any error .all things went successful.
    spool /tmp/Createtest.log
    connect / as sysdba
    REM Perform startup in case we are still down
    ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;
    SHUT IMMEDIATE;
    STARTUP MOUNT EXCLUSIVE;
    ALTER DATABASE ARCHIVELOG;
    ARCHIVE LOG START;
    ALTER DATABASE OPEN;
    connECT / as sysdba;
    alter system set undo_management = MANUAL scope=spfile;
    shutdown immediate;
    startup;
    Connect / as sysdba;
    DROP TABLE TEST123;
    create table test123 (t1 number, t2 varchar2(10));
    begin
    for i in 1.. 300000 loop
    insert into test values (i,'AAAAAAAAAA');
    end loop;
    end;
    delete test123;
    commit;
    alter system set undo_management = auto scope=spfile;
    shutdown immediate ;
    startup ;
    The above workaround we applied before creating tablespace and datafile ,after that we face some dead lock error while restore TSPITR .Did you need any more information
    Edited by: user10750009 on Aug 20, 2010 1:12 AM

  • Record lock error occurs randomly, when same task opened in 2 browser tabs

    I am having an ADF UI taskflow with two flows(paths):
    Flow1 - Edit DFF
    ProcessParameters ----> router---> IFEDIT---->SetEditedStatusAttribute MethodCall --> editDFFpage
    Flow2 - Manage DFF Accross All Modules
    ProcessParameters ----> router---> IFSEARCH---->SearchQuerypanel editbutton>SetEditedStatusAttribute MethodCall --> editDFFpage
    These two flows can be triggered from links in a task panel. Screenshot [http://act.us.oracle.com/~vmeka/lockerror/lockerror.JPG]
    the method call setEditedStatusAttribute, calls an EOImpl method to set an attribute.
    This in turn triggers lock() for all the associated EOs.
    In following scenario failure occurs:
    ->1. Click Edit DFF task and keep the web browser tab/window open - lock is acquired.
    ->2. Open http://localhost7101/ManageFlex-WebApp_Test-context-root/faces/ManageFlex in another tab/window and open the Edit DFF task. lock is acquired again.
    ->3. In the same tab re-run the page by removing session details suffix.
    Eg. http://dadvml0082.us.oracle.com:7108/ManageFlex-WebApp_Test-context-root/faces/ManageFlex?_afrLoop=19870268404083601&_afrWindowMode=0&_adf.ctrl-state=sbc4nhzgh_116
    Remove the end part that starts with ?_afrLoop= and press enter in the Address bar of browser. lock is acquired third time.
    ->5. This re-runs the page, open Edit task again
    ->6. Without pressing cancel , open Manage DFF task
    ->7. Do not perform any search operation and open Edit FF task again. lock is acquired fourth time.
    ->8. Repeat steps 5-7 a few number of times
    In step 5 or 7 I am hitting an exception with following message
    JBO-26030: Failed to lock the record, another user holds the lock.
    stack: (complete stack at [http://act.us.oracle.com/~vmeka/lockerror/stack1.txt] )
    oracle.jbo.AlreadyLockedException: JBO-26030: Failed to lock the record, another user holds the lock.
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1085)
    at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:546)
    at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:1485)
    at oracle.apps.fnd.applcore.flex.dff.model.entity.DescriptiveFlexfieldEOImpl.updateDeploymentStatus(DescriptiveFlexfieldEOImpl.java:1804)
    at oracle.apps.fnd.applcore.flex.dff.model.entity.DescriptiveFlexfieldEOImpl.setEditedStatus(DescriptiveFlexfieldEOImpl.java:1753)
    at oracle.apps.fnd.applcore.flex.dff.uiModel.applicationModule.DFFSetupUIAMImpl.editDescriptiveFlexfield(DFFSetupUIAMImpl.java:770)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any Idea why the lock error occurs after a few iterations, and not immediately after Edit DFF is opened in a second tab?
    Thanks,
    vikranth
    Edited by: user10124649 on Nov 25, 2009 8:04 AM

    Hi,
    on the ApplicationModule, did you set the locking behavior to optimistic ? For web applications it should be optimistic and not pessimistic, which is the default setting. Select the AM and choose "Configurations" from the context menu. Click edit and select the property tabs. Look for the locking setting, which should be set to "pessimistic if you did not change it before. Just replace the current value with optimistic
    Frank

  • System Locking Error - WebAS 6.40 ABAP

    My Netweaver 6.40 ABAP edition is now up and running. License is installed. I had to resolve an index-problem in the database layer by recreating a corrupt index via DBMCLI, but now the database seems to be fine.
    But I still can't "lock" anything. When I e.g. try to change client settings in SCC4, I get an error message:
    "System error: Unable to lock table/view T000".
    When I try to activate a service in SICF, I get "System locking error" (SR053). It seems that the enqueue server doesn't work.
    SM12 (Lock entries) diagnostics say: "System error during lock operation. Execute diagnostics in SM12" (03113). Interesting message, but not much help as I just did execute the diagnostics in SM12.
    The current workprocess configuration is:
    rdisp/wp_no_dia=2
    rdisp/wp_no_btc=1
    rdisp/wp_no_vb=0
    rdisp/wp_no_vb2=0
    rdisp/wp_no_enq=0
    rdisp/wp_no_spo=0
    Which is the default. I also tried
    rdisp/wp_no_dia=2
    rdisp/wp_no_btc=0
    rdisp/wp_no_vb=0
    rdisp/wp_no_vb2=0
    rdisp/wp_no_enq=1
    rdisp/wp_no_spo=0
    but that did not help.
    My hostname is NLVEHVHSE1NB272 (15 characters!). 6.10 could not be installed on a computer with such a long name, but 6.40 can.
    My rdisp/enqname is "NLVEHVHSE1NB272_NSP_", where I would expect "NLVEHVHSE1NB272_NSP_00".
    Does anybody know what the reason for my locking problems could be ? Thanks !

    Hi Ralf
    I had an identical problem and have been able to solve it by shortening the host name to less than 13 characters.
    OSS Notes 611361 and 23538 may he of help
    Cheers
    Grahame

  • DEAD LOCK ERROR

    When we are using our oracle application, our session hang every time the user update records. the DBA said that we have a dead lock error... the only thing he did is to reset sa database every time we in counter this problem. but we have this error every day, and i don't have an ideal regarding what is dead lock.

    you don't have a deadlock problem, because a deadlock will be "solved" as oracle simply kills the blocking session and rollbacks the changes.He is right. you might have blocking problem not dead lock problem. Find out the blocker and waiter and kill the blocker session.
    Following query would give you an idea about who is blocking and who is waiting for :
    select /*+ ordered */
    a.sid blocker_sid,
    -- c.sql_text,
    a.username blocker_username,
    a.serial#,
    -- a.logon_time,
    b.type,
    b.lmode mode_held,
    b.ctime time_held,
    c.sid waiter_sid,
    c.request request_mode,
    c.ctime time_waited
    from v$lock b, v$enqueue_lock c, v$session a, v$sqltext c
    where c.address=a.prev_sql_addr and
    a.sid = b.sid
    and b.id1 = c.id1(+)
    and b.id2 = c.id2(+)
    and c.type(+) = 'TX'
    and b.type = 'TX'
    and b.block = 1
    order by time_held, time_waited
    Look for blocker_id and waiter_id. If possible, kill blocker using following command.
    select sid,serial# from v$session where sid = blocker_sid;
    alter system kill session 'sid,serial#'';
    Jaffar

  • Group data locked error for MM01 using parallel processing

    Hello gurus,
                       I am using Call txn method (MM01) Parallel Processing method ( around 9 threads ). The Materials are getting locked around 10 percent sometimes.
    This is happening randomly ..one day i dont have any locking errors ..next day i have ...Any ideas why this could be..any prereq i need to check before executing the parallel processing..
    Thank you in advance..
    sasidhar p

    Hi Sasidhar
    I guess you are either extending the Sales Data or MRP Data. Just make sure that you are processing these transactions in a linear form for a single material. We can use parallel processing for different materials but for a single material if we go for parallel processing we can definetely expect the Lock Objects error.
    Kind Regards
    Eswar

  • How do i fix an AFP Lock Error?

    Ok so i rented some films from iTunes, but they didn't properly process once finished downloading due to an AFP lock error. How do i fix the error?

    AFP relates to sharing of resources such as files or computers.  Take a look in Finder’s Help menu for AFP references and see if any are relevant to you?  If that’s all Greek to you, perhaps just rebooting will cure the lock.

  • Shipping lock error on CM1415fnw

    I'm getting a shipping lock error on a genuine HP cartridge. (The other cartridges are not HP, and was getting the same error on a similar color previously).  I read this post [HP Color LaserJet CP2025 remove shipping lock error] and I am not going to go to the lengths he took in swapping out ends of the cartridges!  Currently I am installing the troubleshooter program and will see if it helps. 

    Hi , I see that you are getting a "shipping lock" error on a Genuine HP toner, the other toners are non- HP. I would be happy to help you.
    Please try the following steps to see if it will help resolve this issue. Make sure that the shipping locks, which look like an orange ring attached to the toners are removed from all the cartridges. 1. Remove all the toners and replace them in the wrong slot. (in other words mix them up)
    2. Close the drawer and let the unit initialize.
    3. Reopen drawer and assemble the toners in there proper location.
    4. Close the drawer again. The unit should remove the error and set up normally. I will send you another step to try in a private message.
    In the forum beside your handle name just click on the envelope to view it. If you appreciate my efforts, please click the 'Thumbs up' button below. Thank You.

  • PUK Locked Error on iPhone3 used as an iPod

    How do I get past the "PUK Locked" error for my old iPhone3 that my son was using as an iPod?  This PUK error happened when I connected the phone to iTunes and it prompted me to update the software (which I unfortunately did).  Please help!

    Thanks, but this old iPhone isn't being used as an iPhone and not under any service.  It is only being used as an iPod so I can't get a code from the carrier to unlock the PUK error.

  • Disk locked error

    I'm trying to upgrade to Mountain Lion. I have an Imac 2007 mid year ( which is compatible ), and first the installation stopped because it said the mad hd disk was damaged. Now that I repair the disk, when I try to install I can't select the Mac HD because it says it's locked. What should I do? I don't want to erase everything because I have some important files that created recently. I did not expect this error, I'm used to a smooth transition with new apple Operating Systems. Please help me, any advice is welcome.

    Ok guys, I figured it out. What I did was:
    First: I saved some of my important documents on an external hard drive ( just in case )
    Second: I started "disk utility" to verify the Mac HD disk. The verification told me that there was an error and that to repair it I would have to use : Restore HD. Now what is Restore HD? The message said to restart the computer and hold donw the keys: Command and R until you see the apple logo appears. Then the there is 4 options to pick: Restore from time machine, get help online, disk utility, and there was another one that I can't remember, but you have to pick "disk utility". You select the Mac HD disk, and the option of "repair disk" is available. You click that and wait. When the disk is repaired. I clicked the "verify permissions" option. Just in case the "disk locked" error appears again. After that is done. I restarted the computer with the regular (using the old lion, not the new one) I looked on applications for my Mountain Lion file, and followed the instructions.
    It took maybe 40 minutes. At one point, maybe 15 minutes in, the screen of my computer turned black. Don't freak out as I did, it is just the power saver. Then the system restarts itself and then there was Mountain Lion.
    I hope this helps! I read some articles first before trying this, some is not that I randomly came up with it. If you have the: "disk damaged" or "disk locked" errors. Try this, and see if it works! Thanks everyone!!

  • System Lock error : Inform System administrator

    Dear all,
    One of the SAP user got this (System Lock error : Inform System administrator) error , while doing posting .
    Kindly advise

    Hi,
    Check for any lock entries in the TA SM12 and then have a look at the note 13907 System error in the block handler, overflow lock table.
    Hope this helps.
    _Varadhu...

  • System Lock error:Inform your system administrator

    dears,
    i receive this error message (System Lock error:Inform your system administrator) while doing Sales order or , & MIGO. can you please help out

    Hi,
    This is not an Unicode issue, but anyway check this note:
    13907 - System error in the block handler, overflow lock table.
    Marco

Maybe you are looking for

  • Merge 2 company codes

    We have 2 company codes, which we are now planning to merge into 1 company code. Does SAP have a solution to migrate all the open line items and trial balance instead of doing it manually

  • I want to send a small email to 23 people on a list in my address book and thunderbird says the message is too large?

    I have an address book list of 23 names. I want to send a small, 4 paragraph email to all. When I try to send it, I get an error message which says that the message exceeds the temporary size limit of the server. I've sent messages in the past to the

  • Java Switch Statement with Strings

    Apparently you cant make a switch statement with strings in java. What is the most efficient way to rewrite this code to make it function similar to a swtich statement with strings? switch (type){                case "pounds":                     typ

  • Info about my battery

    I have HP pavillion dv6000, im planning to buy a new battery. So want to know which would i preffer, a 6 cell or 12 cell battery. And which one im having currently? My battery's part number is 436281-422

  • Please Reply: How to Remove '&SO_FORMAT=ASC' in Email Message?

    I'm sending a simple email message (more like an alert) but at the end of my message I'm getting this '&SO_FORMAT=ASC'. How do I remove it? I'm using version 4.7. Also, how do I include a linefeed in my email?   docdata-obj_name = 'TEST'.   docdata-o