WLS 12.1.2.0.0 : Another user (admin2) already owns the lock.

hi
Please consider a WebLogic Server 12.1.2.0.0 that is NOT in Production Mode (so in Development Mode).
When is a button like "Take Lock & Edit" (ever) to be expected?
Or messages like :
- "admin2 is currently making changes."
- "Another user (admin2) already owns the lock. You will need to either wait for the lock to be released, or take the lock."
If both users "admin1" and "admin2" are in the "Administrators" group,
the following scenario (sc1) seems to be reproducible:
- (sc1-a) start a first browser session and login on the WLS admin-server console using "admin1"
- (sc1-b) start a second browser session and login on the WLS admin-server console using "admin2"
- (sc1-c) in the second browser session, click Deployments
- (sc1-d) in the first browser session, click Deployments and see the "Take Lock & Edit" button and messages
-- "admin2 is currently making changes."
-- "Another user (admin2) already owns the lock. You will need to either wait for the lock to be released, or take the lock."
The scenario (sc1) is included in the screencast
at http://screencast.com/t/Yw3k3EI1
- (q1) Is the lock message in scenario (sc1) intended behavior?
It could be that these "locks" are causing our Jenkins jobs (doing an Ant wldeploy task) to fail when someone is "browsing" using the WebLogic Server console, with
weblogic.management.provider.EditWaitTimedOutException: Waited 0 milliseconds
    at weblogic.management.provider.internal.EditLockManager.getEditLock(EditLockManager.java:259)
    at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:266)
    at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:297)
    at weblogic.deploy.internal.adminserver.EditAccessHelper.startEditSession(EditAccessHelper.java:72)
    at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:236)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:846)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:840)
    at weblogic.management.deploy.internal.DeployerRuntimeImpl.deploy(DeployerRuntimeImpl.java:418)
many thanks
Jan Vervecken

The answer to this "(q1) Is the lock message in scenario (sc1) intended behavior?" you already know. Just for good measure see the documentation on managing locks (5 Managing a Domain's Configuration with JMX). Note that in development mode the locking in the admin console is automatic, you can change this in Admin Console - click the preferences link, User Preferences tab, here you can change the 'Automatically Acquire Lock and Activate Changes' option.
WebLogic provides a ConfigurationManagerMBean (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/EditServiceMBean.html?skipReload=true#ConfigurationManager) that provides methods for safely starting an edit session. You can use haveUnactivatedChanges (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/ConfigurationManagerMBean.html?skipReload=true#haveUnactivatedChanges) to check if there are any pending changes (this gives you an indication if someone that has taken a lock is doing some actual changes to the system, such that the ANT job can decide not to start an edit session). If there is an edit session going on and there are no pending changes you can call undoUnactivatedChanges (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/ConfigurationManagerMBean.html?skipReload=true#undoUnactivatedChanges) - now the ANT job can start a new edit session.
The following example shows the use of the ConfigurationManager (in Java with JMX)
                        Object[] unactivatedChanges = (Object[]) editConnection.getAttribute(configManager, "UnactivatedChanges");
                        if (unactivatedChanges.length > 0) {
                            System.out.println("ACTIVATING CHANGES");
                            editConnection.invoke(configManager, "activate",
                                    new Object[] { new Long(120000) }, new String[] { "java.lang.Long" });
                        } else {
                            System.out.println("CANCEL EDIT SESSION");
                            editConnection.invoke(configManager, "cancelEdit", null, null);
More information can be found on using the EditService and ConfigurationManager can be found here: Middleware Snippets: Automatic Scaling an Application Using WebLogic (and the references therein).

Similar Messages

  • 'File in Use' message is received when one user is in the report and another user tries to open the Excel template

    ‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?

    Hi Febin,
    In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
    edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
    can then enter the information for their projects in the same workbook.
    Regarding how to do this,
     the following article can be referred to reference.
    Use a shared workbook to collaborate
    http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Best regards,
    Frank Shen

  • I only have one iTunes account.  The other day I made the mistake of downloading purchased songs and movies logged on another user account (Administrator) on the same computer.  How do I consolidate all my purchases in my preferred user account?

    I only have one iTunes account.  The other day I made the mistake of downloading purchased songs and movies logged on another user account (Administrator) on the same computer.  How do I consolidate all my purchases in my preferred user account?

    copy the songs that you downloaded as admin and put it somewhere you can access it from you're preferred account (usb stick / cd / shared folder / external hard drive) log into with you preferred user account and drag and drop the files on top of the itunes icon and they will be imported.
    if you have a second computer you could use home sharing to move the music from admin itunes to the second computer and from the second computer to the preferred itununes
    ps you can only connect 5 computers to you're itunes account so don't forget to de-autorise when you no-longer wand it.

  • Mail not be delived to one user, unless sent as a CC or if another user is also in the TO: Field

    Hello All,
    I have a strange issue that I hope someone has seen before. (Exchange 2003)
    I have one user that does not receive mail to her outlook or OWA box if her address is in the To: field. 
    If her address is in the CC or BCC field she receives the message.
    Additionally, She will receive the e-mail if her address is in the To: field along with another user.  
    Trouble shooting thus far:
    1.) Confirmed that Exchange message tracker is reporting successful delivery.  Yes
    2.) Confirmed that the message is not going to deleted items.  Yes
    3.) Confirmed this is also occurring in OWA. Yes
    4.) Confirmed no white or blacklists.  Yes
    5.) Confirmed Cache mode is enabled. Yes
    6.) Setup the account on new workstation and have the same issue.  Yes
    This is a very strange issue which I have not seen before.  If her name is the ONLY name in the To: field, the message reports successful, but does not show up in Outlook or OWA.  If her name is the ONLY name in the CC ot BCC field the message
    is delivered successfully. 
    If you add a second user to the To: field, the message is successful.
    So to sum this up; If someone addresses a message just to her, it will report successful but will not be delivered.
    If you add a second user to the To field; The message is delivered successfully.  
    Any help would be greatly appreciated on this one.
    Thanks in advance!
    Greg

    Hi,
    Did you get any NDR message when her name is the only name in the To field? 
    Additionally, I recommend you check if any transport rules are applied to her mailbox.
    If not, you can try to move the mailbox to other database and check if the issue persist.
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Firefax hangs in remote desktop when another user logs in on the console

    When I work with remote desktop on a windows 7 pc I could always use firefox without any problem, even when someone else was logged in on the same windows 7 machine. Siince the update of firefox to version 13, ff hangs in the remote desktop session as soon as someone else logs in on the wndows 7 console.

    To be specific, this problem occurs in a multiple concurrent user configuration (=hack), where the RDC user and console users are simultaneous users. Firefox will hang, using 50% of the CPU. As soon as the RDC user walks over to the console and switches to that user the hang is released. The behavior is new to v13 and is highly reproducible.
    For more info on multiple concurrent users:
    [http://www.missingremote.com/guide/how-enable-concurrent-sessions-windows-7-service-pack-1-rtm http://www.missingremote.com/guide/how-enable-concurrent-sessions-windows-7-service-pack-1-rtm]

  • Can workbook owned by another user be deleted from the database

    Hello all,
    We are wanting to know if a workbook can be deleted from the database by someone other than the owner. We have a user that was once with the organization that created and uploaded several Discoverer reports to the database. However, they are no longer with the organization. If a change needs to be made to one of their reports, we can download a copy and modify it. However, when you upload the report and keep the same name, it creates a copy of the report in the database but now owned being by the new user. When users using Viewer retrieve a list of reports from the database, they are seing two reports with the same name in the listing, but owned by different people. We could always rename the new report. However, we would like to 'clean up' the production database by purging any obsolete or older verision reports regardless of who they are owned by.
    Thanks in advance for any input

    Hi,
    Yes we can do this, to the best of my knowledge here is my input: There are two ways to do this
    1) a) If that workbook has been shared with your id thne login as you in Discoverer Plus then open workbook and using SAVE AS and save the workbook and it wil save under your id.
    b) follow the below command to delete the workbook owned by old user
    2 )-->Login as EUL user (ex: EUL10_US) in Discoverer Administrator and export the workbook owned by the owner (no longer exist in the company: abc.workbookname) and save in your local drive
    -->Login as new user in Administrator and import the workbook from the local drive
    -->using below command delete the workbook owned by old user (*abc.workbookname*) by running at command prompt.
    dis51adm.exe /connect eul10_us/xxxxx@DBname /delete /workbook "abc.workbookname" /eul eul10_us /log C:\oracle\BIToolsHome_1\bin\Delete_wb_oatr.log
    Now you will have only one copy of the workbook in the database.
    hope this helps you.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Save As window comes up when saving a WebI document another user modified

    When trying to save a Web Intelligence document in the "Web" mode (not the java "Rich Internet Application" mode), users get a "Save As" window if another user was the last one to save the document.  The user can simply select the same location and "overwrite" the existing report.  They can also use the Rich Internet Application mode instead, since this does not have the same issue.  After that, the same user can continue to save the report as usual, until another user saves it.  The user has full control permissions to the document and to the folder.
    This doesn't seem like it would be a big deal, but most of our users access reports using hyperlinks from other websites, which opens the document directly in the web mode; and they just make simple changes like selecting a different value in an input control.  If the Save As window comes up, it takes them to their Favorites folder, and they usually don't know which public folder the report is stored in.

    I can not print anything from Firefox but on IE everything prints just fine. I happen to like Firefox a whole lot better so would appreciate a solution to my problem.

  • Sharing iPhoto with another user on my computer?

    I have iPhoto 9.5.1, and I'd like to know how I can share events, albums or just photos with another user on my computer.

    The most successful is to have the library on an external hard drive formatted Mac OS extended (journaled) with ownership ignored
    LN

  • IOS4 Update on 3GS New Restore- "iPhone (Name) is in use by another user"

    The initial problem I encountered on my 3GS to iOS4 update was I couldn't do ANYTHING that required the network, e.g. Facebook, Safari, certain apps, youtube and more. I was told by an Apple in-store rep to restore AS NEW IPHONE instead of using my backup info, so I did.
    It works almost perfectly now. However, I just attempted to make a new playlist and sync it to my iPhone and I am getting the message "iphone (Name of my iPhone) is in use by another user on this computer"
    The problem with this is that I am the ONLY user on this computer and have been since I have had it.
    My photos will sync through iPhoto but iTunes is no longer recognizing my iPhone's name or the device. I am not sure what caused this, but any help would be awesome.
    Since the new update I changed the name of my iphone but I do not see why that would be an issue.

    1. You are thread-jacking. Kangdequan has an open question and adding unrelated questions to that, will not help him at all. Kangdequan, please see below.
    2. There have been countless articles in the last few years explaining why some countries have iTunes music stores and others not. The main reason is something called copyright.
    3. There is an Apple app store in the Philippines.
    4. There are many other sources of music.
    Kandequan. It may be that something has become corrupted, but I also see a problem in that the iPhone is only supposed to sync with one computer. Trying to sync with a second one will not work.
    There are a number of things you may need to do now, but first decide which computer is to be the one that you sync with: the master, if you will.
    Whichever one you decide on, you need to make sure that all files point to that and there is a process written up by a user "wjosten".
    You may also need to follow the Apple suggestions for making iTunes recognise your device.

  • HT204053 What if I share the iPad with another user?

    How does iCloud work on the iPad if you share it with another user with their own account?

    You can create a new shared iCloud account as your primary iCloud account in Settings>iCloud, which you can use for backups, photo stream, Find My iPad and for syncing bookmarks and documents & data.  Then set up your two personal iCloud accounts as secondary accounts by going to Settings>Mail,Contacts,Calendars>tap Add Account>iCloud, and entering your separate iCloud account IDs.  Use thes secondary accounts to sync Mail & Notes, Contacts and Calendars.  This will allow you to keep your data in you secondary accounts separated rather than merged (although you will still be able to view each other's data on the shared iPad).  See this article for additional information on this: http://www.ilounge.com/index.php/articles/comments/sharing-itunes-icloud-account s-in-a-family/.

  • Error :- Another User has altered the quantity of Batch B01

    Hello Experts,
    I have created a addon through which in Sales Order while entering the quantity and pressing tab automatic Batch allocation
    is done row wise for items . This process is working fine while entering .
    But from last two days while adding the Sales order with batch allocated sap is throwing an error message that
    "Another User has altered the quantity of Batch B01 in Warehouse SYD in row - 11"
    This is not my addon error message .This error is thrown by SAP which has blocked the Sales Order Entry.
    I am confused about what to do with this .Since this problem need to be resolve urgently .
    Please help me regarding this.
    thanks ,
    Amit

    Hi Jisha,
    The problem which i was facing is not yet fully solved .
    Since in SAP 8.8 the message is much more understandable as this is happening because another user has allocated the
    batch quantity for the same item and the Batch is allocated for another user.
    If you can try creating a Item - X of Quantity - 10 into two Batches A  and B
    A- 5 Qty
    B - 5 Qty
    Then if one User say "User - A'" opens the Sales Order Form and select the Item - X  with Quantity - 5 and then select the Batch option system will automatically allocate the first Batch (A) for 5 Qty  and the Order is not yet saved.
    Same time if another user "User - B" opens a sales order and select the same Item - X with quantity - 5 and then select the
    Batch Option system will automatically allocate the first Batch (A) for 5 Qty (But actually the first user has already allocated the
    5 Qty for Batch - A ) . Then while adding the Order "User - A"  order gets allocated with Item - X 5 Qty into the Batch table.
    When the second user tries to add the order with Item -X allocated in also Batch - A system generates this message
    " Another User modified the quantity of Batch A" since this batch is already allocated by user - A.
    This was the cause for this message and still i have not found any solution for that.
    Just told the clent to reallocate the batch for the items where this message is thrown .
    Thanks & Regards,
    Amit

  • How can I screen share another users desktop on the _same_ macbook?

    Hi,
    I'm trying to login multi-user into my own Macbook.
    What I mean is, on my macbook start a session logged in as another user on my own macbook.
    Using JollysfastVNC I can do this, but its terribly slow, like unusable slow. Tried changing the color depth and everything.
    I tried both Mac and VNC authentication and VNC usally gets so slow it freezes, and Mac is very slow and unusable.
    How can I fix this?
    Running Lion on Mid-2009 Macbook Pro

    Your graphics driver's dialog repositioning option? Check that.
    Mylenium

  • CREATE/DROP synonyms in another user's schema without ANY privilege

    What's the best way to enable a user to create/drop synonyms in another user's schema without doing any of the following?:
    1) Granting CREATE/DROP ANY SYNONYM or CREATE/DROP PUBLIC SYNONYM to the synonym creator.
    2) Logging in as the user that will own the synonym to create the synonym.
    * Although option #2 might be ideal, it would require reworking a lot of code in our environment.
    I thought about creating a stored procedure in the syn-owner's schema that issues the "CREATE SYNONYM" DDL command and then granting EXECUTE on this proc to the syn-creator -- but, it's my understanding that it's best to avoid putting DDL inside stored code.
    Any ideas?
    Oracle version is 10.2.0.4

    DBA should recognize"should" is the operative word here :)
    One clarification: the user from which the DBA's are planning to revoke the "ANY" privs is an account used internally by one of our ETL tools -- not a developer account. In fact, only the ETL tool itself and the DBA's can log into the account in TST/PRD (developers can log in with it in DEV). Even so, the DBA's still want to revoke "ANY" privs from ALL non-DBA accounts in ALL databases (including DEV). I kind of think that this is overkill, but then again, I don't make the rules here!
    Anyhow, it seems that what we need here is the insight of a political scientist rather than that of a DBA. (not that your perspective is not valued!!)
    Seems that I'll be going back to the drawing board...
    Thanks for your help.

  • How do I resolve: You are not permitted to open this document.  It may be assigned to another user."

    I am the only user on a computer, and have ordered two codes on line, and used them for a long time. Recently redid hard drive, and now I cannot open those two files only. I get the message:  "You are nbot permitted to open this document.  It may be assigned to another user."  I am the only user, and maybe the name of the computer is different. How can I resolve this by accessing what permission  and what user it is talking about.
    Thanks to anyone who may be able to assist.
    Gary

    Thanks for your answer, however the user currently have the next configuration to sales documents flow:
    Sales - A/R     Various Authorizations
    Sales Quotation     Read-Only
    Sales Order     Read-Only
    Purchase Order Confirmation     Read-Only
    Delivery     Read-Only
    Return     Full Authorization
    A/R Down Payment Invoice     Full Authorization
    A/R Invoice     Full Authorization
    A/R Invoice + Payment     Full Authorization
    A/R Credit Memo     Full Authorization
    A/R Reserve Invoice     Full Authorization
    Document Generation Wizard     Full Authorization
    Document Draft     Read-Only
    Document Printing     Full Authorization
    Dunning Wizard     No Authorization
    Execute a dunning run     No Authorization
    Sales Reports     Full Authorization
    Sales Analysis     Full Authorization
    Backorder Report - Selection Criteria     Full Authorization
    Checking the configuration, this user can create for example AR invoices, but could not see previous records and neither the created by him. Using the Open Item list, the user can see the documents but can not open it. In the other hand the system has not activated the data onwership function.
    Regards,
    Manuel

  • Index owned by another user

    hi all,
    running a package.procedure from apex outputs:
    ORA-13199: Index "INDEX_NAME" is owned by another user.
    apex is using the owner schema.
    any ideas / questions are very welcome.
    ph

    Other than the error message, this is an information-free zone. Where is the information requested in the FAQ and forum sticky threads?
    - APEX version?
    - DB version and edition?
    - Web server architecture (EPG, OHS or APEX listener)?
    - Browser(s) used?
    >
    running a package.procedure from apex outputs:
    ORA-13199: Index "INDEX_NAME" is owned by another user.
    apex is using the owner schema.
    >
    What "package.procedure"?
    What "apex outputs"?
    "apex is using the owner schema": which schema?
    Can you replicate the problem on apex.oracle.com?
    Generally the first thing to do on encountering an error message is to look it up in the documentation, where we find:
    >
    ORA-13199: string
    Cause: This is an internal error.
    Action: Contact Oracle Support Services.
    >
    Which is an unambiguous indication of the required course of action.
    Additionally, searching the OTN forums and the web is might prove informative: if this has already been done and not proved helpful, then it would be helpful to say so.
    The better a question is framed, the more likely you are to receive a rapid and helpful response.

Maybe you are looking for

  • Dynex mini-DVI to S-video adapter

    I bought a Dynex mini-DVI to S-video adapter with my Macbook and I just tried to use it to plug into my projector via S-video. The resolution of my screen dropped to 800x600 but otherwise nothing happened. I even followed the Max OS X help informatio

  • Ship to party address no change in sales order after delivery creation

    hi We have a below requirement After creation of delivery document,we should not be able to go and change ship to party in va02 of sales order.. Tried using partner functions config,but it disables ship to party change completely... But we want to di

  • Resolution Issues

    There seems to be a problem with the display resolution with a G4 running OS 10.3.9. Everything appears to big on m screen, but there's only one resolution available in the Display area of system preferences. Is there anything I can do to change this

  • Question about page sizes

    I received a PDF file that should have letter sized pages 8.5 inches by 11 inches. The page size in the lower left hand corner says that the pages are 35.42 inches by 45.69 inches or approximately 4 times the normal size. The file is readable at 31%,

  • SO Load Balancing Question

    Hi all, I have a service object (SO1) which has been set to Load Balancing. This service object has an attribute which serves as a number allocator (NA1). This NA1 provides a unique number across the whole application for each of the record that requ