Jeff Clary <[email protected]> writes: > However, now when I run my test with 100 threads I am still seeing an > "ERROR 40XL1: A lock could not be obtained within the time requested." > See the stack trace below. In the comments to DERBY-2861, I see that > others sometimes get a similar result.
You are using the same test as attached to the issue DERBY-2861? It may not be an error, if many threads are competing for locks to dictionary to compile some could end up waiting too long; what is your lock waitTimeout? You could try to tweak it to see if it changes things. http://db.apache.org/derby/docs/10.4/tuning/rtunproper46141.html#rtunproper46141 Dag
