Releasing a lock with LogicalLocking

Hi
I had experienced that a lock that I created was not released when it was suppose to be released.  I guess that the enqueue service was down for some reason.
Can I make sure a lock maximum is valid for ie. 30 minutes. So I dont have locks that is valid for ever.
Is there a way that I can run a job that release locks created.

And deadlock is a special scenario which is handled by oracle implicitly there is no need of human interaction in that. Oracle kill the holding session and log that event in alert log as well as generate the trace file too.
Daljit Singh

Similar Messages

  • File locking with OSX Server & Microsoft Word

    We have a small office LAN based on a Airport Extreme bases station. Periodically Microsoft Word reports a break in connection to the shared folder where we store documents to get disconnected. When that happens and the user reconnects to the share, the user gets the file read-only message for the Word document that was open at the time.
    I have found that in order to clear the read-only flag, I have to restart the server and open the Word file on the server with the ID of the user who was editing the file on the remote computer. Only that seems to clear the file locking that causes the file to be read-only.
    I cannot figure out a less drastic way to release the lock file. I don't see any hidden temp files in the same folder as the document that is locked for editing found by ls -a or in the root direction of the shared folder in the .TemporaryItems/folders.<UID> that seems to be holding the lock.
    I have run chflags nouchg <Word file> from Terminal, but that seems to have no effect either. I also used xattr to see if there were any locks held that way, but I don't see anything that way either.
    File sharing to Macs only, which are configured just to use AFP through OSX Server.
    Does anyone understand how the file locks of Word documents can be released directly with out restarting the server?
    I should add that the underlying problems seems to be WiFi related. The behavior is that the WiFi connection seems to break long enough that the shared volumes disconnects. Outlook also causes a break. This behavior seems to have started with 10.9 and the purchase of new Retina Display MacBook Pros. I turned off AppNap on the Office applications but that is not clearly helpful. I also have been told the problem seems more likely to occur when Word is open in the background and another program like Outlook is in the foreground.
    Any suggestions appreciated.

    Apple write an operating system and also produce file sharing software as part of that to be used as a file server. Apple provide documentation for third-party software developers on how they should write software to work with Apple's software and also give those developers early access to new versions so those third-party developers can test and if needed make adjustments and issue updates to cope with any Apple changes.
    Some third-party developers are good at dealing with this, some are bad, and some totally ignore what Apple does and give the impression they don't care if their product works properly or not. I think we can all judge where Microsoft sits.
    It appears Microsoft have never paid any attention in particular to how Apple expect file-locking to be handled when accessing files on a Mac server. There have been problems for years and years and years with Office. Two other problems I have seen which seem different to yours but probably related are -
    With Office documents it is supposed to be possible for more than one person to edit the same file at the same time, consider it a miracle if this actually works
    With Office in particular Word, there is an auto-save function, unfortunately the way this seems to be implemented it seems that Word creates a new temporary file each time it auto-saves the document and keeps all the previous temporary files open still, this eventually means potentially over a hundred temporary files are open - just for one Word document and you can then hit a limit on the total number of files you are allowed to have open at the same time. At this point further auto-saves fail, and you also encounter great difficulty doing a real full save of the document.
    I do not hold Apple completely blameless over this issue, it is likely their file-locking implementations change too often, and have inadequate documentation, however even considering this a company the size of Microsoft with the amount of sales (and profit) they derive from Office for the Mac has no excuses at all for failing to put the effort in to resolve any such clearly critical problems.
    We could go on and on about other areas where Microsoft don't play by the (software) rules. Even in Windows Office does not obey the standard print dialog rules Microsoft specified themselves!
    Unfortunately not only is Office for Mac upgraded infrequently, but even when new paid for upgrades are released Microsoft have a history of still not fixing bugs. It goes without saying that a mere free update is even less likely to actually fix a bug, typically such free updates only address security issues. The next version of Office is going to be Office for Mac 2014 see http://www.macworld.com/article/2106643/microsoft-will-release-a-new-version-of- office-for-mac-this-year.html
    One area I confidently predict Microsoft not to resolve in Office for Mac 2014 is that fact that Word for Mac still does not support right-to-left languages like Hebrew and Arabic. This is despite the fact that OS X itself has supported this for years and years, and despite the fact other Mac programs support this including the free TextEdit and Pages - both of which can read Word files. Some people may remember that at one point the Israeli Government temporarily banned all Microsoft software over this issue. See http://apple-beta.slashdot.org/story/03/10/15/2215249/israeli-government-suspend s-microsoft-contracts This issue goes back over TEN years!!
    I note that Microsoft has now taken their OfficeForMac blog offline, probably due to the weight of criticisms. I would not say it is due to out-right anti-Microsoft hate, that war ended long ago. We just want products that work. I myself do use Microsoft products, even at home - where they are the best solution, so I use Microsoft Media Center for example. Sadly this is now being neglected by Microsoft.

  • HT4137 error code:iTunes could not back up the iPhone "Karen's iPhone" because it is locked with a passcode. You must enter your passcode on the iPhone before it can be backed up.

    I am trying to use Itunes to move my data from my iphone 4s that was backed up on my Macbook Pro.  I keep getting an error code backing up from ITunes to new Iphone 5s:iTunes could not back up the iPhone “Karen’s iPhone” because it is locked with a passcode. You must enter your passcode on the iPhone before it can be backed up.  On the Iphone it keeps telling me to add another network.  I have put our home network on the Iphone.  When I put the passcode in the phone does not give me enough time to put my Apple ID password in and it shuts off.  Help!
    <Email Edited by Host>

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • I am currently restoring my Ipod 5 however half way through recovering my ipod 5 iTunes say's "locked with a password unlock ipod etc... " and turns on the iPod and my iPod is still disabled what do i do?

    I am currently restoring my ipod 5 however half way through re-covering my ipod 5 Itunes says "locked with a password unlock ipod etc..." and turns on the ipod and my ipod is still disabled...
    what do i do??

    Try and force it into Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • HT1212 my ipad is disabled permantly and i dont want to loose my pictures i keep going through the 5 steps and each time it says "itunes cannot connect to ipad because it is locked with a passcode" WHAT DO I DO PLEASE HELP ME. thank you. sorry about spell

    my ipad is disabled permantly and i dont want to loose my pictures i keep going through the 5 steps and each time it says "itunes cannot connect to ipad because it is locked with a passcode" WHAT DO I DO PLEASE HELP ME. thank you. sorry about spelling.

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. If you did not do step 4 properly, start all over again.

  • Release of Locks for SEM Planning Layouts in EP

    Hi,
    We are using SEM Web Layouts and they are being displayed through the SAP Enterprise Portal.
    To avoid messages when navigating between layouts, we have set the Independant Application Flag to False in the Web Layout Customising, however this is currently resulting in the locks not being release when you navigate away from the BSP within the portal.
    How can we get the portal to release the lock when navigating away from layouts.
    Thanks
    Sakhr

    You can only UPDATE after the LOCK is being released, to check if it LOCKED use SELECT * FROM TABLE1 WHERE ..... FOR UPDATE NO WAIT
    IF locked you will get the following mesg.
    ERROR at line 1:ORA-00054: resource busy and acquire with NOWAIT specified
    Thanks

  • How can we release the locked objects..

    Hi,
    I have created some objects such as pages and iviews in the portal. If i edited any of the object, then when next time when i access the object, I am hgetting a message as object is locked by admin, you canot edit it. Infact, I have logged in as admin.
    How can we release the lock of objects?
    Your help and suggestins solicited...
    Best regards,
    Sudhesh...

    Login as the Portal Administrator.
    Go to System Administration > Monitoring ->Detailed navigation -> Object Locking
    Here you can find all the objects that are in locked state.
    Now to unlock,  tick mark the object that you want to work with & click on the "Unlock" Button.

  • Locking a table and then releasing the lock...

    Gurus,
    I ant to lock a table DMS_LO_CD1 and then do certain upodate and then release the lock after that.
    How can I d this ?
    Thanks.
    Regards,
    Rajesh.

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=115258&messageID=2656474
    Do the following steps..
    GO TO SE11
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Hope this helps.
    Regards,
    Midhun Abraham

  • BPEL Toplink Adapter not releasing table lock

    We have a bpel process that attempts to do a merge on an Oracle table through the database adapter. If the merge operation is unsuccessful for any reason the process retries for a set number of times. We have found that a lock is generated on the tables in question and not released the first time. When the process retries it then hangs as it is waiting for the locks to be released.
    We are using version 10.1.2.0.2
    Thanks,
    Ashley

    Hi Ashley,
    I don't believe this is related to cache settings.
    Lets say a merge writes several rows and then fails updating the last row, at this point it has locks on the first n - 1 rows. The merge never acquires read locks.
    Because the merge failed though, the transaction is rolled back, locks always get released on a roll back.
    I confirmed with Glenn that when the bpel engine catches an exception, that transaction is ended (releasing all locks either way), and the next retry occurs in a new transaction.
    Some guesses I have:
    -in 10.1.2.0.2 turn on usesBatchWriting="true", then all the writes will happen in one statement.
    -whenever a bpel process waits between steps, if the wait time is very small the instance may be kept in memory. This could mean that the next retry occurs in the same transaction as the first, so maybe you could try increasing the retry interval?
    -investigate why merge is failing at all, maybe it failed in the first place because another process had a lock on the rows.
    Thanks
    Steve

  • Kill a session and release all locks immediatly

    Hi,
    How to kill a session and release all locks immediately.
    Thank you
    AK

    > Actually I am working on development envrionment (Not
    production) with oracle 10g DB. What heppened is that
    I needed to replace a stored DB Package, but I
    couldn't even when I am the only connected user.
    A read lock is placed on data dictionary objects when used - that prevents someone else from changing that data dictionary object and in effect pull the carpet from beneath the feet of the process using that object.
    When trying to replace a package, it will fail if another session is busy using that package.
    As for being the only user on the database and still running into this problem - there could have been a DBMS_JOB executing that package.
    > I killed all sessions, and even next day still the
    locks are there from a session I killed 1 day
    before!
    Unusual. But a killed session can take 24+ hours to rollback. A rollback is often a lot more time consuming than the elapsed run-time of the session at the time it was killed.
    Back with Oracle 8i and prior, it was not uncommon to see a killed session lingering forever until the instance was bounced. But I have not yet seen this in 10G.
    Suggest that when you run into this situation again, you monitor the killed session to determine just what it is doing (looking at its current wait states and events) - and whether it is indeed hanging and not releasing any locks that should have been released.

  • Cross System Object Lock with ChaRM Retrofit

    Hi-
    I need to know if there is the ability to have a cross system object lock while utiliziing Retrofit within ChaRM. For example I am working with an N, N1 landscape. When I release a transport request in N I need the object to be locked in the N, and N1 (after retrofit) landscapes.
    Will this be supported with both Workbench and Customizing requests?

    I dont believe this is possible at the moment. As you must be already aware, that SAP releases the locks from the objects as soon as the transport request is released from the Development System. Unless, this locking mechanism is extended to various systems first (DEV and QAS) and later to parallel landscapes (eg:- Project landscapes) it would be difficult to bring in this feature.
    Rgds,
    Abhijeet Bhagat

  • I try to connect to iTunes and it comes up with a box saying "iTunes could not connect to the iPad because it is locked with a passcode. you must enter your code on the iPad before it can be used with iTunes", but i cant enter the code on the iPad

    I try to connect to iTunes and it comes up with a box saying "iTunes could not connect to the iPad because it is locked with a passcode. you must enter your code on the iPad before it can be used with iTunes", but i cant enter the code on the iPad because it is saying "connect to iTunes". Can anybody help?? It is on the new iPad.

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • HT1212 my ipad just died.  When i hook up to my computer on itunes it says cannot connect because it is locked with a passcode.  i know my passcode but nothing is coming on, the screen is just blank and it is was fully charged

    My ipad will not turn on.  It was fully charged before it just died and would not turn back on.  When I hook it up to my computer on itunes it says cannot connect because it is locked with a passcode.  I know my passcode but the screen is just black, no power, so I cannot enter a pass code.

    FORCE IPAD INTO RECOVERY MODE
    1. Hold Sleep/Wake button down and slide to turn off iPad
    2. Turn on computer and launch iTune (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port. Do not release button until you see picture of iTune and plug.
    5. Release Home button.
    ON COMPUTER
    6. iTune has detected iPad in recovery mode. You must restore this iPad before it can be used with iTune.
    7. Select "Restore iPad"...

  • I brought a iphone 5c from ebay, when i recieve the i item its loked with i cloud, and also had a tmobile sim card in the slot...now i cant access the phone because its locked with i cloud,i do not have the owner details to contrac him,,

    i brought a iphone 5c from ebay, when i recieve the i item its loked with i cloud, and also had a tmobile sim card in the slot...now i cant access the phone because its locked with i cloud,i do not have the owner details to contrac him....but i called to tmobile, they said this phone is not a stolen one,,thet told me to contrac apple.....is apple can unlock the icloud?

    Plug your phone into the wall charger for at least 30 minutes...make sure you have a sim card in the phone...then:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.
    Make sure you have no anti-virus software running or any firewalls...turn all of that stuff off.

  • Iphone 5s become locked with 02

    My iphone 5 has become locked with O2. When I contacted O2, they told me that I can't use my three sim in, they told me that iphone5s become locked with the O2 sim, when I told them that I would like to unlock it, they said that apple haven't issued it yet! what can I do?

    Nothing
    Apple retail stores and Apple On-line UK are the only source
    of unlocked iPhones inc iP5 in UK
    All others are locked to a carrier
    O2 generally offer unlocking 6-12 months after release of a model
    might be longer with iP5 as they cannot offer LTE and
    may wish to prevent movement to EE who will have LTE spectrum
    Unlocking is nothing to do with Apple
    Carriers lock the iPhone only they can unlock it

Maybe you are looking for

  • Camera Raw - saving photos- help!

    I edit my photos in camera raw, and after clicking "done", I save my photos in another folder on my computer. This has never been a problem until recently. When I go to that folder to open the photo, the photo is somewhat blurry, grainy, and the colo

  • How do I set up a Laser Jet 4000 to work wirelessly​?

    How do I set up a Laser Jet 4000 to work wirelessly?  I followed the prompts but don't know what IP address to enter.  Is it 192.168.1.1  or is it unique to us?  We have Verizon FIOS.  Where  can I find the best ongoing support online?   In looking a

  • Merging data on a File created by Open Dataset

    Hi everyone I have 11 proxies writing on a FIle created by an Open Dataset (all of the proxies write on the same File). My customer sent massive messages to those proxies, when the proxies were running and writing on the file they merged the data. Ca

  • Numeric keyboard???

    Hi, I bought my Powerbook in France where to type numbers the LockShift-Key has to be "On" (as if they were capitals). When i first initialized the computer, I was given the option of a "regular" or "numeric" keyboard, and somehow my choice has cause

  • Integrating workflow within an ADOBE Interactive form

    Hi experts, We have a  Web-dynpro ABAP application which uses an Interactive Adobe form to enter personal and org data for HR. The form is now being used by HR personnel for  new-hire- employee's personal, organizational, and payroll information.  Ev