Re: Database not found - JPetStoreApp on Tomcat 6.0

2008-01-09 Thread Kristian Waagan
Lo, George C wrote: While trying to deploy the JPetStoreApp demo on Tomcat 6.0 on JDK 1.6, I got the following error. Did I miss something? Hello, Not having tried the JPetStoreApp demo, my pieces of advice are pretty general. Since the database can't be found; 1) Verify that the databas

Re: how to recover from read only connection error?

2008-01-09 Thread Kristian Waagan
Amir Michail wrote: On Jan 8, 2008 7:22 PM, Amir Michail <[EMAIL PROTECTED]> wrote: Hi, How do I recover from this error? ERROR 25503: DDL is not permitted for a read-only connection, user or database. Amir It turns out that not only do permissions need to be good, but also ownership. Ju

Re: SQLException: Restore of a serializable or SQLData object of class , attempted to read more data than was originally stored

2008-01-09 Thread Knut Anders Hatlen
Bryan Pendleton <[EMAIL PROTECTED]> writes: > INUGANTI, KALYAN [AG-Contractor/1000] wrote: >> here are the 2 stack-traces that were in the derby.log. > ... >> 2008-01-08 17:28:27.478 GMT Thread[main,6,main] (XID = 4008637), >> (SESSIONID = 0), (DATABASE = B:\SeedTrakDB), (DRDAID = null), Failed >

RE: SQLException: Restore of a serializable or SQLData object of class , attempted to read more data than was originally stored

2008-01-09 Thread INUGANTI, KALYAN [AG-Contractor/1000]
Hi Knut, We are using Derby 10.1. I posted this note to the Derby Dev thread as well. I will let you know if I hear anything from them. Thanks, Kal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 3:10 AM To: Derby Discussion Subject

Re: how to recover from read only connection error?

2008-01-09 Thread Kristian Waagan
Amir Michail wrote: On Jan 9, 2008 3:02 AM, Kristian Waagan <[EMAIL PROTECTED]> wrote: Amir Michail wrote: On Jan 8, 2008 7:22 PM, Amir Michail <[EMAIL PROTECTED]> wrote: Hi, How do I recover from this error? ERROR 25503: DDL is not permitted for a read-only connection, user or database. Am

Re: how to recover from read only connection error?

2008-01-09 Thread Amir Michail
On Jan 9, 2008 11:19 AM, Kristian Waagan <[EMAIL PROTECTED]> wrote: > Amir Michail wrote: > > On Jan 9, 2008 3:02 AM, Kristian Waagan <[EMAIL PROTECTED]> wrote: > >> Amir Michail wrote: > >>> On Jan 8, 2008 7:22 PM, Amir Michail <[EMAIL PROTECTED]> wrote: > Hi, > > How do I recover f

Re: how to recover from read only connection error?

2008-01-09 Thread Amir Michail
On Jan 9, 2008 3:02 AM, Kristian Waagan <[EMAIL PROTECTED]> wrote: > > Amir Michail wrote: > > On Jan 8, 2008 7:22 PM, Amir Michail <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> How do I recover from this error? > >> > >> ERROR 25503: DDL is not permitted for a read-only connection, user or > >> d

Select users from systables

2008-01-09 Thread tom_
Isn't there a possibility to select the database users from the systables? In the documentation I've not found it. -- View this message in context: http://www.nabble.com/Select-users-from-systables-tp14718784p14718784.html Sent from the Apache Derby Users mailing list archive at Nabble.com.

Re: Database not found - JPetStoreApp on Tomcat 6.0

2008-01-09 Thread Lo, George C
>Lo, George C wrote: >> While trying to deploy the JPetStoreApp demo on Tomcat 6.0 on JDK 1.6, I >> got the following error. Did I miss something? > >Hello, > >Not having tried the JPetStoreApp demo, my pieces of advice are pretty >general. Since the database can't be found; > > 1) Verify t

Re: Select users from systables

2008-01-09 Thread Rick Hillegas
tom_ wrote: Isn't there a possibility to select the database users from the systables? In the documentation I've not found it. Hi Tom, I may be missing the point of your question, but here's some more information: Derby doesn't have a system table which stores the names of users who are al

Re: Select users from systables

2008-01-09 Thread tom_
Hi Rick, in my database it shows the name of the schemas, not of the users that I've created afterwards, but I've found a way how to proceed without querying the usernames. Rick Hillegas-2 wrote: > > tom_ wrote: >> Isn't there a possibility to select the database users from the >> systables? I

Re: Select users from systables

2008-01-09 Thread Rick Hillegas
Hi Tom, Glad to hear that you have found a workaround. If you are interested in the peculiarities of Derby schema names and authorization ids, you can read up on them in the CREATE SCHEMA section of the Derby Reference Guide: http://db.apache.org/derby/docs/10.3/ref/ Regards, -Rick tom_ wro

why are table locks being made?

2008-01-09 Thread Geoff hendrey
I execute 10 DELETE operations. Each DELETE is executed from its own thread and deletes a different row from the same table. I get the same behavior with both the embedded and network driver, on derby 10.3.14. I am seeing deadlocks. Here is the deadlock dump: A lock could not be obtained due

Apache license question

2008-01-09 Thread Gavin Bong
If I write another piece of software using some code from apache derby, and license the derivative work under Apache license; what do I need to add in the header of the source code ? What I am thinking of doing: a) Include the original license file from the source file. b) Include as comments, a