db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: Query regarding derby
Date Thu, 09 Nov 2006 16:54:52 GMT
Julius.Stroffek wrote:
> Hi Sridharsingh,
> 
> Please describe more your running configuration. This kind of error may
> occur if you are running different instances of derby to access a same
> database.
...
> Sridharsingh Inder wrote:
> 
>> Hi Derby Team,
>>
>> We are using derby database in our application. While updating the
>> table, we are getting
>> "A lock could not be obtained within the time requested " this exception.
>>
>> My queries are as follows
>>
>> 1. Why I am getting this exception?
>> 2. What I should do to avoid this error?
>> 3. How the locking mechanism working in Derby Database?

This faq on lock timeout errors mentions some properties that might help
isolate the specific sql statement:

http://db.apache.org/derby/faq.html#debug_lock_timeout

 -jean


Mime
View raw message