From derby-user-return-5543-apmail-db-derby-user-archive=db.apache.org@db.apache.org Fri Nov 10 15:26:13 2006 Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 13661 invoked from network); 10 Nov 2006 15:26:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2006 15:26:12 -0000 Received: (qmail 74035 invoked by uid 500); 10 Nov 2006 15:26:21 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 74010 invoked by uid 500); 10 Nov 2006 15:26:21 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 73999 invoked by uid 99); 10 Nov 2006 15:26:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:26:20 -0800 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=ADVANCE_FEE_1,HTML_MESSAGE,HTML_TAG_EXIST_TBODY,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:26:06 -0800 Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kAAFPigw016342 for ; Fri, 10 Nov 2006 15:25:44 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J8I00301TCP9J00@d1-emea-09.sun.com> (original mail from Julius.Stroffek@Sun.COM) for derby-user@db.apache.org; Fri, 10 Nov 2006 15:25:44 +0000 (GMT) Received: from [129.159.112.151] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J8I00D9YTIHE90G@d1-emea-09.sun.com> for derby-user@db.apache.org; Fri, 10 Nov 2006 15:25:40 +0000 (GMT) Date: Fri, 10 Nov 2006 16:25:25 +0100 From: "Julius.Stroffek" Subject: Re: Query regarding derby In-reply-to: Sender: Julius.Stroffek@Sun.COM To: Derby Discussion Message-id: <455499E5.5060404@Sun.COM> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_P5nAmB6UbgWNcGMQHP6xuA)" References: User-Agent: Thunderbird 1.5.0.5 (X11/20060911) X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --Boundary_(ID_P5nAmB6UbgWNcGMQHP6xuA) Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Hi Sridharsingh, 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, > > 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. > > > 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" * > Sent by: Julius.Stroffek@Sun.COM > > 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, Sridharsingh.Inder@lntinfotech.com > 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 > ______________________________________________________________________ > > > ______________________________________________________________________ > > ______________________________________________________________________ --Boundary_(ID_P5nAmB6UbgWNcGMQHP6xuA) Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Hi Sridharsingh,

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,

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.


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" <Julius.Stroffek@Sun.COM>
Sent by: Julius.Stroffek@Sun.COM

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, Sridharsingh.Inder@lntinfotech.com
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

______________________________________________________________________



______________________________________________________________________


______________________________________________________________________

--Boundary_(ID_P5nAmB6UbgWNcGMQHP6xuA)--