Lock Failed Problem
Hi!
The system prompts the following problem when I try to modify an Entity with regard to its attributes :
"CDI 21602 : Lock Failed - Do you want to re-read the row?"
This error has something to do with the repository. But I tried all possible ways in vain.
Thanks.
PS: Kindly also mark a copy to [email protected]
null
Dear All,
Please advise, if you have this problem before.
Thank You and Best Regards
Fernand
Similar Messages
-
Error: xcb_xlib_unlock:Assertion 'c- xlib.lock' failed
Please help me to resolve the following error.
Error: xcb_xlib_unlock:Assertion 'c->xlib.lock' failed
Our application has the reports module, where we are using the bar charts
to display the reports. For the charts we are using awt packages and jfreechart
libraries to display the reports.
When we deployed the application on fedora8 on any of the instance,when we try to click the link of the reports, the above error is occured and we are not able to display the reports. And also the server is getting down when this lock is obtained.
This is very serious problem we feel. Please provide us the solution for the problem.This error affects MANY programs which use java, including those that use a java environment for installation. OpenOffice is a prime example. Apparently this error is an internal bug or interaction between java and xcb and will never be patched in java 1.6.
I tried the various suggested fixes but none worked. The only one which works (yesterday!) is to upgrade to the latest build (b24) of the java 1.7 release candidate jdk.
I first attempted to install only the jre (28MB) but unfortunately, it uses the existing java 1.6 environment and so fails with the same error. The jdk (58MB) installed from the 'self-installing' Fedora bin file without problems and I was then able to install OpenOffice 2.3.1 without difficulty. This is on Fedora 8.
The page I found was: http://download.java.net/jdk7
Hope this helps.
Geoff Newbury -
When I try to use the Java plugin in Firefox, I get the following error:
java_vm: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c._xlib.lock' failed.
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process died due to signal 6
Could not start JavaVM!
VM did not start up properly
Trying to start the Control Panel also makes it yell about the failed assertion.
I've tried using different versions of Java (1.5.0_01 and 1.4.2_13), and recompiling xcb, but nothing changes. This is pretty far out of my league. Any help appreciated... thanks in advance.I entered the bug a few days before Christmas. I haven't received a reply yet, but it's still within the three-week reply period... it's got about a week left.
The Gentoo blog you linked to had a comment mentioning a bug in libXi being the problem, but grabbing the latest version didn't work for me. Maybe it's time to take a pencil and start pointing at random libraries to try upgrading. -
How do I resolve LOCKED DISKS problem ? NO ACCESS ANYMORE !
Hello everybody,
I've looked carefully where to post this topic,
and I hope it's the right place here
(I have already been warned not to post the same questions in different places).
I have actually 2 internal volumes locked, 2 external Firewire volumes locked and 2 USB external volumes locked. I'm talking about *5,7 To* with *NO ACCESS* anymore.
It happened suddenly, and I was working on Snow Leopard 10.6.3 internal drive. This volume is the *only one* that has NOT been locked, but I lost a lot of applications, documents and so on on it.
Each of the locked volumes I am talking about shows,
in *Sharing & Permissions* (Get Info window),
the same Privileges :
— everyone : Custom
— admin : Custom
— olcha (Me) : Custom
— staff : Custom
— everyone (again) : Custom
You'll notice that "System" is not there (should be there with R+W),
and "admin" should have also R+W privilege.
I don't know why "staff" is here (perhaps, one day, somebody will explain to me the difference between : wheel, staff and admin).
I also don't know why "everyone" is there two times.
If I unlock the padlock (bottom right) with my password, I can only
check or uncheck the "Ignore ownership on this volume" square (bottom left).
Doing this (apparently) offers *no interest at all* to solve the problem
(and what does this function produce, when activated or not ?).
I can't *absolutely not* :
• Change *any privilege* of any of the 5 items ;
• Remove (with "-") any of these items ;
• Add a line (for example "System" or "wheel", why not ?)
but nothing new is shown after "+" making.
• The wheel (on the right of "+" and "-") shows only "revert changes" in grey.
I phoned immediately last thursday Apple Assistance,
and I am in contact with a Level 2 Apple Adviser who gave me his e-mail.
I sent him two messages, but he replied me that perhaps MONDAY
he could find the time to call me.
Now, first, please tell me if you have any idea or solution !
Thank you very much in advance.
Secondly, I have reflected on the solving,
and would like to know what you think about what follows :
You know that, in Disk Utility, you can erase a disk or partition.
If, in "Security Options…", I choose "Don't Erase Data", and then "Erase…" :
1) Sharing and Permissions will be changed and become (reset to) correct ;
2) It's said, in "Security Options…",
that "many commonly available disk recovery applications can restore that data".
I would be very glad that you indicate me :
1) the best application to use for that recovery ;
2) I already own "Drive Genius 3.0", "Data Rescue 3.0.2" and
(I think it's the best after a try on an internal 30 Go partition)
"Stellar Phoenix Macintosh Data Recovery".
Thank you in advance for your answers and advices,
With my kind regards
Olivier Herrbach
[email protected]
PS : Dear Forum Webmaster,
I would like to know :
1) if I posted this topic in the right place ;
2) if you allow me to post it elsewhere (and in this case, where ?) ;
3) is it possible to paste images in messages,
and, if yes, which format is needed (TIFF, png, jpeg …)
Thank you very much
Olivier HerrbachDear ChazBowie,
Here is the solution I've found for *LOCKED DISKS* problem.
I'll respond the shorter I can, avoiding for the moment to talk about the complicated solutions
that Apple gave to me, which involved volume by volume (only one each time) intervention, and were working by, each time, entering one line, password, then another line in Terminal. I will communicate these instructions later, but they do not need to be publicated here with urgence.
I found two little free softwares that can modify *ALL Privileges* in Sharing and Permissions, *on ANYTHING*. You will have to be careful using them, as they even allow to act as "Root" administrator.
I'd also like everyone to *donate anything* to these helpful developers, and I'd be very pleased to have *your feedback and results*.
••• 1) — *BatChmod 1.6.2* (162), written by a compatriot, Renaud Boisjoly.
E-mail (if you have doubts or questions) : [email protected]
Free software downloading site : *http://www.macchampion.com/arbysoft*
(excuse me, but I don't know how to make a link here).
••• 2) — *FileXaminer 2.7*, recommended by Renaud himself.
Dear ChazBowie,
Here is the solution I've found for *LOCKED DISKS* problem.
I'll respond the shorter I can, avoiding for the moment to talk about the complicated solutions
that Apple gave to me, which involved volume by volume (only one each time) intervention, and were working by, each time, entering one line, password, then another line in Terminal. I will communicate these instructions later, but they do not need to be publicated here with urgence.
I found two little free softwares that can modify *ALL Privileges* in Sharing and Permissions, *on ANYTHING*. You will have to be careful using them, as they even allow to act as "Root" administrator.
I'd also like everyone to *donate anything* to these helpful developers, and I'd be very pleased to have *your feedback and results*.
••• 1) — *BatChmod 1.6.2* (162), written by a compatriot, Renaud Boisjoly.
E-mail (if you have doubts or questions) : [email protected]
Free software downloading site : Gideon Softworks : *http://www.gideonsoftworks.com/*
I won't copy here the texts that are on both sites, but it's very instructive.
Remember that the applications don't only work on files and folders,
*but also on disks attributes*.
You'll also have some work to do (I don't remember, perhaps not), by going in the Get Info windows
and changing privileges to the correct ones, that means you must know
(I'm not sure, verify please) what privileges are to be set for a volume
(YOU WILL HAVE ACCESS TO THEM, AND CHANGES YOU MAKE WON'T BE RESET TO "CUSTOM").
Does anybody know something about the "Ignore ownership on this volume" checkbox ?
*I always uncheck it*.
I would also like very much to know the differences between the two-headed iconed groups :
"staff", "wheel" and "admin", and IN THE END know *WHERE are the rules* you have to observe
when doing changes in privileges (for example, I don't want to give my password to copy something in Users folder, nor "MyName" folder. I've changed that without, I hope, having created any dysfunction).
Please tell me if you know anything about these 2 subjects above.
I'm very glad if my informations have been useful/helpful.
With my kind regards,
Olivier Herrbach -
Row lock contention problem on Inventory Management
Hi
My client is product based company and have e-Commerce (online Sale Order) application using Oracle database 10.2.0.5 & Web application deployed on WLS. Client have ~ 90 Warehouse country wide and ~ 200 Products (Items). Each product stock for each warehouse is maintained in Inventory Table (INV_BALANCE) which get updated for each order and their sale's products. We are using NO WAIT function to acquire lock on row to update stock balance. Last few months, client business is growing very fast and during Promotional Events (EXPO), they have sales of ~ 75K orders (~ 250K Items) within 2-3 days which start causing row lock contention problem on INV_BALANCE table. We are seeing lots of "Row Lock Wait" and "enq: TX - row lock contention" event which cause ORA-00060: Deadlock detected and we need to eventually clear blocking sessions or everything just choked.
select statistic_name,value from sys.v_$segment_statistics where object_name = 'INV_BALANCE'
STATISTIC_NAME VALUE
logical reads 12423072
buffer busy waits 3895
db block changes 3516768
physical reads 957
physical writes 12197
row lock waits 49909
space used -52921
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-00880017-00002584 321 1675 X 110 1445 X
TX-00b60008-00000741 110 1445 X 337 2158 X
TX-0148000b-0000009e 337 2158 X 378 1525 X
TX-01d50015-0000006f 378 1525 X 363 1842 X
TX-02290012-00000070 363 1842 X 267 1798 X
TX-024a0026-0000006e 267 1798 X 364 2084 X
TX-020a0004-0000006f 364 2084 X 135 2113 X
TX-01dc001f-00000070 135 2113 X 129 1586 X
session 1675: DID 0001-0141-000001CA session 1445: DID 0001-006E-00000202
session 1445: DID 0001-006E-00000202 session 2158: DID 0001-0151-0000026B
session 2158: DID 0001-0151-0000026B session 1525: DID 0001-017A-00000167
session 1525: DID 0001-017A-00000167 session 1842: DID 0001-016B-000002B4
session 1842: DID 0001-016B-000002B4 session 1798: DID 0001-010B-000001F1
Rows waited on:
Session 1445: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rMABY
(dictionary objn - 110094, file - 7, block - 1030860, slot - 88)
Session 2158: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rMACD
(dictionary objn - 110094, file - 7, block - 1030860, slot - 131)
Session 1525: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rOAB2
(dictionary objn - 110094, file - 7, block - 1030862, slot - 118)
Information on the OTHER waiting sessions:
Session 1445:
sid: 1445 ser: 37 audsid: 38316795 user: 69/<none>
program: JDBC Thin Client
application name: JDBC Thin Client, hash value=2546894660
Current SQL Statement:
SELECT ROWID, NVL(QTY_PEND,0)+NVL(:B3 ,0) FROM INV_BALANCE WHERE WHS_ID = :B2 AND STOCK_ID = :B1 FOR UPDATE OF QTY_PEND WAIT 10
Please help me on following
Q1: How can we reduce the "row lock Contention" on INV_BALANCE, all possible ways & best practices?
Q2: How can we change the design to not have "row lock Contention" at all?
Appreciate your help
Thanks
Amit Garg
www.otnblogs.comHi Amit!
I saw you are using FOR UPDATE in your query.
If you want reduce row locks, then you not must use FOR UPDATE.
As you know, FOR UPDATE is locking rows.
Regards
Mahir M. Quluzade -
Apart from the lock button problem in iphone 5 the display brightness suddenly goes blank and becomes normal after locking and unlocking the iphone. The Apple service centre in India is denying to service the iphone as it was purchase in USA even though the iphone is in warranty.
iPhones do not have an international warranty. Warranty is valid only for the country of purchase. This is most likely because different countries require different iPhone models. Not reasonable to expect all countries to maintain stock for all models.
-
Hello,
after upgrading the 2 servers in server pool from 2.1.2 to 2.1.5 using yum, all vms throw:
Error: Acquire running lock failed: 256
when trying to start them. HA-infrastructure-check works well from OVMM 2.1.2 (not upgraded yet) and if we disable HA for the server pool, the vms come up. Shared storage is on NFS
We have the following in /var/log/xen/xend.log:
[2009-06-26 14:52:21 2649] DEBUG (XendDomainInfo:87) XendDomainInfo.create(['vm', ['name', '470_vm215'], ['memory', '1024'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['uuid', '14205f6a-12cc-42da-a32e-06f30b6288d4'], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', '-q'], ['image', ['linux']], ['device', ['vbd', ['uname', 'file:/OVS/running_pool/470_vm215/system.img'], ['dev', 'sda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3E:32:CD:FC'], ['type', 'netfront']]], ['device', ['vkbd']], ['device', ['vfb', ['vncunused', '1'], ['vncpasswd', 'XXXXXXXX'], ['vnclisten', '0.0.0.0'], ['type', 'vnc'], ['display', 'localhost:11.0'], ['xauthority', '/root/.Xauthority']]]])
[2009-06-26 14:52:21 2649] ERROR (XendDomainInfo:452) VM start failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 430, in start
self.acquire_running_lock();
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2891, in acquire_running_lock
raise XendError('Acquire running lock failed: %s' % status)
XendError: Acquire running lock failed: 256
[2009-06-26 14:52:21 2649] DEBUG (XendDomainInfo:1881) XendDomainInfo.destroy: domid=None
[2009-06-26 14:52:21 2649] ERROR (XendDomainInfo:92) Domain construction failed
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 90, in create
vm.start()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 430, in start
self.acquire_running_lock();
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2891, in acquire_running_lock
raise XendError('Acquire running lock failed: %s' % status)
XendError: Acquire running lock failed: 256
[2009-06-26 14:52:21 2649] DEBUG (XendDomainInfo:1881) XendDomainInfo.destroy: domid=None
and in /var/log/xen/xend-debug.log:
ha_set_dlm_lock ['14205f6a-12cc-42da-a32e-06f30b6288d4', '470_vm215'] =>
failed: <Exception: create lock('/dlm/ovm/4205f6a12cc42daa32e06f30b6288d4') failed. <OSError: [Errno 26] Text file busy: '/dlm/ovm/4205f6a12cc42daa32e06f30b6288d4'>
StackTrace:
File "/opt/ovs-agent-2.2/OVSXHA.py", line 371, in ha_set_dlm_lock
fd = os.open(lock_path, os.O_CREAT | os.O_NONBLOCK)
>
StackTrace:
File "/opt/ovs-agent-2.2/OVSXHA.py", line 379, in ha_set_dlm_lock
raise Exception("create lock('%s') failed. %s" % (lock_path, errmsg))
Any ideas?
Thanks, Olafsuk wrote:
1. To delete the database, which database are you referring to? I'm referring to the ovs-agent database:
1. Stop the agent: # /etc/init.d/ovs-agent stop 2. Delete the database: # rm -f /etc/ovs-agent/db 3. Start the agent: # /etc/init.d/ovs-agent start If you have Oracle VM Manager v2.1.5 (which you should have upgraded before your servers, btw), you can now try using the "Restore" option for the server pool. Click on the Server Pool in the manager and hit "Restore" -- this will send the configuration data back down to the agents in the pool. Alternatively, you may need to de-register the servers in your pool and re-register them.
2. To re-imported the guests, how?In Oracle VM Manager -- if you recreate the pool, you have the option of "Importing" both VM Templates and VM Guests. Deleting the pool in the Manager does not delete your guests as long as you ensure that you DO NOT select "Remove Working Directories". -
Locking datafile problem using oracle agent
Hi All
we are facing locking datafile problems when we are taking backups using oracle agent
in veritas we have selected the option not to lock files when taking backups
is there any other settng which we have missed so that it doe s not lock files
regards
kedarIf you use a version locking policy, you should use a version field, not reuse your primary key for that. If you map the version field (you don't have to), you need to map it as read only. This makes sense: you don't want the application to change this version field, only TopLink should change it. This is where your exception comes from.
If you want to use existing database fields for optimistic locking, you should use a field locking policy. It does not make sense to use the primary key for that: it never changes, so you never know when the object has been changed by another user.
So you can do two things now to fix your code:
create a version column in your database and use a version policy (preferably numeric) or use a field locking policy and use job and salary, or all fields)
There is a pretty good description of locking policies in the TopLink guide:
http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/descun008.htm#CIHCFEIB
Hope this helps,
Lonneke -
Locked file problem with WebDAV
I am using DreamWeaver CS3 on my Macintosh at home and on a
PC at work. I am connecting to my website via WebDAV, and for some
reason Dreamweaver cannot edit the files on the site. When I try to
check out any file I get an error stating: "file.html is locked and
can be viewed but not edited" I then have the option to check it
out or view or cancel. Regardless of what I do, if I continue and
open the file and make changes the file will not get updated on the
remote server even though Dreamweaver reports a successful "put" or
"check in" command in the log file. This happens on both the
Macintosh and the Windows PC. Both are also updated to the latest
versions of Dreamweaver.
The strange thing is, if I mount the WebDAV server as a
filesystem on my macintosh and authenticate with the same
login/password that entered in Dreamweaver's WebDAV settings, I can
edit the html files using a text editor and they save perfectly
fine. Additionally, while the web server is mounted on the desktop,
if I change Dreamweaver's site settings to "local/network" and
enter the locally mounted WebDAV share path instead of using
Dreamweaver's built-in WebDAV client, then everything works
properly in Dreamweaver. Reverting back to using WebDAV in
dreamweaver (as opposed to through the OS) brings about the same
"locked file" problem as before.
There appears to be a problem with Dreamweaver's WebDAV
access to the site, and I'm wondering if there's an easy fix or if
this has been experienced by others?
Thanks,
-TopherHave a look at FileUtils::DecomposeUnicode and NormalizeUnComposedUnicodeChars. Use the first to convert before using i.e. FileUtils::PMStringToSysFile() and the later afetr i.e. FileUtils::IDFileToPMString().
HTH -
Can some one please assist me to get rid of the below error when trying to bring up the SOA services in Weblogic?
"Locker failed to offer due to timeout.Please increase worker thread count by increasing DeferredWorkerThreadCount in mediator-config.xml"
We tested the agent, node manager and everything seems to be working fine. Its persistent in UAT environment which is a clustered environment. 1st managed server for SOA is having the issue while the second one is working fine. Below are the list of manages servers in the env:
2 managed servers for ADF,
2 managed servers for BAM,
2 managed servers for SOA,
2 managed servers for WSM.
The affected SOA1 managed server was working fine till last week and there were no changes made to the environment. Please let me know if I can furnish any further info.
Thanks!
Nidhi Gangadhar.
WebLogic PortalSOA SuiteCan some one please assist me to get rid of the below error when trying to bring up the SOA services in Weblogic?
"Locker failed to offer due to timeout.Please increase worker thread count by increasing DeferredWorkerThreadCount in mediator-config.xml"
We tested the agent, node manager and everything seems to be working fine. Its persistent in UAT environment which is a clustered environment. 1st managed server for SOA is having the issue while the second one is working fine. Below are the list of manages servers in the env:
2 managed servers for ADF,
2 managed servers for BAM,
2 managed servers for SOA,
2 managed servers for WSM.
The affected SOA1 managed server was working fine till last week and there were no changes made to the environment. Please let me know if I can furnish any further info.
Thanks!
Nidhi Gangadhar.
WebLogic PortalSOA Suite -
Hi,
I've just ran memtest for some new RAM on my iMac. In the logs i got this:
"ERROR: Memory lock failed - reason unknown."
What does this mean? And Is it bad?
ThanksHi fred,
This question is asked in the rember support page at the bottom and the answer is there as well.
http://www.kelleycomputing.net/support/rember/
Whilst technical yes, bad no. -
pls can someone pls help me to solve my N900 operation failed problem. Help pls
Moderator's note: We provided a topic-related subject to the post so other users can easily identify and answer the concern.
Solved!
Go to Solution.Whilst earlier in the year repositories migrated all should be back to normal now, but have a look this resource as you may need to re-build catalogue: http://discussions.nokia.com/t5/Maemo-and-MeeGo-Devices/Repository-not-working/m-p/874127/highlight/...
Moderator's note: We provided a topic-related subject to the thread so other users can easily identify and answer the concern.
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
Hi! Can you help me fix my "Camera failed" problem? Thank you
Clear your camera cache.
<<Edited by Verizon Moderator>> -
hi,every .
i use GLC-T to connect ucs 6120 and cisco2960s (RJ45),.have sfp validation failed problem.
I have done speed to 1G then I am getting error " link not connected" even I have connected the nnetwork cable..UCS6120-A(nxos)# show interface e1/7
Ethernet1/7 is down (SFP validation failed)
Hardware: 1000/10000 Ethernet, address: 0005.73d2.934e (bia 0005.73d2.934e)
Description: U: Uplink
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
auto-duplex, 1000 Mb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped never
Last clearing of "show interface" counters never
30 seconds input rate 0 bits c, 0 bytes c, 0 packets c
30 seconds output rate 0 bits c, 0 bytes c, 0 packets c
Load-Interval #2: 5 minute (300 seconds)
input rate 0 bps, 0 pps; output rate 0 bps, 0 pps
RX
0 unicast packets 0 multicast packets 0 broadcast packets
0 input packets 0 bytes
--More-- -
Error: Acquire running lock failed: 256
Can anyone help me? I did everthing that documentation says,but can't start my Virtual Machine .The error below picks up
Error: Acquire running lock failed: 256VM server and VM manager both on virtual box
Oracle VM 3.1.1
Maybe you are looking for
-
I have inserted code that works on another page of my site: <iframe src ="program/Directory/directory.html" width="590px" height="400px" frameborder="0" scrolling="yes"> <p>Your browser does not support iframes.</p> </iframe> I inserted the same co
-
Hi all, we have a problem with a software RAID 5. Its read performance is acceptable (61 MB/s via UFS filesystem) while its write performance is very very bad. 3 MB/s through UFS filesystem is not acceptable for a machine with 6 1.35 GHz CPUs and 7 v
-
TMS 14.4 and F5 BIG-IP config: username and password
Hi, We've got 2 TMS servers running 14.3.2 software behind BIG-IP load balancer. We're going to upgrade to 14.4 but Cisco has changed the redundancy model from active/active to active/passive. Some changes are required on the load balancer and this i
-
Cursor move event dicrease frequency
Hello! A long time ago I remember I saw a forum post or a community doc, where it was explained how to decrease a certain Event to be triggered too frequently. I have a graph with a cursor, and when the user starts to move the cursor, I do some minor
-
hi, can anyone tell me how to create work order in orapps. i have no idea about the orapps. i have to implement in process. i have created sales order with some other guys help ,now he is not there but now i have to create work order, so plz reply..!