[jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-20 Thread =?UTF-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?=
[ http://issues.apache.org/jira/browse/DERBY-230?page=comments#action_63265 ] Øystein Grøvlen commented on DERBY-230: --- As far as I can understand, the problem is in DDLConstantAction.getSchemaDescriptorForCreate() which first tries to get a Schem

[jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-03 Thread JIRA
[ http://issues.apache.org/jira/browse/DERBY-230?page=comments#action_64351 ] Øystein Grøvlen commented on DERBY-230: --- According to Dan Debrunner alternative 1 is not correct since there are other ways schemas come into existence than through thi

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-21 Thread =?iso-8859-1?q?=D8ystein_Gr=F8vlen?=
> "ØG(" == Øystein Grøvlen (JIRA) writes: ØG(> As far as I can understand, the problem is in ØG(> DDLConstantAction.getSchemaDescriptorForCreate() which first ØG(> tries to get a SchemaDescriptor and if none exists will ØG(> create one. What probably happens is that a thread

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-21 Thread Daniel John Debrunner
Øystein Grøvlen wrote: >>"ØG(" == Øystein Grøvlen (JIRA) writes: > > > ØG(> As far as I can understand, the problem is in > ØG(> DDLConstantAction.getSchemaDescriptorForCreate() which first > ØG(> tries to get a SchemaDescriptor and if none exists will > ØG(> create one. Wh

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-22 Thread =?iso-8859-1?q?=D8ystein_Gr=F8vlen?=
> "DJD" == Daniel John Debrunner <[EMAIL PROTECTED]> writes: DJD> [As an aside traditionally Cloudscape did not use synchronized *static* DJD> methods as there were locking issues related to class loading - this was >> From jdk 1.1 days, have those issues been fixed now?] I am no

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-22 Thread Daniel John Debrunner
Øystein Grøvlen wrote: >>"DJD" == Daniel John Debrunner <[EMAIL PROTECTED]> writes: > > > DJD> [As an aside traditionally Cloudscape did not use synchronized > *static* > DJD> methods as there were locking issues related to class loading - this > was > >> From jdk 1.1 days, hav

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-04-25 Thread =?iso-8859-1?q?=D8ystein_Gr=F8vlen?=
> "DJD" == Daniel John Debrunner <[EMAIL PROTECTED]> writes: DJD> Thanks. The "Unless ... holding multiple locks.. " part is a little DJD> troubling. And exactly what is meant by 'Class objects', as while you DJD> can have a synchronized static method, I don't see how you could hav

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-03 Thread Daniel John Debrunner
Øystein Grøvlen (JIRA) wrote: > [ > http://issues.apache.org/jira/browse/DERBY-230?page=comments#action_64351 ] > > Øystein Grøvlen commented on DERBY-230: > --- > > [skip> > second alternative by catching exceptions with messageId == SQLState.LANG_

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-05 Thread Øystein Grøvlen
I was thinking I should add a test for this bug fix. Since a multithreaded program is needed, I was trying to use the MultiTest framework, but despite trying several approaches I have not been able to reproduce it that way. Note that I in 20 minutes was able to write the Java program that is att

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-05 Thread David Van Couvering
I'm stil learning this harness, but I am pretty sure you can run any program with a main() that you want from within the test harness, just by adding the .java file to functionTests/tests. I don't think the harness has any restrctions on this main() program being multi-threaded or single-threa

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread Øystein Grøvlen
> "DVC" == David Van Couvering <[EMAIL PROTECTED]> writes: DVC> I'm stil learning this harness, but I am pretty sure you can run any DVC> program with a main() that you want from within the test harness, just DVC> by adding the .java file to functionTests/tests. I don't think

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread Mamta Satoor
Hi, Did you do a build again after copying the .out file to the master directory? Mamta On 5/6/05, Øystein Grøvlen <[EMAIL PROTECTED]> wrote: > > "DVC" == David Van Couvering <[EMAIL PROTECTED]> writes: > >DVC> I'm stil learning this harness, but I am pretty sure you can run any >

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread Lance J. Andersen
I believe that is the key and I discovered that myself the other day.  The master *.outs are included  in the derbyingTesting.jar Mamta Satoor wrote: Hi, Did you do a build again after copying the .out file to the master directory? Mamta On 5/6/05, Øystein Grøvlen <[EMAIL PROTECTED]> wro

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread Myrna van Lunteren
correct. Actually, you don't have to build derbyTesting.jar - the *.out files are all copied into the classes directory - but only when you build (ant all). So, the steps are: - run the new test - copy the .out to the master directory - (this is where it lives in the subversion source tree) - bui

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread Lance J. Andersen
Myrna van Lunteren wrote: correct. Actually, you don't have to build derbyTesting.jar - the *.out files are all copied into the classes directory - but only when you build (ant all). So, the steps are: - run the new test - copy the .out to the master directory - (this is where it lives i

Re: [jira] Commented: (DERBY-230) "Schema already exists" when creating a table

2005-05-06 Thread David Van Couvering
I may have misspoken here. I can't make the harness run the same test in multiple threads (something I was trying to do). But you can run a single test that is multithreaded... Sorry if I was misleading. The master file has to be copied into the classes hierarchy. To do this, run the main a