Hi Sridharsingh,

I asked some more questions about this, the code you send looks alright but does not explain anything related to the problem you are having.
---
Is it possible for you to upgrade to a newer version of Derby? I think the version 10.0 is not supported by the community any more.

What request are you executing? I have not found it in any of 2 files you have attached. Is it the first request after connecting to a database or the problem appears after a while?

Cheers

Julo

Sridharsingh Inder wrote:

Hi Derby User Team,

Do you have any updates on this issue?

Best Regards,
Sridhar


----- Forwarded by Sridharsingh Inder/LNTINFOTECH on 11/14/2006 05:50 PM -----
Sridharsingh Inder/LNTINFOTECH

11/10/2006 11:17 AM

To
derby-user@db.apache.org
cc
derby-user@db.apache.org, [EMAIL PROTECTED]
Subject
Re: Query regarding derbyLink






Hi Derby User Team,

Thanks for your immediate response.

The derby version is mentioned below
Bundle-Name: Apache Derby 10.0
Bundle-Version: 10.0.2000001
DERBY_DRIVER = org.apache.derby.jdbc.EmbeddedDriver
DERBY_PROTOCOL = jdbc:derby:

We dont have multiple instance of derby. We are attaching the AccessDB and DatabaseConnectionManager class for your reference.

[attachment "DatabaseConnectionManager.java" deleted by Sridharsingh Inder/LNTINFOTECH] [attachment "AccessDB.java" deleted by Sridharsingh Inder/LNTINFOTECH]
Best Regards,
Sridhar
Software Engineer,
Eurogiro Team,
L&T Infotech,
Phone: +9122-67768201

This Mail is classified as
[  ] L&T Infotech Proprietary
[  ] L&T Infotech Internal Use
[x] L&T Infotech Confidential
[  ] L&T Infotech General Business



"Julius.Stroffek" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

11/09/2006 08:09 PM

Please respond to
derby-user@db.apache.org

To
derby-user@db.apache.org
cc
derby-dev@db.apache.org, [EMAIL PROTECTED]
Subject
Re: Query regarding derby







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.

Which version of derby are you running? Do you have more instances of derby on the same machine? What exactly are you doing?

I have posted the reply to derby-user mailing list since I think it is related more to the user issue.

Cheers

Julo

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?



Thanks in Advance .


Best Regards,
Sridhar
Software Engineer,
Eurogiro Team,
L&T Infotech,
Phone: +9122-67768201

This Mail is classified as
[  ] L&T Infotech Proprietary
[  ] L&T Infotech Internal Use
[x] L&T Infotech Confidential
[  ] L&T Infotech General Business

______________________________________________________________________



______________________________________________________________________


______________________________________________________________________

Reply via email to