Record Locked by another user

I have an application using ADF, Java, Struts, JSP in JDev10.1.2
I have created datapages using 'Input form'. So, if any record is viewed through the form, will that record be locked?
Won't I have this problem, if I view the record using 'Read Only' form? Pls advice, it is very urgent.
I keep getting the error "Record locked by another user" all the time. Pls tell me how to remove the locks programatically

Hi,
Go to application module --> configuration . Probably you have pessimistic locking mode (default in 10.1.2 version). If that, change locking mode for optimistic - recomended for web applications.
Kuba

Similar Messages

  • Error -2038: Record locked by another transaction / Internal error occured

    Hi, sometimes when I'm trying to update a SO via DI API, I got this error -2038. The error message varies, either: "Internal error occured" or "Record locked by another transaction". Ffor 'record locked' error, the table/field names varies, eg.
    [RDR1.ItemCode][line: 7]
    [RDR12.TaxId8][line: 1]
    [WTR1.ItemCode][line: 1]
    [RDR1.ItemCode][line: 9]
    [RDR1.ItemCode][line: 3]
    [RDR12.TaxId2][line: 1]
    [RDR12.CityS][line: 1]
    Any idea what the problem might be? FYI I'm using PL41, and this DI calls are from a centralized 'handler' VB.NET program. I've also released the instantiated BO objects via System.Runtime.InteropServices.Marshal.ReleaseComObject() (http://support.microsoft.com/kb/317109)
    Thanks.

    David: what do you mean by 'S-User for the Marketplace'? I think I'm not an S-User, so I still can't login... How can I be an S-User?
    Anyway, I'll close this question, even though it's not really solved. I can't find any other user updating the same document, but that -2038 errors still pop up.
    Currently I'm using John's approach to retry whenever I got -2038. As long as it works and everybody's happy I guess...
    Thanks everybody.

  • Error while updating PO - 'This document is locked by another user. Please

    All,
    While updating the PO through API (Oracle Version - 11i) we are getting the error message 'This document is locked by another user. Please try again later.' intermittently.
    We are using below API to update the PO through interface program.
    po_change_api1_s.update_po
    (x_po_number => <PO_NUMBER>,
    x_release_number => NULL,
    x_revision_number => v_revision_num,
    x_line_number => v_line_num,
    x_shipment_number => v_shipment_num,
    new_quantity => l_upd_price,
    new_price => NULL,
    new_promised_date => NULL,
    launch_approvals_flag => 'Y',
    update_source => NULL,
    VERSION => '1.0',
    x_override_date => SYSDATE,
    x_api_errors => v_api_errors,
    p_buyer_name => NULL
    Client is very keen to know the root cause of the error message, Does any has any idea ? Our concurrent program has been configured incompatibility, so one program will at a given time.
    It would be great if anyone can give me some valuable inputs to debug this error message.
    Thanks,

    Hello,
    I am also facing same issue. In my code I am updating PO lines using Update_PO API. Whenever I am trying to Update 2 Lines on same PO. One get successfully update and for second line getting same error 'This document is locked by another user.'
    Please help me for this..
    Thanks in advance.
    Thanks
    Ravi Raj.

  • Project Locked by another user

    Ok, I kind of broke my MacBook Pro and had to buy another one. I took the HDD out of my old MacBook and connected it to my new MacBook through a SATA to USB converter. I am trying to get my iMovie projects off the old drive but it tells me that the project is locked by another user, the username that I had on my old MacBook. I have tried everything to get it open including copying it to the shared folder, taking ownership, and changing permissions and no luck. Any ideas short of swapping the HDDs.

    Needed to delete a file within the project called "Project.lock"

  • When opening elements 12, catalog is locked by another user

    When opening Elements 12, I get a message that catalog is locked by another user. No other applicatrions are open and computer was restarted

    Yes, I've seen this happen when the form contains a multi-line text field. What happens is that applications generated with the Web PL/SQL generator do optimistic locking by saving a copy of the original contents of each field in hidden fields. When you save the form, it calls the lck procedure in the TAPI, and passes the data from the hidden fields. In theory, if no-one has changed the data in the database since you first saw the form, the data in the hidden fields will match the current data in the database. This works fine for data that has no linefeeds or carriage returns. Unfortunately, if you have a long text field that may contain linefeeds or carriage returns, the browser may have changed the whitespace in the hidden field so that it no longer matches what is currently in the database.
    My current work-around is to do a post-generation change to the TAPI's lck procedure, so that it replaces all whitespace characters (tab, lf, cr, etc.) with spaces, and changes multiple spaces to single spaces in both the input data and the data from the database, so that they will only fail to match if the actual readable data has changed. Yes, post-generation changes are a pain, because you have to remember to do them EVERY time you generate - I usually put a reminder in the Comments on the item.
    Unfortunately, Oracle is not going to fix this because Designer is a "mature" product. I'm thinking of writing my own TAPI generator and my own Web PL/SQL generator that uses SCN (system change number) for its optimistic locking.

  • File locked by "another user"

    Hi,
    I am supporting a small office with 8x Windows 7 Pro 64x machines running Office 2007. They have a 2008 R2 DC which is also file server.
    Recently we started getting the message that files are locked by "another user". This does not happen all the time and the files are not in use by anyone when it occurs. If a file is used by someone else it gives the user name in the error message.
    They can try opening the file one moment and it fails, try again and it works fine. Sometimes it takes repeated tries or they have to open the file from within Excel (they usually just double click the file to open). I'm not sure if it happens with Word as
    well, as they are a quite Excel heavy office.
    I did some investigation online and a lot of the threats I found were related to Windows Defender - which my client was using. So I got rid of that and installed McAfee, which I liked much better anyway. Unfortunately that did not help and my client reports
    that the incidences of locked files are getting more and more, to the point where they are quite annoyed.
    In all honesty, I don't know where to start to get on top of this thing and would appreciate some guidance ;)
    Thanks!
    Maike
    Here a screenshot I got, a little small - sorry!

    Hi Maike,
    Check if the following information would help:
    There is a public blog on file locking issues (http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2012/05/14/the-definitive-locked-file-post.aspx).
    I would suggest the following:
    If you are seeing problems where the file is locked when double clicking from Windows Explorer, but the files open up correctly when opened in Excel or Word, do the following:
    Turn off the Preview Pane, Details Pane and pop ups that show information about file and desktop items
    This is a problem that has been reported to affect Windows 7 clients only, not Windows XP. The problem here may have something to do with the Windows Explorer in Windows 7. We are currently investigating this further and will post more information as it is
    available.
    In a Windows Explorer window, do the following:
    1. Right click on the Start Button.
    2. Click 'Open Windows Explorer'.
    3. At the top left click Organize > Layout
    4. Uncheck Details Pane and Preview Pane.
    5. On a Windows menu, click on Tools > Folder Options. In the box that opens up, click on the View tab. Scroll down the list to“Show pop-up description for folder and desktop items” and clear the checkbox and then click OK.
    If you are seeing issues where the wrong user name is showing up, there is a known bug on that and a fix:
    In cases where the wrong user name is displayed in the file lock dialog
    Sometimes where it says 'another user' it has the name of someone that didn't open the file or it has no name at all. Just a big ' ' where a name ought to be. Fear not, there is a fix for this problem. The flavor depends on
    whether you have Excel 2010 or Excel 2007. The below KB Articles contain hotfixes that address several issues, not just the file locked issue. But in the dialog of the article you will see this as one of the problem descriptions:
    Assume that you have an .xls file that is protected by Information Rights Management (IRM) on a network share. When you open the file in Excel 2007, a File In Use dialog box appears. However, the dialog box does not display the
    correct name of the user who locked the file. Therefore, you cannot edit the file.
    Understand that these fixes don't make the File in Use dialog go away, they just correct the problem of showing bogus user name information on the dialog itself.
    Excel 2007 -
    http://support.microsoft.com/kb/2598133
    Excel 2010 -
    http://support.microsoft.com/kb/2598143
    Will Buffington
    Microsoft Excel Support
    Max Meng
    TechNet Community Support

  • Forms: avoiding "record changed by another user"

    I have a form with a DB block. There is also a DB trigger on the same table, so when an update is performed in the form, the BEFORE UPDATE trigger updates the same row. Of course, when I try to change the same record again, I get "record changed by another user". I know that there is a property somewhere in Forms that will re-synchronise the Form state with the DB state, but I can't find it in the online docs.
    Can anyone tell me where to find this property, or what buil-tin to call (if appropriate)?

    Hi Chris.
    There is no build-in or property do this. You have to select the current data from the database, because the data in your form is not up-to-date.
    So what do you have to do.
    If your form do not manipulate the fields that the DB-trigger manipulate, simply remove the fields from your form.
    Otherwise, if you need the field in your form you must get the newest value from the DB, because it has changed. It make sence.
    BR Claus T. Rasmussen
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chris Webster:
    I have a form with a DB block. There is also a DB trigger on the same table, so when an update is performed in the form, the BEFORE UPDATE trigger updates the same row. Of course, when I try to change the same record again, I get "record changed by another user". I know that there is a property somewhere in Forms that will re-synchronise the Form state with the DB state, but I can't find it in the online docs.
    Can anyone tell me where to find this property, or what buil-tin to call (if appropriate)?<HR></BLOCKQUOTE>
    null

  • How to avoid: Material data locked by another user

    Hi,
    'Material data locked by another user'
    We want to avoid this kind of situation  so that two different users can do the transactions on same material at same time.
    Regards,

    hi,
    As per SAP std. configuration its not possible...And if we the reason...then it good for a user...
    so, that once the user 1's work is not done fully user 2 can't work untill then and by this we avoid making of extra GR/IR or any of the duplicate documents...
    Regards
    Priyanka.P

  • IDVD project locked by another user

    Hi all!
    I have recently changed the hard drive of my iBook.
    All projects were on an external firewire drive.
    After installing the system, i tried to reopen one of my project, and get the message (translated from french) :
    "Project locked by another user
    The project xyz was locked by the user Phil (501) + time and date of the probable last save". It must be refering to the user of my old system.
    How do i get to reopen this project?
    OK sorry I have found the answer : needed to delete a file called project.lock and i was up and running

    Needed to delete a file within the project called "Project.lock"

  • Desktop Administrator Locked by another user

    Lately I have been having a problem making changes to workflow on my primary UCCX 7.0(1)SR3 server. I open desktop administrator and click on "Side A", then login to the desktop administrator site, but each time I get a popup saying that CDA is locked by another user. Am I doing something wrong?

    Hi,
    There is a bug opened for this but we are still trying to get a clean set of logs to provide to the development team for root cause.
    If the problem is still happening, can you please open a TAC case and complete the following:
    1. Se the WebAdmin debug level to DEBUG and set the files to 10
    2. Set the LRMServer debug level to TRACE and set the files to 10
    Try to login to the WebAdmin and get the message that another user is logged in. Wait 15 minutes. Try to navigate to another page like the Enterprise Data Fields page and see if the 'Save' button is activated or if you still get that message.
    Collect the following:
    1. WebAdmin*.dbg from C:\Program Files\Cisco\Desktop\log
    2. LRMServer*.dbg from the same location
    3. WebAdmin*.dbg from C:\Program Files\wfavvid\tomcat_appadmin\logs
    Turn the Threshold=OFF for the LRMServer after the test.

  • Record locks created when user closes the Browser and not the Web Form

    Hi. We sometimes encounter the issue where a user updates a record, locking the record on the table, but then they unexpectedly closes the browser without saving by clicking the X in the upper-right of the browser window. Then when another user comes along and attempts to edit that record they get the message Unable to Reserve Record. The orphaned record lock eventually does seem to clear itself out, but that can often take 15-20 minutes.
    Is there any way to speed this up? Or to pragmatically keep this from occurring? Either on the database side or with some code in a particular application?
    Please let me know your thoughts. Thanks in advance.

    If a user closes the browser window the forms runtime on the application server holding the locks is in most cases still up and running. The FORMS_TIMEOUT controls on how long a forms runtime on the server is up and running without the client applet not sending a heartbeat (See MOS note 549735.1). By default this is 15 minutes which would explain your locks being held 15 minutes.
    You could decrease the FORMS_TIMEOUT in the default.env, so the forms runtimes get cleaned earlier and thus the locks get released earlier.
    Note that if you have blocking client_hostcalls with webutil this might be a problem, as it prevents the forms applet from sending the heartbeat and after the FORMS_TIMEOUT passed while the forms applet is blocked the forms runtime on the server gets closed.
    cheers

  • Problem with file locked by another user

    I have a problem with a user on Windows 7 in my network when accessing a single .xlsx file. When Jane Smith opens said file, she gets a message that the file is locked by Jane Smith but she has checked and it was in use by another user, Roger Smith.
    This happened over a weeks time and is not a one-off situation. Researching online, I tried one suggestion by going to Roger Smith's computer and into the registry under HKEY CURRENT USER, navigated to "Software\Microsoft\Office\15.0\Common\UserInfo",
    expecting to see Jane Smiths name and initials. Nope, that wasn't the problem. I went ahead and deleted extra profiles on the computer and ran a repair on Roger Smiths Office 2013.
    It was okay for a half a day then towards the end of the day, Jane Smith calls back to say again the same file is locked by Jane Smith yet this time Diana Smith had the file open.
    So, the file is locked but why is Excel not reporting the correct user? What can I do to address this?

    These all reference Office 2007 and 2010. As far as you know, all of these fixes still apply to Office 2013?
    example: they give two updates to download.
    Excel 2007 - http://support.microsoft.com/kb/2598133
    Excel 2010 - http://support.microsoft.com/kb/2598143
    No option for 2013.
    but this could be useful no matter the version.
    In the Shared folder or the File Server;
    Open the folder where the Document is located.
    Click Tools=>Folder Options
    Click the View tab
    Scoll down to Advanced Settings>Hidden files and folders
    Select Show hidden files and folders and Unselect Hide protected operating system files
    Look for a temp lock file and delete it. It should look something like
    ~$filename.xlsx  or whatever file extension the it was saved in.
    (In my case, this file had become corrupt and was stuck displaying an earlier modify date from a few days ago..)

  • RSPC chain locked by another user

    hi folks - is there a way to get into an RSPC chain (display mode is fine - that's all i need) when another user already has that particular chain open in RSPC/RSPC1?
    if someone already has the chain open i get a msg saying:
    Object requested is currently locked by user ...
    ==
    thanks

    Hi,
    When another user in  the same process chain , you cant diplay the process chain . but you can get the details of process chain varaints and logs through function modules.
    But we cant see the process chain when another user in same process chain , if you try to see the same process chain you will get message like ' Locked by user'. Regarding process chain job count , variant , log id and  Ptypees details we can see through Function modules.
    Regards,.
    Krishna Reddy  Yakkanti

  • Domain locked by another user

    hi
    when i am trying to deploy my application in 11g weblogic server, i got a message as fallows
    Fusion Middleware Control cannot proceed with this deployment, because the domain configuration has been locked by another administration tool or user. In most cases, you (or the other user) can unlock the domain configuration using the Change Center in the WebLogic Administration Console for this domain.
    and i unable to continue furthure
    can any one tell how to unlock the user in WebLogic Administration Console
    thanks in advance
    GiriBabu N

    open the admin console: http://localhost:7001/console/
    then choose Preferences link(you will find it beside logout) then at the bottom of the page you will find :Automatically Acquire Lock and Activate Changes uncheck
    it (or check it if it is already unchecked) then save, then you will find button called: release configuration click on it and test again

  • Regardig material locking by another user

    Dear Friend,
    when i have done production entry by mfbf at that time there is another user for same material then there is error shown that material locked by that user
    is there is any customising to eliminate this type of situation
    at time of entry also to reduce time entry time
    i know SM12 but my user have not authorisation of that t/code
    thanks in advance
    regards,
    nil

    Dear,
    Checck the settings in transaction OMT0.
    This controls the lock used on materials. It can sometimes be set to be TOO safe and therefore lock everyone when it is not necessary.
    There are different ways to do this.
    1. First request user to logoff and try login again.
    2. Check SM04 list and run session for that user.
    3. Try to delete lock , SM12 transaction.
    OR,
    Go to SM50, Select the process.
    Go to menu Program/Session>Program>Cancel.
    Regards,
    R.Brahmankar

Maybe you are looking for