You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Matthew T. Adams" <ma...@xcalia.com> on 2005/09/23 03:37:39 UTC

My first test run -- 'splain me this, Lucy

Hi all,

I'm trying to run my first test, and I'm getting some results that I
understand, and some results that I don't.  Attached are the logs produced,
as well as the test class & config files.

What I don't quite get is this console output:
doRuntck.jdori:
    [java] Problems reading testlist JDOTCKTestCases.list:
java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot find
the file specified)
    [java] Description:
    [java] Time: 000
    [java] derby-app-detach-junit.txt:
    [java]     OK Tests run: 000, Time: 000 seconds.
    [java] Excluded tests:
[org.apache.jdo.tck.enhancement.FieldAccessModified,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
    [echo] Finished run with database="derby"
identitytype="applicationidentity" mapping="".

I didn't expect JDOTCKTestCases.list to be searched for at all, since I
specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the command
line.  I would expect 2 of 2 cofigurations to fail (appid & dsid), since
JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
Instead, the message I get is that 1 of 2 configurations failed.

What gives?  Any ideas?

--matthew

Matthew T. Adams
Corporate Technical Advisor & Senior Consultant
Mobile:  +1 253 732 1051
Phone:  +1 206 331 3833
Fax:  +1 815 331 0952
matthew.adams@xcalia.com
P.O. Box 24163
Federal Way, WA  98093
www.xcalia.com



Xcalia makes implementing SOA easy with agile business intermediation
software that combines heterogeneous data with services to easily develop
and deploy transactional composite applications.  Enterprises can quickly
respond to changing business requirements and dramatically reduce the costs
of data access and service integration.

Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
Hi Michelle,

In my previous email i had said "I think i should be able to change the name
of the schema to someidentity20 in schema.sql and it should still run.". I
guess i was wrong, because changing the name of schema in schema.sql should
run the installSchema goal successfully but I am not sure if the Tests would
be able to obtain a connection .

On 9/23/05, Karan Malhi <ka...@gmail.com> wrote:
>
> Hi Michelle,
>
> I agree. If you look at the contents of schema.sql under
> test/sql/derby/applicationidentity
> CREATE SCHEMA applicationidentity0;
> SET SCHEMA applicationidentity0;
>
> and the contents of test/sql/derby/applicationidentity/schema1.sql
>
> CREATE SCHEMA applicationidentity1;
> SET SCHEMA applicationidentity1;
>
> My understanding is that the number (0 1 2 ..)in jdo.tck.mapping=1 helps
> us in choosing the right schema.sql. And the name of the schema is defined
> in schema.sql and nowhere else (the name is not derived by maven using the
> jdo.tck.mapping). I think i should be able to change the name of the
> schema to someidentity20 in schema.sql and it should still run.
>
>
> When i run runtck.jdori I am also getting a mapping="" in the output.
>
> [echo] Finished run with database="derby" identitytype="datastoreidentity"
> mapping="".
>
> When i read maven.xml it looks like maven is setting it to an empty
> string.
>
> The only way i could figure out have a mapping="0 " in the output is if i
> put a space after the 0 when i define the property jdo.tck.mapping=0
>
> There is every possibility that i could be wrong. So please correct me
>
>
>
> On 9/23/05, Michelle Caisse <Mi...@sun.com> wrote:
> >
> > Hi Karan,
> >
> > A mapping of 0 is set to an empty string for the purpose of setting
> > jdo.tck.schema to schema.sql, as you point out. However, the value 0 is
> > needed for the name of the database schema, as in
> > "applicationidentity0".
> >
> > -- Michelle
> >
> > Karan Malhi wrote:
> >
> > >Hi Michelle,
> > >If you specify a mapping = 0 , maven basically considers it as an empty
> > >string so that it can set jdo.tck.schema=schema.sql.
> > ><j:if test="${mapping == zeroval}">
> > ><j:set var="jdo.tck.mapping" value=""/>
> > ></j:if>
> > >
> > >If you specify a mapping= 1, then maven will append the number 1 to the
> > word
> > >"schema" so now jdo.tck.schema=schema1.sql .
> > >
> > ><goal name="doInstallSchema"> <!-- Set schema name from mapping
> > designator
> > >-->
> > ><j:choose>
> > ><j:when test="${nextMapping == zeroval}">
> > ><j:set var=" jdo.tck.schema" value="schema.sql"/>
> > ></j:when>
> > ><j:otherwise>
> > ><j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
> > ></j:otherwise>
> > ></j:choose>
> > >
> > >
> > >On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
> > >
> > >
> > >>Hi Matthew,
> > >>
> > >>I've never seen this. I'd like to know what detach.list looks like. I
> > >>don't see it or the test class in the attachment list.
> > >>It should look something like what's shown in step 9 of
> > >> http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
> > >>should equal 0, not "" as shown in the console output you quote.
> > >>
> > >>-- Michelle
> > >>
> > >>Matthew T. Adams wrote:
> > >>
> > >>
> > >>
> > >>>Hi all,
> > >>>
> > >>>I'm trying to run my first test, and I'm getting some results that I
> > >>>understand, and some results that I don't. Attached are the logs
> > >>>
> > >>>
> > >>produced,
> > >>
> > >>
> > >>>as well as the test class & config files.
> > >>>
> > >>>What I don't quite get is this console output:
> > >>> doRuntck.jdori:
> > >>>[java] Problems reading testlist JDOTCKTestCases.list:
> > >>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system
> > cannot
> > >>>
> > >>>
> > >>find
> > >>
> > >>
> > >>>the file specified)
> > >>>[java] Description:
> > >>>[java] Time: 000
> > >>>[java] derby-app-detach-junit.txt:
> > >>>[java] OK Tests run: 000, Time: 000 seconds.
> > >>>[java] Excluded tests:
> > >>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
> > >>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> > >>>[echo] Finished run with database="derby"
> > >>>identitytype="applicationidentity" mapping="".
> > >>>
> > >>>I didn't expect JDOTCKTestCases.list to be searched for at all, since
> > I
> > >>>specified "maven - Djdo.tck.cfglist=detach.list runtck.jdori" at the
> > >>>
> > >>>
> > >>command
> > >>
> > >>
> > >>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid),
> > since
> > >>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> > >>>Instead, the message I get is that 1 of 2 configurations failed.
> > >>>
> > >>>What gives? Any ideas?
> > >>>
> > >>>--matthew
> > >>>
> > >>>Matthew T. Adams
> > >>>Corporate Technical Advisor & Senior Consultant
> > >>>Mobile: +1 253 732 1051
> > >>>Phone: +1 206 331 3833
> > >>>Fax: +1 815 331 0952
> > >>>matthew.adams@xcalia.com
> > >>>P.O. Box 24163
> > >>>Federal Way, WA 98093
> > >>> www.xcalia.com <http://www.xcalia.com> <http://www.xcalia.com>
> > >>>
> > >>>
> > >>>
> > >>>Xcalia makes implementing SOA easy with agile business intermediation
> > >>>software that combines heterogeneous data with services to easily
> > develop
> > >>>and deploy transactional composite applications. Enterprises can
> > quickly
> > >>>respond to changing business requirements and dramatically reduce the
> >
> > >>>
> > >>>
> > >>costs
> > >>
> > >>
> > >>>of data access and service integration.
> > >>>
> > >>>
> > >>>------------------------------------------------------------------------
> >
> > >>>
> > >>>RUN SetDetachAllOnCommit.test ERROR
> > >>>Description: Detachment tests with standard mapping, no testdata.
> > >>>Time: 006
> > >>>There was 1 error:
> > >>>1) test(
> > >>>
> > >>>
> > >>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit
> > )java.lang.AbstractMethodError:
> > >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> > >>
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> > >>(SetDetachAllOnCommit.java:58)
> > >>
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> > >>(SetDetachAllOnCommit.java:50)
> > >>
> > >>
> > >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>>at sun.reflect.NativeMethodAccessorImpl.invoke(
> > >>>
> > >>>
> > >>NativeMethodAccessorImpl.java:39)
> > >>
> > >>
> > >>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > >>>
> > >>>
> > >>DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>
> > >>>at org.apache.jdo.tck.JDO_Test.runBare (JDO_Test.java:204)
> > >>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> > >>>
> > >>>
> > >>:115)
> > >>
> > >>
> > >>>at org.apache.jdo.tck.util.BatchTestRunner.main (BatchTestRunner.java
> > :93)
> > >>>FAILURES!!!
> > >>>Error summary:
> > >>>001 error: java.lang.AbstractMethodError:
> > >>>
> > >>>
> > >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit (Z)V
> > >>
> > >>
> > >>>derby-dsid-detach-junit.txt:
> > >>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> > >>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified ,
> > >>>
> > >>>
> > >>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> > >>
> > >>
> >
> > >>>------------------------------------------------------------------------
> > >>>
> > >>>18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during
> > setUp or
> > >>>
> > >>>
> > >>runtest:
> > >>
> > >>
> > >>>java.lang.AbstractMethodError :
> > >>>
> > >>>
> > >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> > >>
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> > >>(SetDetachAllOnCommit.java:58)
> > >>
> > >>
> > >>>at
> > >>>
> > >>>
> > >>
> > org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> > >>(SetDetachAllOnCommit.java :50)
> > >>
> > >>
> > >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>>at sun.reflect.NativeMethodAccessorImpl.invoke(
> > >>>
> > >>>
> > >>NativeMethodAccessorImpl.java :39)
> > >>
> > >>
> > >>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > >>>
> > >>>
> > >>DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>
> > >>>at java.lang.reflect.Method.invoke (Method.java:324)
> > >>>at junit.framework.TestCase.runTest(TestCase.java:154)
> > >>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> > >>>at junit.framework.TestResult$1.protect(TestResult.java :106)
> > >>>at junit.framework.TestResult.runProtected(TestResult.java:124)
> > >>>at junit.framework.TestResult.run(TestResult.java:109)
> > >>>at junit.framework.TestCase.run(TestCase.java:118)
> > >>>at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > >>>at junit.framework.TestSuite.run(TestSuite.java:203)
> > >>>at junit.textui.TestRunner.doRun(TestRunner.java:116)
> > >>>at junit.textui.TestRunner.doRun(TestRunner.java:109)
> > >>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> > >>>
> > >>>
> > >>:115)
> > >>
> > >>
> > >>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
> > :93)
> > >>>
> > >>>
> >
> > >>>------------------------------------------------------------------------
> > >>>
> > >>> derby-app-detach-junit.txt:
> > >>>OK Tests run: 000, Time: 000 seconds.
> > >>>derby-dsid-detach-junit.txt:
> > >>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> > >>>-------
> > >>>Result: 1 of 2 configurations failed.
> > >>>
> > >>>
> >
> > >>>------------------------------------------------------------------------
> > >>>
> > >>>Description:
> > >>>Time: 000
> > >>>derby-app-detach-junit.txt:
> > >>>OK Tests run: 000, Time: 000 seconds.
> > >>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> > >>>
> > >>>
> > >>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> > >>
> > >>
> >
> > >>>------------------------------------------------------------------------
> > >>>
> > >>>18:17:07,773 (main) INFO [ com.mchange.v2.log.MLog] - MLog clients
> > using
> > >>>
> > >>>
> > >>log4j logging.
> > >>
> > >>
> > >>>18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
> > >>>
> > >>>
> > >>Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug?
> > true;
> > >>trace: 10]
> > >>
> > >>
> > >>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory -
> > Vendor:
> > >>>
> > >>>
> > >>JPOX Version: 1.1.0-rc-1
> > >>
> > >>
> > >>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
> > >>>
> > >>>
> > >>initialised for datastore URL=jdbc:derby:jdotckdb driver=
> > >>org.apache.derby.jdbc.EmbeddedDriver userName=
> > >>
> > >>
> > >>>18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
> > >>>
> > >>>
> > >>Initializing c3p0 pool...
> > >>com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement ->
> > 3,
> > >>acquireRetryAttempts -> 30, acquireRetryDelay -> 1000,
> > autoCommitOnClose ->
> > >>false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
> > >>checkoutTimeout -> 0, connectionTesterClassName ->
> > >>com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
> > >>driverClass -> org.apache.derby.jdbc.EmbeddedDriver,
> > factoryClassLocation
> > >>-> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
> > >>1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl
> > ->
> > >>jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize
> > -> 15,
> > >>maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
> > >>numHelperThreads -> 3, preferredTestQuery -> null, properties ->
> > >>{user=******, password=******}, propertyCycle -> 300,
> > >>testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
> > >>usesTraditionalReflectiveProxies -> false ]
> > >>
> > >>
> > >>>18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
> > >>>
> > >>>
> > >>CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0> <
> > http://10.1.1.0>,
> > >>major=10, minor=1, revision=1
> > >>
> > >>
> > >>>Identifier Names : UPPERCASE
> > >>>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>
> > <http://10.1.1.0 >,
> > >>>
> > >>>
> > >>major=10, minor=1
> > >>
> > >>
> > >>>Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
> > >>>
> > >>>
> > >>Delimeters="
> > >>
> > >>
> > >>>Identifier Support in DDL : catalog=false schema=true
> > >>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog
> > "",
> > >>>
> > >>>
> > >>Schema "TCKUSER" using "None" auto-start option
> > >>
> > >>
> > >>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
> > >>>
> > >>>
> > >>"TCKUSER" initialised - managing 0 classes
> > >>
> > >>
> > >>>18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
> >
> > >>
> > >>
> > >>>18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
> >
> > >>derby.orm"
> > >>
> > >>
> > >>>18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
> >
> > >>
> > >>
> > >>>18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
> >
> > >>derby.orm"
> > >>
> > >>
> > >>>18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
> > >>datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
> > >>datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PCRECT" - the table apparently doesnt yet
> > exist
> > >>in the datastore
> > >>
> > >>
> > >>>18:17:12,099 (main) INFO [ JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet
> > exist
> > >>in the datastore
> > >>
> > >>
> > >>>18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
> >
> > >>
> > >>
> > >>>18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> > >>>
> > >>>
> > >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
> >
> > >>derby.orm"
> > >>
> > >>
> > >>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class
> > "DentalInsurance"
> > >>>
> > >>>
> > >>has had its persistence-capable-superclass set to "
> > >>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> > >>MetaData.
> > >>
> > >>
> > >>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has
> > had
> > >>>
> > >>>
> > >>its persistence-capable-superclass set to "
> > >>org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
> > >>MetaData.
> > >>
> > >>
> > >>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
> > class
> > >>>
> > >>>
> > >>"Person" has been defined as a Map with keys of type String. This key
> > type
> > >>has been resolved to java.lang.String.
> > >>
> > >>
> > >>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
> > class
> > >>>
> > >>>
> > >>"Person" has been defined as a Map with values of type String. This
> > value
> > >>type has been resolved to java.lang.String.
> > >>
> > >>
> > >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class
> > "FullTimeEmployee"
> > >>>
> > >>>
> > >>has had its persistence-capable-superclass set to "
> > >>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> > >>MetaData.
> > >>
> > >>
> > >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class
> > "MedicalInsurance"
> > >>>
> > >>>
> > >>has had its persistence-capable-superclass set to "
> > >>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> > >>MetaData.
> > >>
> > >>
> > >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class
> > "PartTimeEmployee"
> > >>>
> > >>>
> > >>has had its persistence-capable-superclass set to "
> > >>org.apache.jdo.tck.pc.company.Employee " - it wasnt specified in the
> > >>MetaData.
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
> > >>>
> > >>>
> > >>org.apache.jdo.tck.pc.company.Address " is tagged as "embedded-only"
> > so
> > >>does not have its own datastore table.
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Company [Table :
> > >>datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [ JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Insurance [Table :
> > >>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
> > >> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
> > superclass-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
> > >>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
> > superclass-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA ] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Project [Table :
> > >>datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Person [Table :
> > >>datastoreidentity0.PERSONS , InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Employee [Table :
> > >>datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
> > >>
> > >>
> > >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Class : org.apache.jdo.tck.pc.company.Department [Table :
> > >>datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
> > >>
> > >>
> > >>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA ] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
> > >>datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
> > >>
> > >>
> > >>>18:17:12,830 (main) INFO [ JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
> > >>datastoreidentity0.PROJECT_MEMBER]
> > >>
> > >>
> > >>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table
> > :
> > >>datastoreidentity0.PROJECT_REVIEWER ]
> > >>
> > >>
> > >>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Field : org.apache.jdo.tck.pc.company.Project.members [Table :
> > >>datastoreidentity0.PROJECT_MEMBER]
> > >>
> > >>
> > >>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence
> > of
> > >>>
> > >>>
> > >>Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
> > >>datastoreidentity0.PROJECT_REVIEWER]
> > >>
> > >>
> > >>>18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table " datastoreidentity0.DEPARTMENTS" - the table apparently doesnt
> > yet
> > >>exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PERSONS" - the table apparently doesnt yet
> > exist
> > >>in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA ] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
> > >>exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [ JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.INSURANCEPLANS" - the table apparently
> > doesnt
> > >>yet exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
> > >>exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PROJECT_REVIEWER " - the table apparently
> > doesnt
> > >>yet exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently
> > doesnt
> > >>yet exist in the datastore
> > >>
> > >>
> > >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
> > doesnt
> > >>yet exist in the datastore
> > >>
> > >>
> > >>>18:17:12,870 (main) INFO [ JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table
> > apparently
> > >>doesnt yet exist in the datastore
> > >>
> > >>
> > >>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found
> > for
> > >>>
> > >>>
> > >>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently
> > doesnt
> > >>yet exist in the datastore
> > >>
> > >>
> > >>>
> > >>>
> > >>
> > >>
> > >>
> > >
> > >
> > >--
> > >Karan Malhi
> > >
> > >
> > >
> >
> >
> >
>
>
> --
> Karan Malhi
>



--
Karan Malhi

Re: My first test run -- 'splain me this, Lucy

Posted by Michelle Caisse <Mi...@Sun.COM>.
That's possible.  If so, I will sign up for it myself.

Thanks,
Michelle

karan malhi wrote:

> Hi Michelle,
>
> Thanks.
> Do I need to have rights to assign a JIRA issue? I couldnt see any 
> option of assigning the issue to you.
>
> Michelle Caisse wrote:
>
>> Hi Karan,
>>
>> I think that mapping="" is a bug in maven.xml, where it is displaying
>> the value after 0 has been converted to "".  If you would like to file a
>> JIRA issue and assign it to me, I'll take a look at it at some point.
>>
>> The mapping designator does a few things in maven.xml.
>>
>> - When the installSchema goal is invoked, it decides which schemas to
>> install. If there is more than one configuration for the maven run, it
>> installs the schema for all the mappings of the configuration set. To do
>> this, it puts the mapping designators in a HashSet and iterates through
>> it. If mapping is set to "", this element of the HashSet would be empty
>> and no schema would be installed.
>>
>> - It determines the value of the javax.jdo.mapping.Schema PMF
>> configuration option that is set in the jdori.properties file.  This is
>> how the implementation knows what schema to use to find the tables.
>>
>> ... and other things, but it's time for the meeting to start!
>>
>> -- Michelle
>>
>> Karan Malhi wrote On 09/23/05 03:37,:
>>  
>>
>>> Hi Michelle,
>>>
>>> I agree. If you look at the contents of schema.sql under
>>> test/sql/derby/applicationidentity
>>> CREATE SCHEMA applicationidentity0;
>>> SET SCHEMA applicationidentity0;
>>>
>>> and the contents of test/sql/derby/applicationidentity/schema1.sql
>>>
>>> CREATE SCHEMA applicationidentity1;
>>> SET SCHEMA applicationidentity1;
>>>
>>> My understanding is that the number (0 1 2 ..)in jdo.tck.mapping=1 
>>> helps us
>>> in choosing the right schema.sql. And the name of the schema is 
>>> defined in
>>> schema.sql and nowhere else (the name is not derived by maven using the
>>> jdo.tck.mapping). I think i should be able to change the name of the 
>>> schema
>>> to someidentity20 in schema.sql and it should still run.
>>>
>>>
>>> When i run runtck.jdori I am also getting a mapping="" in the output.
>>>
>>> [echo] Finished run with database="derby" 
>>> identitytype="datastoreidentity"
>>> mapping="".
>>>
>>> When i read maven.xml it looks like maven is setting it to an empty 
>>> string.
>>>
>>> The only way i could figure out have a mapping="0 " in the output is 
>>> if i
>>> put a space after the 0 when i define the property jdo.tck.mapping=0
>>>
>>> There is every possibility that i could be wrong. So please correct me
>>>
>>>
>>>
>>> On 9/23/05, Michelle Caisse <Mi...@sun.com> wrote:
>>>
>>>   
>>>
>>>> Hi Karan,
>>>>
>>>> A mapping of 0 is set to an empty string for the purpose of setting
>>>> jdo.tck.schema to schema.sql, as you point out. However, the value 
>>>> 0 is
>>>> needed for the name of the database schema, as in 
>>>> "applicationidentity0".
>>>>
>>>> -- Michelle
>>>>
>>>> Karan Malhi wrote:
>>>>
>>>>
>>>>     
>>>>
>>>>> Hi Michelle,
>>>>> If you specify a mapping = 0 , maven basically considers it as an 
>>>>> empty
>>>>> string so that it can set jdo.tck.schema=schema.sql.
>>>>> <j:if test="${mapping == zeroval}">
>>>>> <j:set var="jdo.tck.mapping" value=""/>
>>>>> </j:if>
>>>>>
>>>>> If you specify a mapping= 1, then maven will append the number 1 
>>>>> to the
>>>>>       
>>>>
>>>> word
>>>>
>>>>     
>>>>
>>>>> "schema" so now jdo.tck.schema=schema1.sql.
>>>>>
>>>>> <goal name="doInstallSchema"> <!-- Set schema name from mapping
>>>>>       
>>>>
>>>> designator
>>>>
>>>>     
>>>>
>>>>> -->
>>>>> <j:choose>
>>>>> <j:when test="${nextMapping == zeroval}">
>>>>> <j:set var="jdo.tck.schema" value="schema.sql"/>
>>>>> </j:when>
>>>>> <j:otherwise>
>>>>> <j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
>>>>> </j:otherwise>
>>>>> </j:choose>
>>>>>
>>>>>
>>>>> On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>       
>>>>>
>>>>>> Hi Matthew,
>>>>>>
>>>>>> I've never seen this. I'd like to know what detach.list looks 
>>>>>> like. I
>>>>>> don't see it or the test class in the attachment list.
>>>>>> It should look something like what's shown in step 9 of
>>>>>> http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
>>>>>> should equal 0, not "" as shown in the console output you quote.
>>>>>>
>>>>>> -- Michelle
>>>>>>
>>>>>> Matthew T. Adams wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I'm trying to run my first test, and I'm getting some results 
>>>>>>> that I
>>>>>>> understand, and some results that I don't. Attached are the logs
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> produced,
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> as well as the test class & config files.
>>>>>>>
>>>>>>> What I don't quite get is this console output:
>>>>>>> doRuntck.jdori:
>>>>>>> [java] Problems reading testlist JDOTCKTestCases.list:
>>>>>>> java.io.FileNotFoundException: JDOTCKTestCases.list (The system 
>>>>>>> cannot
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> find
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> the file specified)
>>>>>>> [java] Description:
>>>>>>> [java] Time: 000
>>>>>>> [java] derby-app-detach-junit.txt:
>>>>>>> [java] OK Tests run: 000, Time: 000 seconds.
>>>>>>> [java] Excluded tests:
>>>>>>> [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>>> [echo] Finished run with database="derby"
>>>>>>> identitytype="applicationidentity" mapping="".
>>>>>>>
>>>>>>> I didn't expect JDOTCKTestCases.list to be searched for at all, 
>>>>>>> since I
>>>>>>> specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> command
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> line. I would expect 2 of 2 cofigurations to fail (appid & 
>>>>>>> dsid), since
>>>>>>> JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>>>>>>> Instead, the message I get is that 1 of 2 configurations failed.
>>>>>>>
>>>>>>> What gives? Any ideas?
>>>>>>>
>>>>>>> --matthew
>>>>>>>
>>>>>>> Matthew T. Adams
>>>>>>> Corporate Technical Advisor & Senior Consultant
>>>>>>> Mobile: +1 253 732 1051
>>>>>>> Phone: +1 206 331 3833
>>>>>>> Fax: +1 815 331 0952
>>>>>>> matthew.adams@xcalia.com
>>>>>>> P.O. Box 24163
>>>>>>> Federal Way, WA 98093
>>>>>>> www.xcalia.com <http://www.xcalia.com> <http://www.xcalia.com>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Xcalia makes implementing SOA easy with agile business 
>>>>>>> intermediation
>>>>>>> software that combines heterogeneous data with services to easily
>>>>>>>           
>>>>>>
>>>> develop
>>>>
>>>>     
>>>>
>>>>>>> and deploy transactional composite applications. Enterprises can
>>>>>>>           
>>>>>>
>>>> quickly
>>>>
>>>>     
>>>>
>>>>>>> respond to changing business requirements and dramatically 
>>>>>>> reduce the
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> costs
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> of data access and service integration.
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>> RUN SetDetachAllOnCommit.test ERROR
>>>>>>> Description: Detachment tests with standard mapping, no testdata.
>>>>>>> Time: 006
>>>>>>> There was 1 error:
>>>>>>> 1) test(
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit 
>>>>>>
>>>>>>         
>>>>>
>>>> )java.lang.AbstractMethodError:
>>>>
>>>>     
>>>>
>>>>>> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit 
>>>>
>>>>
>>>>     
>>>>
>>>>>> (SetDetachAllOnCommit.java:58)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test 
>>>>
>>>>
>>>>     
>>>>
>>>>>> (SetDetachAllOnCommit.java:50)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> NativeMethodAccessorImpl.java:39)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>>> at 
>>>>>>> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> :115)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at 
>>>>>>> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>>>>>>           
>>>>>>
>>>> :93)
>>>>
>>>>     
>>>>
>>>>>>> FAILURES!!!
>>>>>>> Error summary:
>>>>>>> 001 error: java.lang.AbstractMethodError:
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> derby-dsid-detach-junit.txt:
>>>>>>> ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>>> Excluded tests: 
>>>>>>> [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>> 18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during 
>>>>>>> setUp
>>>>>>>           
>>>>>>
>>>> or
>>>>
>>>>     
>>>>
>>>>>> runtest:
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> java.lang.AbstractMethodError:
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit 
>>>>
>>>>
>>>>     
>>>>
>>>>>> (SetDetachAllOnCommit.java:58)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test 
>>>>
>>>>
>>>>     
>>>>
>>>>>> (SetDetachAllOnCommit.java:50)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> NativeMethodAccessorImpl.java:39)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> DelegatingMethodAccessorImpl.java:25)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:324)
>>>>>>> at junit.framework.TestCase.runTest(TestCase.java:154)
>>>>>>> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>>> at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>> at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>> at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>> at junit.framework.TestCase.run(TestCase.java:118)
>>>>>>> at junit.framework.TestSuite.runTest(TestSuite.java:208)
>>>>>>> at junit.framework.TestSuite.run(TestSuite.java:203)
>>>>>>> at junit.textui.TestRunner.doRun(TestRunner.java:116)
>>>>>>> at junit.textui.TestRunner.doRun(TestRunner.java:109)
>>>>>>> at 
>>>>>>> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> :115)
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> at 
>>>>>>> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>>>>>>           
>>>>>>
>>>> :93)
>>>>
>>>>     
>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>> derby-app-detach-junit.txt:
>>>>>>> OK Tests run: 000, Time: 000 seconds.
>>>>>>> derby-dsid-detach-junit.txt:
>>>>>>> ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>>> -------
>>>>>>> Result: 1 of 2 configurations failed.
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>> Description:
>>>>>>> Time: 000
>>>>>>> derby-app-detach-junit.txt:
>>>>>>> OK Tests run: 000, Time: 000 seconds.
>>>>>>> Excluded tests: 
>>>>>>> [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>> 18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog 
>>>>>>> clients using
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> log4j logging.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; 
>>>>>> debug? true;
>>>>>> trace: 10]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory -
>>>>>>>           
>>>>>>
>>>> Vendor:
>>>>
>>>>     
>>>>
>>>>>> JPOX Version: 1.1.0-rc-1
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> initialised for datastore URL=jdbc:derby:jdotckdb driver=
>>>>>> org.apache.derby.jdbc.EmbeddedDriver userName=
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:08,384 (main) INFO 
>>>>>>> [com.mchange.v2.c3p0.PoolBackedDataSource] -
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Initializing c3p0 pool...
>>>>>> com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ 
>>>>>> acquireIncrement ->
>>>>>>         
>>>>>
>>>> 3,
>>>>
>>>>     
>>>>
>>>>>> acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, 
>>>>>> autoCommitOnClose
>>>>>>         
>>>>>
>>>> ->
>>>>
>>>>     
>>>>
>>>>>> false, automaticTestTable -> null, breakAfterAcquireFailure -> 
>>>>>> false,
>>>>>> checkoutTimeout -> 0, connectionTesterClassName ->
>>>>>> com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> 
>>>>>> null,
>>>>>> driverClass -> org.apache.derby.jdbc.EmbeddedDriver,
>>>>>>         
>>>>>
>>>> factoryClassLocation
>>>>
>>>>     
>>>>
>>>>>> -> null, forceIgnoreUnresolvedTransactions -> false, 
>>>>>> identityToken ->
>>>>>> 1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, 
>>>>>> jdbcUrl
>>>>>>         
>>>>>
>>>> ->
>>>>
>>>>     
>>>>
>>>>>> jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, 
>>>>>> maxPoolSize ->
>>>>>>         
>>>>>
>>>> 15,
>>>>
>>>>     
>>>>
>>>>>> maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize 
>>>>>> -> 3,
>>>>>> numHelperThreads -> 3, preferredTestQuery -> null, properties ->
>>>>>> {user=******, password=******}, propertyCycle -> 300,
>>>>>> testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
>>>>>> usesTraditionalReflectiveProxies -> false ]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> CloudscapeAdapter : Apache Derby version=10.1.1.0 
>>>>>> <http://10.1.1.0> <
>>>>>>         
>>>>>
>>>> http://10.1.1.0>,
>>>>
>>>>     
>>>>
>>>>>> major=10, minor=1, revision=1
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> Identifier Names : UPPERCASE
>>>>>>> Driver name=Apache Derby Embedded JDBC Driver, 
>>>>>>> version=10.1.1.0<http://10.1.1.0>
>>>>>>>           
>>>>>>
>>>> <http://10.1.1.0>,
>>>>
>>>>     
>>>>
>>>>>> major=10, minor=1
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Delimeters="
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> Identifier Support in DDL : catalog=false schema=true
>>>>>>> 18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising 
>>>>>>> Catalog "",
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Schema "TCKUSER" using "None" auto-start option
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "TCKUSER" initialised - managing 0 classes
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo" 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass- 
>>>>>>
>>>>>> derby.orm"
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo" 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package- 
>>>>>>
>>>>>> derby.orm"
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
>>>>>> datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
>>>>>> datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PCRECT" - the table apparently doesnt yet
>>>>>>         
>>>>>
>>>> exist
>>>>
>>>>     
>>>>
>>>>>> in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet
>>>>>>         
>>>>>
>>>> exist
>>>>
>>>>     
>>>>
>>>>>> in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo" 
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from 
>>>>>>> file
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package- 
>>>>>>
>>>>>> derby.orm"
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,780 (main) INFO [JPOX.MetaData] - The class 
>>>>>>> "DentalInsurance"
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> has had its persistence-capable-superclass set to "
>>>>>> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>>> MetaData.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" 
>>>>>>> has had
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> its persistence-capable-superclass set to "
>>>>>> org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
>>>>>> MetaData.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>>>>>>           
>>>>>>
>>>> class
>>>>
>>>>     
>>>>
>>>>>> "Person" has been defined as a Map with keys of type String. This 
>>>>>> key
>>>>>>         
>>>>>
>>>> type
>>>>
>>>>     
>>>>
>>>>>> has been resolved to java.lang.String.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>>>>>>           
>>>>>>
>>>> class
>>>>
>>>>     
>>>>
>>>>>> "Person" has been defined as a Map with values of type String. This
>>>>>>         
>>>>>
>>>> value
>>>>
>>>>     
>>>>
>>>>>> type has been resolved to java.lang.String.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,790 (main) INFO [JPOX.MetaData] - The class 
>>>>>>> "FullTimeEmployee"
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> has had its persistence-capable-superclass set to "
>>>>>> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>>> MetaData.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,790 (main) INFO [JPOX.MetaData] - The class 
>>>>>>> "MedicalInsurance"
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> has had its persistence-capable-superclass set to "
>>>>>> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>>> MetaData.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,790 (main) INFO [JPOX.MetaData] - The class 
>>>>>>> "PartTimeEmployee"
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> has had its persistence-capable-superclass set to "
>>>>>> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>>> MetaData.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> org.apache.jdo.tck.pc.company.Address" is tagged as 
>>>>>> "embedded-only" so
>>>>>> does not have its own datastore table.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Company [Table :
>>>>>> datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Insurance [Table :
>>>>>> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
>>>>>> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>>>>>         
>>>>>
>>>> superclass-table]
>>>>
>>>>     
>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
>>>>>> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>>>>>         
>>>>>
>>>> superclass-table]
>>>>
>>>>     
>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Project [Table :
>>>>>> datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Person [Table :
>>>>>> datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Employee [Table :
>>>>>> datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Class : org.apache.jdo.tck.pc.company.Department [Table :
>>>>>> datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
>>>>>> datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
>>>>>> datastoreidentity0.PROJECT_MEMBER]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects 
>>>>>> [Table :
>>>>>> datastoreidentity0.PROJECT_REVIEWER]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Field : org.apache.jdo.tck.pc.company.Project.members [Table :
>>>>>> datastoreidentity0.PROJECT_MEMBER]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing 
>>>>>>> Persistence of
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
>>>>>> datastoreidentity0.PROJECT_REVIEWER]
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.DEPARTMENTS" - the table apparently 
>>>>>> doesnt yet
>>>>>> exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PERSONS" - the table apparently doesnt yet
>>>>>>         
>>>>>
>>>> exist
>>>>
>>>>     
>>>>
>>>>>> in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.COMPANIES" - the table apparently 
>>>>>> doesnt yet
>>>>>> exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.INSURANCEPLANS" - the table apparently 
>>>>>> doesnt
>>>>>> yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PROJECTS" - the table apparently doesnt 
>>>>>> yet
>>>>>> exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>>>>>         
>>>>>
>>>> doesnt
>>>>
>>>>     
>>>>
>>>>>> yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently 
>>>>>> doesnt
>>>>>> yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>>>>>         
>>>>>
>>>> doesnt
>>>>
>>>>     
>>>>
>>>>>> yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table 
>>>>>> apparently
>>>>>> doesnt yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>
>>>>>>> 18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info 
>>>>>>> found for
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>
>>>>>> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently 
>>>>>> doesnt
>>>>>> yet exist in the datastore
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>         
>>>>>
>>>>> -- 
>>>>> Karan Malhi
>>>>>
>>>>>
>>>>>
>>>>>       
>>>>
>>>>
>>>>     
>>>
>>> -- 
>>> Karan Malhi
>>>
>>>   
>>
>>
>>
>>  
>>
>


Re: My first test run -- 'splain me this, Lucy

Posted by karan malhi <ka...@gmail.com>.
Hi Michelle,

Thanks.
Do I need to have rights to assign a JIRA issue? I couldnt see any 
option of assigning the issue to you.

Michelle Caisse wrote:

>Hi Karan,
>
>I think that mapping="" is a bug in maven.xml, where it is displaying
>the value after 0 has been converted to "".  If you would like to file a
>JIRA issue and assign it to me, I'll take a look at it at some point.
>
>The mapping designator does a few things in maven.xml.
>
>- When the installSchema goal is invoked, it decides which schemas to
>install. If there is more than one configuration for the maven run, it
>installs the schema for all the mappings of the configuration set. To do
>this, it puts the mapping designators in a HashSet and iterates through
>it. If mapping is set to "", this element of the HashSet would be empty
>and no schema would be installed.
>
>- It determines the value of the javax.jdo.mapping.Schema PMF
>configuration option that is set in the jdori.properties file.  This is
>how the implementation knows what schema to use to find the tables.
>
>... and other things, but it's time for the meeting to start!
>
>-- Michelle
>
>Karan Malhi wrote On 09/23/05 03:37,:
>  
>
>>Hi Michelle,
>>
>>I agree. If you look at the contents of schema.sql under
>>test/sql/derby/applicationidentity
>>CREATE SCHEMA applicationidentity0;
>>SET SCHEMA applicationidentity0;
>>
>>and the contents of test/sql/derby/applicationidentity/schema1.sql
>>
>>CREATE SCHEMA applicationidentity1;
>>SET SCHEMA applicationidentity1;
>>
>>My understanding is that the number (0 1 2 ..)in jdo.tck.mapping=1 helps us
>>in choosing the right schema.sql. And the name of the schema is defined in
>>schema.sql and nowhere else (the name is not derived by maven using the
>>jdo.tck.mapping). I think i should be able to change the name of the schema
>>to someidentity20 in schema.sql and it should still run.
>>
>>
>>When i run runtck.jdori I am also getting a mapping="" in the output.
>>
>>[echo] Finished run with database="derby" identitytype="datastoreidentity"
>>mapping="".
>>
>>When i read maven.xml it looks like maven is setting it to an empty string.
>>
>>The only way i could figure out have a mapping="0 " in the output is if i
>>put a space after the 0 when i define the property jdo.tck.mapping=0
>>
>>There is every possibility that i could be wrong. So please correct me
>>
>>
>>
>>On 9/23/05, Michelle Caisse <Mi...@sun.com> wrote:
>>
>>    
>>
>>>Hi Karan,
>>>
>>>A mapping of 0 is set to an empty string for the purpose of setting
>>>jdo.tck.schema to schema.sql, as you point out. However, the value 0 is
>>>needed for the name of the database schema, as in "applicationidentity0".
>>>
>>>-- Michelle
>>>
>>>Karan Malhi wrote:
>>>
>>>
>>>      
>>>
>>>>Hi Michelle,
>>>>If you specify a mapping = 0 , maven basically considers it as an empty
>>>>string so that it can set jdo.tck.schema=schema.sql.
>>>><j:if test="${mapping == zeroval}">
>>>><j:set var="jdo.tck.mapping" value=""/>
>>>></j:if>
>>>>
>>>>If you specify a mapping= 1, then maven will append the number 1 to the
>>>>        
>>>>
>>>word
>>>
>>>      
>>>
>>>>"schema" so now jdo.tck.schema=schema1.sql.
>>>>
>>>><goal name="doInstallSchema"> <!-- Set schema name from mapping
>>>>        
>>>>
>>>designator
>>>
>>>      
>>>
>>>>-->
>>>><j:choose>
>>>><j:when test="${nextMapping == zeroval}">
>>>><j:set var="jdo.tck.schema" value="schema.sql"/>
>>>></j:when>
>>>><j:otherwise>
>>>><j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
>>>></j:otherwise>
>>>></j:choose>
>>>>
>>>>
>>>>On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hi Matthew,
>>>>>
>>>>>I've never seen this. I'd like to know what detach.list looks like. I
>>>>>don't see it or the test class in the attachment list.
>>>>>It should look something like what's shown in step 9 of
>>>>>http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
>>>>>should equal 0, not "" as shown in the console output you quote.
>>>>>
>>>>>-- Michelle
>>>>>
>>>>>Matthew T. Adams wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi all,
>>>>>>
>>>>>>I'm trying to run my first test, and I'm getting some results that I
>>>>>>understand, and some results that I don't. Attached are the logs
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>produced,
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>as well as the test class & config files.
>>>>>>
>>>>>>What I don't quite get is this console output:
>>>>>>doRuntck.jdori:
>>>>>>[java] Problems reading testlist JDOTCKTestCases.list:
>>>>>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>find
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>the file specified)
>>>>>>[java] Description:
>>>>>>[java] Time: 000
>>>>>>[java] derby-app-detach-junit.txt:
>>>>>>[java] OK Tests run: 000, Time: 000 seconds.
>>>>>>[java] Excluded tests:
>>>>>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>>[echo] Finished run with database="derby"
>>>>>>identitytype="applicationidentity" mapping="".
>>>>>>
>>>>>>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>>>>>>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>command
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>>>>>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>>>>>>Instead, the message I get is that 1 of 2 configurations failed.
>>>>>>
>>>>>>What gives? Any ideas?
>>>>>>
>>>>>>--matthew
>>>>>>
>>>>>>Matthew T. Adams
>>>>>>Corporate Technical Advisor & Senior Consultant
>>>>>>Mobile: +1 253 732 1051
>>>>>>Phone: +1 206 331 3833
>>>>>>Fax: +1 815 331 0952
>>>>>>matthew.adams@xcalia.com
>>>>>>P.O. Box 24163
>>>>>>Federal Way, WA 98093
>>>>>>www.xcalia.com <http://www.xcalia.com> <http://www.xcalia.com>
>>>>>>
>>>>>>
>>>>>>
>>>>>>Xcalia makes implementing SOA easy with agile business intermediation
>>>>>>software that combines heterogeneous data with services to easily
>>>>>>            
>>>>>>
>>>develop
>>>
>>>      
>>>
>>>>>>and deploy transactional composite applications. Enterprises can
>>>>>>            
>>>>>>
>>>quickly
>>>
>>>      
>>>
>>>>>>respond to changing business requirements and dramatically reduce the
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>costs
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>of data access and service integration.
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>RUN SetDetachAllOnCommit.test ERROR
>>>>>>Description: Detachment tests with standard mapping, no testdata.
>>>>>>Time: 006
>>>>>>There was 1 error:
>>>>>>1) test(
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit
>>>>>          
>>>>>
>>>)java.lang.AbstractMethodError:
>>>
>>>      
>>>
>>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>>
>>>      
>>>
>>>>>(SetDetachAllOnCommit.java:58)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>>
>>>      
>>>
>>>>>(SetDetachAllOnCommit.java:50)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>NativeMethodAccessorImpl.java:39)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>DelegatingMethodAccessorImpl.java:25)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>:115)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>>>>>            
>>>>>>
>>>:93)
>>>
>>>      
>>>
>>>>>>FAILURES!!!
>>>>>>Error summary:
>>>>>>001 error: java.lang.AbstractMethodError:
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>derby-dsid-detach-junit.txt:
>>>>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during setUp
>>>>>>            
>>>>>>
>>>or
>>>
>>>      
>>>
>>>>>runtest:
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>java.lang.AbstractMethodError:
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>>
>>>      
>>>
>>>>>(SetDetachAllOnCommit.java:58)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>>
>>>      
>>>
>>>>>(SetDetachAllOnCommit.java:50)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>NativeMethodAccessorImpl.java:39)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>DelegatingMethodAccessorImpl.java:25)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>>>>at junit.framework.TestCase.runTest(TestCase.java:154)
>>>>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>>at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>at junit.framework.TestCase.run(TestCase.java:118)
>>>>>>at junit.framework.TestSuite.runTest(TestSuite.java:208)
>>>>>>at junit.framework.TestSuite.run(TestSuite.java:203)
>>>>>>at junit.textui.TestRunner.doRun(TestRunner.java:116)
>>>>>>at junit.textui.TestRunner.doRun(TestRunner.java:109)
>>>>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>:115)
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>>>>>            
>>>>>>
>>>:93)
>>>
>>>      
>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>derby-app-detach-junit.txt:
>>>>>>OK Tests run: 000, Time: 000 seconds.
>>>>>>derby-dsid-detach-junit.txt:
>>>>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>>-------
>>>>>>Result: 1 of 2 configurations failed.
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>Description:
>>>>>>Time: 000
>>>>>>derby-app-detach-junit.txt:
>>>>>>OK Tests run: 000, Time: 000 seconds.
>>>>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>------------------------------------------------------------------------
>>>>>>
>>>>>>18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog clients using
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>log4j logging.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true;
>>>>>trace: 10]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory -
>>>>>>            
>>>>>>
>>>Vendor:
>>>
>>>      
>>>
>>>>>JPOX Version: 1.1.0-rc-1
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>initialised for datastore URL=jdbc:derby:jdotckdb driver=
>>>>>org.apache.derby.jdbc.EmbeddedDriver userName=
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Initializing c3p0 pool...
>>>>>com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement ->
>>>>>          
>>>>>
>>>3,
>>>
>>>      
>>>
>>>>>acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose
>>>>>          
>>>>>
>>>->
>>>
>>>      
>>>
>>>>>false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
>>>>>checkoutTimeout -> 0, connectionTesterClassName ->
>>>>>com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
>>>>>driverClass -> org.apache.derby.jdbc.EmbeddedDriver,
>>>>>          
>>>>>
>>>factoryClassLocation
>>>
>>>      
>>>
>>>>>-> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
>>>>>1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl
>>>>>          
>>>>>
>>>->
>>>
>>>      
>>>
>>>>>jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize ->
>>>>>          
>>>>>
>>>15,
>>>
>>>      
>>>
>>>>>maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
>>>>>numHelperThreads -> 3, preferredTestQuery -> null, properties ->
>>>>>{user=******, password=******}, propertyCycle -> 300,
>>>>>testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
>>>>>usesTraditionalReflectiveProxies -> false ]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0> <
>>>>>          
>>>>>
>>>http://10.1.1.0>,
>>>
>>>      
>>>
>>>>>major=10, minor=1, revision=1
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Identifier Names : UPPERCASE
>>>>>>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>
>>>>>>            
>>>>>>
>>><http://10.1.1.0>,
>>>
>>>      
>>>
>>>>>major=10, minor=1
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Delimeters="
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Identifier Support in DDL : catalog=false schema=true
>>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog "",
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Schema "TCKUSER" using "None" auto-start option
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"TCKUSER" initialised - managing 0 classes
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
>>>>>derby.orm"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
>>>>>derby.orm"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
>>>>>datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
>>>>>datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PCRECT" - the table apparently doesnt yet
>>>>>          
>>>>>
>>>exist
>>>
>>>      
>>>
>>>>>in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet
>>>>>          
>>>>>
>>>exist
>>>
>>>      
>>>
>>>>>in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
>>>>>derby.orm"
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "DentalInsurance"
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>has had its persistence-capable-superclass set to "
>>>>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>>MetaData.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has had
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>its persistence-capable-superclass set to "
>>>>>org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
>>>>>MetaData.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>>>>>            
>>>>>>
>>>class
>>>
>>>      
>>>
>>>>>"Person" has been defined as a Map with keys of type String. This key
>>>>>          
>>>>>
>>>type
>>>
>>>      
>>>
>>>>>has been resolved to java.lang.String.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>>>>>            
>>>>>>
>>>class
>>>
>>>      
>>>
>>>>>"Person" has been defined as a Map with values of type String. This
>>>>>          
>>>>>
>>>value
>>>
>>>      
>>>
>>>>>type has been resolved to java.lang.String.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "FullTimeEmployee"
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>has had its persistence-capable-superclass set to "
>>>>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>>MetaData.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "MedicalInsurance"
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>has had its persistence-capable-superclass set to "
>>>>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>>MetaData.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "PartTimeEmployee"
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>has had its persistence-capable-superclass set to "
>>>>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>>MetaData.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
>>>>>does not have its own datastore table.
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Company [Table :
>>>>>datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Insurance [Table :
>>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
>>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>>>>          
>>>>>
>>>superclass-table]
>>>
>>>      
>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
>>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>>>>          
>>>>>
>>>superclass-table]
>>>
>>>      
>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Project [Table :
>>>>>datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Person [Table :
>>>>>datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Employee [Table :
>>>>>datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Class : org.apache.jdo.tck.pc.company.Department [Table :
>>>>>datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
>>>>>datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
>>>>>datastoreidentity0.PROJECT_MEMBER]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
>>>>>datastoreidentity0.PROJECT_REVIEWER]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Field : org.apache.jdo.tck.pc.company.Project.members [Table :
>>>>>datastoreidentity0.PROJECT_MEMBER]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
>>>>>datastoreidentity0.PROJECT_REVIEWER]
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
>>>>>exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PERSONS" - the table apparently doesnt yet
>>>>>          
>>>>>
>>>exist
>>>
>>>      
>>>
>>>>>in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
>>>>>exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
>>>>>yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
>>>>>exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>>>>          
>>>>>
>>>doesnt
>>>
>>>      
>>>
>>>>>yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>>>>yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>>>>          
>>>>>
>>>doesnt
>>>
>>>      
>>>
>>>>>yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
>>>>>doesnt yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>>>>yet exist in the datastore
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>          
>>>>>
>>>>--
>>>>Karan Malhi
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>      
>>>
>>--
>>Karan Malhi
>>
>>    
>>
>
>
>  
>

-- 
Karan Singh


Re: My first test run -- 'splain me this, Lucy

Posted by Michelle Caisse <Mi...@Sun.COM>.
Hi Karan,

I think that mapping="" is a bug in maven.xml, where it is displaying
the value after 0 has been converted to "".  If you would like to file a
JIRA issue and assign it to me, I'll take a look at it at some point.

The mapping designator does a few things in maven.xml.

- When the installSchema goal is invoked, it decides which schemas to
install. If there is more than one configuration for the maven run, it
installs the schema for all the mappings of the configuration set. To do
this, it puts the mapping designators in a HashSet and iterates through
it. If mapping is set to "", this element of the HashSet would be empty
and no schema would be installed.

- It determines the value of the javax.jdo.mapping.Schema PMF
configuration option that is set in the jdori.properties file.  This is
how the implementation knows what schema to use to find the tables.

... and other things, but it's time for the meeting to start!

-- Michelle

Karan Malhi wrote On 09/23/05 03:37,:
> Hi Michelle,
> 
> I agree. If you look at the contents of schema.sql under
> test/sql/derby/applicationidentity
> CREATE SCHEMA applicationidentity0;
> SET SCHEMA applicationidentity0;
> 
> and the contents of test/sql/derby/applicationidentity/schema1.sql
> 
> CREATE SCHEMA applicationidentity1;
> SET SCHEMA applicationidentity1;
> 
> My understanding is that the number (0 1 2 ..)in jdo.tck.mapping=1 helps us
> in choosing the right schema.sql. And the name of the schema is defined in
> schema.sql and nowhere else (the name is not derived by maven using the
> jdo.tck.mapping). I think i should be able to change the name of the schema
> to someidentity20 in schema.sql and it should still run.
> 
> 
> When i run runtck.jdori I am also getting a mapping="" in the output.
> 
> [echo] Finished run with database="derby" identitytype="datastoreidentity"
> mapping="".
> 
> When i read maven.xml it looks like maven is setting it to an empty string.
> 
> The only way i could figure out have a mapping="0 " in the output is if i
> put a space after the 0 when i define the property jdo.tck.mapping=0
> 
> There is every possibility that i could be wrong. So please correct me
> 
> 
> 
> On 9/23/05, Michelle Caisse <Mi...@sun.com> wrote:
> 
>>Hi Karan,
>>
>>A mapping of 0 is set to an empty string for the purpose of setting
>>jdo.tck.schema to schema.sql, as you point out. However, the value 0 is
>>needed for the name of the database schema, as in "applicationidentity0".
>>
>>-- Michelle
>>
>>Karan Malhi wrote:
>>
>>
>>>Hi Michelle,
>>>If you specify a mapping = 0 , maven basically considers it as an empty
>>>string so that it can set jdo.tck.schema=schema.sql.
>>><j:if test="${mapping == zeroval}">
>>><j:set var="jdo.tck.mapping" value=""/>
>>></j:if>
>>>
>>>If you specify a mapping= 1, then maven will append the number 1 to the
>>
>>word
>>
>>>"schema" so now jdo.tck.schema=schema1.sql.
>>>
>>><goal name="doInstallSchema"> <!-- Set schema name from mapping
>>
>>designator
>>
>>>-->
>>><j:choose>
>>><j:when test="${nextMapping == zeroval}">
>>><j:set var="jdo.tck.schema" value="schema.sql"/>
>>></j:when>
>>><j:otherwise>
>>><j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
>>></j:otherwise>
>>></j:choose>
>>>
>>>
>>>On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
>>>
>>>
>>>
>>>>Hi Matthew,
>>>>
>>>>I've never seen this. I'd like to know what detach.list looks like. I
>>>>don't see it or the test class in the attachment list.
>>>>It should look something like what's shown in step 9 of
>>>>http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
>>>>should equal 0, not "" as shown in the console output you quote.
>>>>
>>>>-- Michelle
>>>>
>>>>Matthew T. Adams wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Hi all,
>>>>>
>>>>>I'm trying to run my first test, and I'm getting some results that I
>>>>>understand, and some results that I don't. Attached are the logs
>>>>>
>>>>>
>>>>
>>>>produced,
>>>>
>>>>
>>>>
>>>>>as well as the test class & config files.
>>>>>
>>>>>What I don't quite get is this console output:
>>>>>doRuntck.jdori:
>>>>>[java] Problems reading testlist JDOTCKTestCases.list:
>>>>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
>>>>>
>>>>>
>>>>
>>>>find
>>>>
>>>>
>>>>
>>>>>the file specified)
>>>>>[java] Description:
>>>>>[java] Time: 000
>>>>>[java] derby-app-detach-junit.txt:
>>>>>[java] OK Tests run: 000, Time: 000 seconds.
>>>>>[java] Excluded tests:
>>>>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>>[echo] Finished run with database="derby"
>>>>>identitytype="applicationidentity" mapping="".
>>>>>
>>>>>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>>>>>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
>>>>>
>>>>>
>>>>
>>>>command
>>>>
>>>>
>>>>
>>>>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>>>>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>>>>>Instead, the message I get is that 1 of 2 configurations failed.
>>>>>
>>>>>What gives? Any ideas?
>>>>>
>>>>>--matthew
>>>>>
>>>>>Matthew T. Adams
>>>>>Corporate Technical Advisor & Senior Consultant
>>>>>Mobile: +1 253 732 1051
>>>>>Phone: +1 206 331 3833
>>>>>Fax: +1 815 331 0952
>>>>>matthew.adams@xcalia.com
>>>>>P.O. Box 24163
>>>>>Federal Way, WA 98093
>>>>>www.xcalia.com <http://www.xcalia.com> <http://www.xcalia.com>
>>>>>
>>>>>
>>>>>
>>>>>Xcalia makes implementing SOA easy with agile business intermediation
>>>>>software that combines heterogeneous data with services to easily
>>
>>develop
>>
>>>>>and deploy transactional composite applications. Enterprises can
>>
>>quickly
>>
>>>>>respond to changing business requirements and dramatically reduce the
>>>>>
>>>>>
>>>>
>>>>costs
>>>>
>>>>
>>>>
>>>>>of data access and service integration.
>>>>>
>>>>>
>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>RUN SetDetachAllOnCommit.test ERROR
>>>>>Description: Detachment tests with standard mapping, no testdata.
>>>>>Time: 006
>>>>>There was 1 error:
>>>>>1) test(
>>>>>
>>>>>
>>>>
>>>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit
>>
>>)java.lang.AbstractMethodError:
>>
>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>
>>>>
>>>>
>>>>>at
>>>>>
>>>>>
>>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>
>>>>(SetDetachAllOnCommit.java:58)
>>>>
>>>>
>>>>
>>>>>at
>>>>>
>>>>>
>>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>
>>>>(SetDetachAllOnCommit.java:50)
>>>>
>>>>
>>>>
>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>
>>>>>
>>>>
>>>>NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>
>>>>>
>>>>
>>>>DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>
>>>>>
>>>>
>>>>:115)
>>>>
>>>>
>>>>
>>>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>
>>:93)
>>
>>>>>FAILURES!!!
>>>>>Error summary:
>>>>>001 error: java.lang.AbstractMethodError:
>>>>>
>>>>>
>>>>
>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>
>>>>
>>>>
>>>>>derby-dsid-detach-junit.txt:
>>>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>
>>>>>
>>>>
>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>
>>>>
>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during setUp
>>
>>or
>>
>>>>>
>>>>runtest:
>>>>
>>>>
>>>>
>>>>>java.lang.AbstractMethodError:
>>>>>
>>>>>
>>>>
>>>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>>>
>>>>
>>>>
>>>>>at
>>>>>
>>>>>
>>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>
>>>>(SetDetachAllOnCommit.java:58)
>>>>
>>>>
>>>>
>>>>>at
>>>>>
>>>>>
>>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>
>>>>(SetDetachAllOnCommit.java:50)
>>>>
>>>>
>>>>
>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>>>
>>>>>
>>>>
>>>>NativeMethodAccessorImpl.java:39)
>>>>
>>>>
>>>>
>>>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>>>
>>>>>
>>>>
>>>>DelegatingMethodAccessorImpl.java:25)
>>>>
>>>>
>>>>
>>>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>>>at junit.framework.TestCase.runTest(TestCase.java:154)
>>>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>>>at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>at junit.framework.TestResult.run(TestResult.java:109)
>>>>>at junit.framework.TestCase.run(TestCase.java:118)
>>>>>at junit.framework.TestSuite.runTest(TestSuite.java:208)
>>>>>at junit.framework.TestSuite.run(TestSuite.java:203)
>>>>>at junit.textui.TestRunner.doRun(TestRunner.java:116)
>>>>>at junit.textui.TestRunner.doRun(TestRunner.java:109)
>>>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>>>
>>>>>
>>>>
>>>>:115)
>>>>
>>>>
>>>>
>>>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
>>
>>:93)
>>
>>>>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>derby-app-detach-junit.txt:
>>>>>OK Tests run: 000, Time: 000 seconds.
>>>>>derby-dsid-detach-junit.txt:
>>>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>>>-------
>>>>>Result: 1 of 2 configurations failed.
>>>>>
>>>>>
>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>Description:
>>>>>Time: 000
>>>>>derby-app-detach-junit.txt:
>>>>>OK Tests run: 000, Time: 000 seconds.
>>>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>>>
>>>>>
>>>>
>>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>>
>>>>
>>
>>>>>------------------------------------------------------------------------
>>>>>
>>>>>18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog clients using
>>>>>
>>>>>
>>>>
>>>>log4j logging.
>>>>
>>>>
>>>>
>>>>>18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
>>>>>
>>>>>
>>>>
>>>>Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true;
>>>>trace: 10]
>>>>
>>>>
>>>>
>>>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory -
>>
>>Vendor:
>>
>>>>>
>>>>JPOX Version: 1.1.0-rc-1
>>>>
>>>>
>>>>
>>>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
>>>>>
>>>>>
>>>>
>>>>initialised for datastore URL=jdbc:derby:jdotckdb driver=
>>>>org.apache.derby.jdbc.EmbeddedDriver userName=
>>>>
>>>>
>>>>
>>>>>18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
>>>>>
>>>>>
>>>>
>>>>Initializing c3p0 pool...
>>>>com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement ->
>>
>>3,
>>
>>>>acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose
>>
>>->
>>
>>>>false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
>>>>checkoutTimeout -> 0, connectionTesterClassName ->
>>>>com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
>>>>driverClass -> org.apache.derby.jdbc.EmbeddedDriver,
>>
>>factoryClassLocation
>>
>>>>-> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
>>>>1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl
>>
>>->
>>
>>>>jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize ->
>>
>>15,
>>
>>>>maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
>>>>numHelperThreads -> 3, preferredTestQuery -> null, properties ->
>>>>{user=******, password=******}, propertyCycle -> 300,
>>>>testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
>>>>usesTraditionalReflectiveProxies -> false ]
>>>>
>>>>
>>>>
>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
>>>>>
>>>>>
>>>>
>>>>CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0> <
>>
>>http://10.1.1.0>,
>>
>>>>major=10, minor=1, revision=1
>>>>
>>>>
>>>>
>>>>>Identifier Names : UPPERCASE
>>>>>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>
>>
>><http://10.1.1.0>,
>>
>>>>>
>>>>major=10, minor=1
>>>>
>>>>
>>>>
>>>>>Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
>>>>>
>>>>>
>>>>
>>>>Delimeters="
>>>>
>>>>
>>>>
>>>>>Identifier Support in DDL : catalog=false schema=true
>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog "",
>>>>>
>>>>>
>>>>
>>>>Schema "TCKUSER" using "None" auto-start option
>>>>
>>>>
>>>>
>>>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
>>>>>
>>>>>
>>>>
>>>>"TCKUSER" initialised - managing 0 classes
>>>>
>>>>
>>>>
>>>>>18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
>>>>
>>>>
>>>>
>>>>>18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
>>>>derby.orm"
>>>>
>>>>
>>>>
>>>>>18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
>>>>
>>>>
>>>>
>>>>>18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
>>>>derby.orm"
>>>>
>>>>
>>>>
>>>>>18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
>>>>datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
>>>>datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PCRECT" - the table apparently doesnt yet
>>
>>exist
>>
>>>>in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet
>>
>>exist
>>
>>>>in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
>>>>
>>>>
>>>>
>>>>>18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>>>
>>>>>
>>
>>>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
>>>>derby.orm"
>>>>
>>>>
>>>>
>>>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "DentalInsurance"
>>>>>
>>>>>
>>>>
>>>>has had its persistence-capable-superclass set to "
>>>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>MetaData.
>>>>
>>>>
>>>>
>>>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has had
>>>>>
>>>>>
>>>>
>>>>its persistence-capable-superclass set to "
>>>>org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
>>>>MetaData.
>>>>
>>>>
>>>>
>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>
>>class
>>
>>>>>
>>>>"Person" has been defined as a Map with keys of type String. This key
>>
>>type
>>
>>>>has been resolved to java.lang.String.
>>>>
>>>>
>>>>
>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
>>
>>class
>>
>>>>>
>>>>"Person" has been defined as a Map with values of type String. This
>>
>>value
>>
>>>>type has been resolved to java.lang.String.
>>>>
>>>>
>>>>
>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "FullTimeEmployee"
>>>>>
>>>>>
>>>>
>>>>has had its persistence-capable-superclass set to "
>>>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>MetaData.
>>>>
>>>>
>>>>
>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "MedicalInsurance"
>>>>>
>>>>>
>>>>
>>>>has had its persistence-capable-superclass set to "
>>>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>>>MetaData.
>>>>
>>>>
>>>>
>>>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "PartTimeEmployee"
>>>>>
>>>>>
>>>>
>>>>has had its persistence-capable-superclass set to "
>>>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>>>MetaData.
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
>>>>>
>>>>>
>>>>
>>>>org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
>>>>does not have its own datastore table.
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Company [Table :
>>>>datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Insurance [Table :
>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>
>>superclass-table]
>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
>>>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
>>
>>superclass-table]
>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Project [Table :
>>>>datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Person [Table :
>>>>datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Employee [Table :
>>>>datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Class : org.apache.jdo.tck.pc.company.Department [Table :
>>>>datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>>>>
>>>>
>>>>
>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
>>>>datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>>>>
>>>>
>>>>
>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
>>>>datastoreidentity0.PROJECT_MEMBER]
>>>>
>>>>
>>>>
>>>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
>>>>datastoreidentity0.PROJECT_REVIEWER]
>>>>
>>>>
>>>>
>>>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Field : org.apache.jdo.tck.pc.company.Project.members [Table :
>>>>datastoreidentity0.PROJECT_MEMBER]
>>>>
>>>>
>>>>
>>>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>>>
>>>>>
>>>>
>>>>Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
>>>>datastoreidentity0.PROJECT_REVIEWER]
>>>>
>>>>
>>>>
>>>>>18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
>>>>exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PERSONS" - the table apparently doesnt yet
>>
>>exist
>>
>>>>in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
>>>>exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
>>>>yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
>>>>exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>
>>doesnt
>>
>>>>yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>>>yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
>>
>>doesnt
>>
>>>>yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
>>>>doesnt yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>>>
>>>>>
>>>>
>>>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>>>yet exist in the datastore
>>>>
>>>>
>>>>
>>>>>
>>>>
>>>>
>>>
>>>--
>>>Karan Malhi
>>>
>>>
>>>
>>
>>
>>
> 
> 
> --
> Karan Malhi
> 


Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
Hi Michelle,

I agree. If you look at the contents of schema.sql under
test/sql/derby/applicationidentity
CREATE SCHEMA applicationidentity0;
SET SCHEMA applicationidentity0;

and the contents of test/sql/derby/applicationidentity/schema1.sql

CREATE SCHEMA applicationidentity1;
SET SCHEMA applicationidentity1;

My understanding is that the number (0 1 2 ..)in jdo.tck.mapping=1 helps us
in choosing the right schema.sql. And the name of the schema is defined in
schema.sql and nowhere else (the name is not derived by maven using the
jdo.tck.mapping). I think i should be able to change the name of the schema
to someidentity20 in schema.sql and it should still run.


When i run runtck.jdori I am also getting a mapping="" in the output.

[echo] Finished run with database="derby" identitytype="datastoreidentity"
mapping="".

When i read maven.xml it looks like maven is setting it to an empty string.

The only way i could figure out have a mapping="0 " in the output is if i
put a space after the 0 when i define the property jdo.tck.mapping=0

There is every possibility that i could be wrong. So please correct me



On 9/23/05, Michelle Caisse <Mi...@sun.com> wrote:
>
> Hi Karan,
>
> A mapping of 0 is set to an empty string for the purpose of setting
> jdo.tck.schema to schema.sql, as you point out. However, the value 0 is
> needed for the name of the database schema, as in "applicationidentity0".
>
> -- Michelle
>
> Karan Malhi wrote:
>
> >Hi Michelle,
> >If you specify a mapping = 0 , maven basically considers it as an empty
> >string so that it can set jdo.tck.schema=schema.sql.
> ><j:if test="${mapping == zeroval}">
> ><j:set var="jdo.tck.mapping" value=""/>
> ></j:if>
> >
> >If you specify a mapping= 1, then maven will append the number 1 to the
> word
> >"schema" so now jdo.tck.schema=schema1.sql.
> >
> ><goal name="doInstallSchema"> <!-- Set schema name from mapping
> designator
> >-->
> ><j:choose>
> ><j:when test="${nextMapping == zeroval}">
> ><j:set var="jdo.tck.schema" value="schema.sql"/>
> ></j:when>
> ><j:otherwise>
> ><j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
> ></j:otherwise>
> ></j:choose>
> >
> >
> >On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
> >
> >
> >>Hi Matthew,
> >>
> >>I've never seen this. I'd like to know what detach.list looks like. I
> >>don't see it or the test class in the attachment list.
> >>It should look something like what's shown in step 9 of
> >>http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
> >>should equal 0, not "" as shown in the console output you quote.
> >>
> >>-- Michelle
> >>
> >>Matthew T. Adams wrote:
> >>
> >>
> >>
> >>>Hi all,
> >>>
> >>>I'm trying to run my first test, and I'm getting some results that I
> >>>understand, and some results that I don't. Attached are the logs
> >>>
> >>>
> >>produced,
> >>
> >>
> >>>as well as the test class & config files.
> >>>
> >>>What I don't quite get is this console output:
> >>>doRuntck.jdori:
> >>>[java] Problems reading testlist JDOTCKTestCases.list:
> >>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
> >>>
> >>>
> >>find
> >>
> >>
> >>>the file specified)
> >>>[java] Description:
> >>>[java] Time: 000
> >>>[java] derby-app-detach-junit.txt:
> >>>[java] OK Tests run: 000, Time: 000 seconds.
> >>>[java] Excluded tests:
> >>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
> >>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >>>[echo] Finished run with database="derby"
> >>>identitytype="applicationidentity" mapping="".
> >>>
> >>>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
> >>>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
> >>>
> >>>
> >>command
> >>
> >>
> >>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
> >>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> >>>Instead, the message I get is that 1 of 2 configurations failed.
> >>>
> >>>What gives? Any ideas?
> >>>
> >>>--matthew
> >>>
> >>>Matthew T. Adams
> >>>Corporate Technical Advisor & Senior Consultant
> >>>Mobile: +1 253 732 1051
> >>>Phone: +1 206 331 3833
> >>>Fax: +1 815 331 0952
> >>>matthew.adams@xcalia.com
> >>>P.O. Box 24163
> >>>Federal Way, WA 98093
> >>>www.xcalia.com <http://www.xcalia.com> <http://www.xcalia.com>
> >>>
> >>>
> >>>
> >>>Xcalia makes implementing SOA easy with agile business intermediation
> >>>software that combines heterogeneous data with services to easily
> develop
> >>>and deploy transactional composite applications. Enterprises can
> quickly
> >>>respond to changing business requirements and dramatically reduce the
> >>>
> >>>
> >>costs
> >>
> >>
> >>>of data access and service integration.
> >>>
> >>>
>
> >>>------------------------------------------------------------------------
> >>>
> >>>RUN SetDetachAllOnCommit.test ERROR
> >>>Description: Detachment tests with standard mapping, no testdata.
> >>>Time: 006
> >>>There was 1 error:
> >>>1) test(
> >>>
> >>>
> >>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit
> )java.lang.AbstractMethodError:
> >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> >>
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> >>(SetDetachAllOnCommit.java:58)
> >>
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> >>(SetDetachAllOnCommit.java:50)
> >>
> >>
> >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>at sun.reflect.NativeMethodAccessorImpl.invoke(
> >>>
> >>>
> >>NativeMethodAccessorImpl.java:39)
> >>
> >>
> >>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >>>
> >>>
> >>DelegatingMethodAccessorImpl.java:25)
> >>
> >>
> >>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> >>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> >>>
> >>>
> >>:115)
> >>
> >>
> >>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
> :93)
> >>>FAILURES!!!
> >>>Error summary:
> >>>001 error: java.lang.AbstractMethodError:
> >>>
> >>>
> >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> >>
> >>
> >>>derby-dsid-detach-junit.txt:
> >>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> >>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> >>>
> >>>
> >>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >>
> >>
>
> >>>------------------------------------------------------------------------
> >>>
> >>>18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during setUp
> or
> >>>
> >>>
> >>runtest:
> >>
> >>
> >>>java.lang.AbstractMethodError:
> >>>
> >>>
> >>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> >>
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> >>(SetDetachAllOnCommit.java:58)
> >>
> >>
> >>>at
> >>>
> >>>
> >>
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> >>(SetDetachAllOnCommit.java:50)
> >>
> >>
> >>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>at sun.reflect.NativeMethodAccessorImpl.invoke(
> >>>
> >>>
> >>NativeMethodAccessorImpl.java:39)
> >>
> >>
> >>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >>>
> >>>
> >>DelegatingMethodAccessorImpl.java:25)
> >>
> >>
> >>>at java.lang.reflect.Method.invoke(Method.java:324)
> >>>at junit.framework.TestCase.runTest(TestCase.java:154)
> >>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> >>>at junit.framework.TestResult$1.protect(TestResult.java:106)
> >>>at junit.framework.TestResult.runProtected(TestResult.java:124)
> >>>at junit.framework.TestResult.run(TestResult.java:109)
> >>>at junit.framework.TestCase.run(TestCase.java:118)
> >>>at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >>>at junit.framework.TestSuite.run(TestSuite.java:203)
> >>>at junit.textui.TestRunner.doRun(TestRunner.java:116)
> >>>at junit.textui.TestRunner.doRun(TestRunner.java:109)
> >>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> >>>
> >>>
> >>:115)
> >>
> >>
> >>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
> :93)
> >>>
> >>>
>
> >>>------------------------------------------------------------------------
> >>>
> >>>derby-app-detach-junit.txt:
> >>>OK Tests run: 000, Time: 000 seconds.
> >>>derby-dsid-detach-junit.txt:
> >>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> >>>-------
> >>>Result: 1 of 2 configurations failed.
> >>>
> >>>
>
> >>>------------------------------------------------------------------------
> >>>
> >>>Description:
> >>>Time: 000
> >>>derby-app-detach-junit.txt:
> >>>OK Tests run: 000, Time: 000 seconds.
> >>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> >>>
> >>>
> >>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >>
> >>
>
> >>>------------------------------------------------------------------------
> >>>
> >>>18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog clients using
> >>>
> >>>
> >>log4j logging.
> >>
> >>
> >>>18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
> >>>
> >>>
> >>Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true;
> >>trace: 10]
> >>
> >>
> >>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory -
> Vendor:
> >>>
> >>>
> >>JPOX Version: 1.1.0-rc-1
> >>
> >>
> >>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
> >>>
> >>>
> >>initialised for datastore URL=jdbc:derby:jdotckdb driver=
> >>org.apache.derby.jdbc.EmbeddedDriver userName=
> >>
> >>
> >>>18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
> >>>
> >>>
> >>Initializing c3p0 pool...
> >>com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement ->
> 3,
> >>acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose
> ->
> >>false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
> >>checkoutTimeout -> 0, connectionTesterClassName ->
> >>com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
> >>driverClass -> org.apache.derby.jdbc.EmbeddedDriver,
> factoryClassLocation
> >>-> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
> >>1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl
> ->
> >>jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize ->
> 15,
> >>maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
> >>numHelperThreads -> 3, preferredTestQuery -> null, properties ->
> >>{user=******, password=******}, propertyCycle -> 300,
> >>testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
> >>usesTraditionalReflectiveProxies -> false ]
> >>
> >>
> >>>18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
> >>>
> >>>
> >>CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0> <
> http://10.1.1.0>,
> >>major=10, minor=1, revision=1
> >>
> >>
> >>>Identifier Names : UPPERCASE
> >>>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>
> <http://10.1.1.0>,
> >>>
> >>>
> >>major=10, minor=1
> >>
> >>
> >>>Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
> >>>
> >>>
> >>Delimeters="
> >>
> >>
> >>>Identifier Support in DDL : catalog=false schema=true
> >>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog "",
> >>>
> >>>
> >>Schema "TCKUSER" using "None" auto-start option
> >>
> >>
> >>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
> >>>
> >>>
> >>"TCKUSER" initialised - managing 0 classes
> >>
> >>
> >>>18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
> >>
> >>
> >>>18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
> >>derby.orm"
> >>
> >>
> >>>18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
> >>
> >>
> >>>18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
> >>derby.orm"
> >>
> >>
> >>>18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
> >>datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
> >>datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PCRECT" - the table apparently doesnt yet
> exist
> >>in the datastore
> >>
> >>
> >>>18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet
> exist
> >>in the datastore
> >>
> >>
> >>>18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
> >>
> >>
> >>>18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> >>>
> >>>
>
> >>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
> >>derby.orm"
> >>
> >>
> >>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "DentalInsurance"
> >>>
> >>>
> >>has had its persistence-capable-superclass set to "
> >>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> >>MetaData.
> >>
> >>
> >>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has had
> >>>
> >>>
> >>its persistence-capable-superclass set to "
> >>org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
> >>MetaData.
> >>
> >>
> >>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
> class
> >>>
> >>>
> >>"Person" has been defined as a Map with keys of type String. This key
> type
> >>has been resolved to java.lang.String.
> >>
> >>
> >>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in
> class
> >>>
> >>>
> >>"Person" has been defined as a Map with values of type String. This
> value
> >>type has been resolved to java.lang.String.
> >>
> >>
> >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "FullTimeEmployee"
> >>>
> >>>
> >>has had its persistence-capable-superclass set to "
> >>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> >>MetaData.
> >>
> >>
> >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "MedicalInsurance"
> >>>
> >>>
> >>has had its persistence-capable-superclass set to "
> >>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> >>MetaData.
> >>
> >>
> >>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "PartTimeEmployee"
> >>>
> >>>
> >>has had its persistence-capable-superclass set to "
> >>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> >>MetaData.
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
> >>>
> >>>
> >>org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
> >>does not have its own datastore table.
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Company [Table :
> >>datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Insurance [Table :
> >>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
> >>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
> superclass-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
> >>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy :
> superclass-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Project [Table :
> >>datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Person [Table :
> >>datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Employee [Table :
> >>datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
> >>
> >>
> >>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Class : org.apache.jdo.tck.pc.company.Department [Table :
> >>datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
> >>
> >>
> >>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
> >>datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
> >>
> >>
> >>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
> >>datastoreidentity0.PROJECT_MEMBER]
> >>
> >>
> >>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
> >>datastoreidentity0.PROJECT_REVIEWER]
> >>
> >>
> >>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Field : org.apache.jdo.tck.pc.company.Project.members [Table :
> >>datastoreidentity0.PROJECT_MEMBER]
> >>
> >>
> >>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> >>>
> >>>
> >>Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
> >>datastoreidentity0.PROJECT_REVIEWER]
> >>
> >>
> >>>18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
> >>exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PERSONS" - the table apparently doesnt yet
> exist
> >>in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
> >>exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
> >>yet exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
> >>exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
> doesnt
> >>yet exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> >>yet exist in the datastore
> >>
> >>
> >>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently
> doesnt
> >>yet exist in the datastore
> >>
> >>
> >>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
> >>doesnt yet exist in the datastore
> >>
> >>
> >>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> >>>
> >>>
> >>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> >>yet exist in the datastore
> >>
> >>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >--
> >Karan Malhi
> >
> >
> >
>
>
>


--
Karan Malhi

Re: My first test run -- 'splain me this, Lucy

Posted by Michelle Caisse <Mi...@Sun.COM>.
Hi Karan,

A mapping of 0 is set to an empty string for the purpose of setting 
jdo.tck.schema to schema.sql, as you point out.  However, the value 0 is 
needed for the name of the database schema, as in "applicationidentity0".

-- Michelle

Karan Malhi wrote:

>Hi Michelle,
>If you specify a mapping = 0 , maven basically considers it as an empty
>string so that it can set jdo.tck.schema=schema.sql.
><j:if test="${mapping == zeroval}">
><j:set var="jdo.tck.mapping" value=""/>
></j:if>
>
>If you specify a mapping= 1, then maven will append the number 1 to the word
>"schema" so now jdo.tck.schema=schema1.sql.
>
><goal name="doInstallSchema"> <!-- Set schema name from mapping designator
>-->
><j:choose>
><j:when test="${nextMapping == zeroval}">
><j:set var="jdo.tck.schema" value="schema.sql"/>
></j:when>
><j:otherwise>
><j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
></j:otherwise>
></j:choose>
>
>
>On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
>  
>
>>Hi Matthew,
>>
>>I've never seen this. I'd like to know what detach.list looks like. I
>>don't see it or the test class in the attachment list.
>>It should look something like what's shown in step 9 of
>>http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
>>should equal 0, not "" as shown in the console output you quote.
>>
>>-- Michelle
>>
>>Matthew T. Adams wrote:
>>
>>    
>>
>>>Hi all,
>>>
>>>I'm trying to run my first test, and I'm getting some results that I
>>>understand, and some results that I don't. Attached are the logs
>>>      
>>>
>>produced,
>>    
>>
>>>as well as the test class & config files.
>>>
>>>What I don't quite get is this console output:
>>>doRuntck.jdori:
>>>[java] Problems reading testlist JDOTCKTestCases.list:
>>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
>>>      
>>>
>>find
>>    
>>
>>>the file specified)
>>>[java] Description:
>>>[java] Time: 000
>>>[java] derby-app-detach-junit.txt:
>>>[java] OK Tests run: 000, Time: 000 seconds.
>>>[java] Excluded tests:
>>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>>[echo] Finished run with database="derby"
>>>identitytype="applicationidentity" mapping="".
>>>
>>>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>>>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
>>>      
>>>
>>command
>>    
>>
>>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>>>Instead, the message I get is that 1 of 2 configurations failed.
>>>
>>>What gives? Any ideas?
>>>
>>>--matthew
>>>
>>>Matthew T. Adams
>>>Corporate Technical Advisor & Senior Consultant
>>>Mobile: +1 253 732 1051
>>>Phone: +1 206 331 3833
>>>Fax: +1 815 331 0952
>>>matthew.adams@xcalia.com
>>>P.O. Box 24163
>>>Federal Way, WA 98093
>>>www.xcalia.com <http://www.xcalia.com>
>>>
>>>
>>>
>>>Xcalia makes implementing SOA easy with agile business intermediation
>>>software that combines heterogeneous data with services to easily develop
>>>and deploy transactional composite applications. Enterprises can quickly
>>>respond to changing business requirements and dramatically reduce the
>>>      
>>>
>>costs
>>    
>>
>>>of data access and service integration.
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>RUN SetDetachAllOnCommit.test ERROR
>>>Description: Detachment tests with standard mapping, no testdata.
>>>Time: 006
>>>There was 1 error:
>>>1) test(
>>>      
>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit)java.lang.AbstractMethodError:
>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>    
>>
>>>at
>>>      
>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>(SetDetachAllOnCommit.java:58)
>>    
>>
>>>at
>>>      
>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>(SetDetachAllOnCommit.java:50)
>>    
>>
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>      
>>>
>>NativeMethodAccessorImpl.java:39)
>>    
>>
>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>      
>>>
>>DelegatingMethodAccessorImpl.java:25)
>>    
>>
>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>      
>>>
>>:115)
>>    
>>
>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>>>FAILURES!!!
>>>Error summary:
>>>001 error: java.lang.AbstractMethodError:
>>>      
>>>
>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>    
>>
>>>derby-dsid-detach-junit.txt:
>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>      
>>>
>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>    
>>
>>>------------------------------------------------------------------------
>>>
>>>18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during setUp or
>>>      
>>>
>>runtest:
>>    
>>
>>>java.lang.AbstractMethodError:
>>>      
>>>
>>org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>>    
>>
>>>at
>>>      
>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
>>(SetDetachAllOnCommit.java:58)
>>    
>>
>>>at
>>>      
>>>
>>org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
>>(SetDetachAllOnCommit.java:50)
>>    
>>
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>      
>>>
>>NativeMethodAccessorImpl.java:39)
>>    
>>
>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>      
>>>
>>DelegatingMethodAccessorImpl.java:25)
>>    
>>
>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>at junit.framework.TestCase.runTest(TestCase.java:154)
>>>at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>>>at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>at junit.framework.TestResult.run(TestResult.java:109)
>>>at junit.framework.TestCase.run(TestCase.java:118)
>>>at junit.framework.TestSuite.runTest(TestSuite.java:208)
>>>at junit.framework.TestSuite.run(TestSuite.java:203)
>>>at junit.textui.TestRunner.doRun(TestRunner.java:116)
>>>at junit.textui.TestRunner.doRun(TestRunner.java:109)
>>>at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
>>>      
>>>
>>:115)
>>    
>>
>>>at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>derby-app-detach-junit.txt:
>>>OK Tests run: 000, Time: 000 seconds.
>>>derby-dsid-detach-junit.txt:
>>>** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>>>-------
>>>Result: 1 of 2 configurations failed.
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>Description:
>>>Time: 000
>>>derby-app-detach-junit.txt:
>>>OK Tests run: 000, Time: 000 seconds.
>>>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>      
>>>
>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>    
>>
>>>------------------------------------------------------------------------
>>>
>>>18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog clients using
>>>      
>>>
>>log4j logging.
>>    
>>
>>>18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
>>>      
>>>
>>Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true;
>>trace: 10]
>>    
>>
>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory - Vendor:
>>>      
>>>
>>JPOX Version: 1.1.0-rc-1
>>    
>>
>>>18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
>>>      
>>>
>>initialised for datastore URL=jdbc:derby:jdotckdb driver=
>>org.apache.derby.jdbc.EmbeddedDriver userName=
>>    
>>
>>>18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
>>>      
>>>
>>Initializing c3p0 pool...
>>com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement -> 3,
>>acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose ->
>>false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
>>checkoutTimeout -> 0, connectionTesterClassName ->
>>com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
>>driverClass -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation
>>-> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
>>1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl ->
>>jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15,
>>maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
>>numHelperThreads -> 3, preferredTestQuery -> null, properties ->
>>{user=******, password=******}, propertyCycle -> 300,
>>testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
>>usesTraditionalReflectiveProxies -> false ]
>>    
>>
>>>18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
>>>      
>>>
>>CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0>,
>>major=10, minor=1, revision=1
>>    
>>
>>>Identifier Names : UPPERCASE
>>>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>,
>>>      
>>>
>>major=10, minor=1
>>    
>>
>>>Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
>>>      
>>>
>>Delimeters="
>>    
>>
>>>Identifier Support in DDL : catalog=false schema=true
>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog "",
>>>      
>>>
>>Schema "TCKUSER" using "None" auto-start option
>>    
>>
>>>18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
>>>      
>>>
>>"TCKUSER" initialised - managing 0 classes
>>    
>>
>>>18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
>>    
>>
>>>18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
>>derby.orm"
>>    
>>
>>>18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
>>    
>>
>>>18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
>>derby.orm"
>>    
>>
>>>18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
>>datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
>>datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist
>>in the datastore
>>    
>>
>>>18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet exist
>>in the datastore
>>    
>>
>>>18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
>>    
>>
>>>18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
>>>      
>>>
>>"file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
>>derby.orm"
>>    
>>
>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "DentalInsurance"
>>>      
>>>
>>has had its persistence-capable-superclass set to "
>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>MetaData.
>>    
>>
>>>18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has had
>>>      
>>>
>>its persistence-capable-superclass set to "
>>org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
>>MetaData.
>>    
>>
>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in class
>>>      
>>>
>>"Person" has been defined as a Map with keys of type String. This key type
>>has been resolved to java.lang.String.
>>    
>>
>>>18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in class
>>>      
>>>
>>"Person" has been defined as a Map with values of type String. This value
>>type has been resolved to java.lang.String.
>>    
>>
>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "FullTimeEmployee"
>>>      
>>>
>>has had its persistence-capable-superclass set to "
>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>MetaData.
>>    
>>
>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "MedicalInsurance"
>>>      
>>>
>>has had its persistence-capable-superclass set to "
>>org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
>>MetaData.
>>    
>>
>>>18:17:12,790 (main) INFO [JPOX.MetaData] - The class "PartTimeEmployee"
>>>      
>>>
>>has had its persistence-capable-superclass set to "
>>org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
>>MetaData.
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
>>>      
>>>
>>org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
>>does not have its own datastore table.
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Company [Table :
>>datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Insurance [Table :
>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
>>datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Project [Table :
>>datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Person [Table :
>>datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Employee [Table :
>>datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>>    
>>
>>>18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Class : org.apache.jdo.tck.pc.company.Department [Table :
>>datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>>    
>>
>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
>>datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>>    
>>
>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
>>datastoreidentity0.PROJECT_MEMBER]
>>    
>>
>>>18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
>>datastoreidentity0.PROJECT_REVIEWER]
>>    
>>
>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Field : org.apache.jdo.tck.pc.company.Project.members [Table :
>>datastoreidentity0.PROJECT_MEMBER]
>>    
>>
>>>18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
>>>      
>>>
>>Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
>>datastoreidentity0.PROJECT_REVIEWER]
>>    
>>
>>>18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
>>exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist
>>in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
>>exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
>>yet exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
>>exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
>>yet exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>yet exist in the datastore
>>    
>>
>>>18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
>>yet exist in the datastore
>>    
>>
>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
>>doesnt yet exist in the datastore
>>    
>>
>>>18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
>>>      
>>>
>>table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
>>yet exist in the datastore
>>    
>>
>>>      
>>>
>>
>>    
>>
>
>
>--
>Karan Malhi
>
>  
>


Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
Hi Michelle,
If you specify a mapping = 0 , maven basically considers it as an empty
string so that it can set jdo.tck.schema=schema.sql.
<j:if test="${mapping == zeroval}">
<j:set var="jdo.tck.mapping" value=""/>
</j:if>

If you specify a mapping= 1, then maven will append the number 1 to the word
"schema" so now jdo.tck.schema=schema1.sql.

<goal name="doInstallSchema"> <!-- Set schema name from mapping designator
-->
<j:choose>
<j:when test="${nextMapping == zeroval}">
<j:set var="jdo.tck.schema" value="schema.sql"/>
</j:when>
<j:otherwise>
<j:set var="jdo.tck.schema" value="schema${nextMapping}.sql"/>
</j:otherwise>
</j:choose>


On 9/22/05, Michelle Caisse <Mi...@sun.com> wrote:
>
> Hi Matthew,
>
> I've never seen this. I'd like to know what detach.list looks like. I
> don't see it or the test class in the attachment list.
> It should look something like what's shown in step 9 of
> http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo. mapping
> should equal 0, not "" as shown in the console output you quote.
>
> -- Michelle
>
> Matthew T. Adams wrote:
>
> >Hi all,
> >
> >I'm trying to run my first test, and I'm getting some results that I
> >understand, and some results that I don't. Attached are the logs
> produced,
> >as well as the test class & config files.
> >
> >What I don't quite get is this console output:
> >doRuntck.jdori:
> > [java] Problems reading testlist JDOTCKTestCases.list:
> >java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
> find
> >the file specified)
> > [java] Description:
> > [java] Time: 000
> > [java] derby-app-detach-junit.txt:
> > [java] OK Tests run: 000, Time: 000 seconds.
> > [java] Excluded tests:
> >[org.apache.jdo.tck.enhancement.FieldAccessModified,
> >org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> > [echo] Finished run with database="derby"
> >identitytype="applicationidentity" mapping="".
> >
> >I didn't expect JDOTCKTestCases.list to be searched for at all, since I
> >specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
> command
> >line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
> >JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> >Instead, the message I get is that 1 of 2 configurations failed.
> >
> >What gives? Any ideas?
> >
> >--matthew
> >
> >Matthew T. Adams
> >Corporate Technical Advisor & Senior Consultant
> >Mobile: +1 253 732 1051
> >Phone: +1 206 331 3833
> >Fax: +1 815 331 0952
> >matthew.adams@xcalia.com
> >P.O. Box 24163
> >Federal Way, WA 98093
> >www.xcalia.com <http://www.xcalia.com>
> >
> >
> >
> >Xcalia makes implementing SOA easy with agile business intermediation
> >software that combines heterogeneous data with services to easily develop
> >and deploy transactional composite applications. Enterprises can quickly
> >respond to changing business requirements and dramatically reduce the
> costs
> >of data access and service integration.
> >
> >
> >------------------------------------------------------------------------
> >
> >RUN SetDetachAllOnCommit.test ERROR
> >Description: Detachment tests with standard mapping, no testdata.
> >Time: 006
> >There was 1 error:
> >1) test(
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit)java.lang.AbstractMethodError:
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> > at
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> (SetDetachAllOnCommit.java:58)
> > at
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> (SetDetachAllOnCommit.java:50)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> > at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> > at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> :115)
> > at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
> >FAILURES!!!
> >Error summary:
> >001 error: java.lang.AbstractMethodError:
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> >derby-dsid-detach-junit.txt:
> > ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> >Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >
> >
> >------------------------------------------------------------------------
> >
> >18:17:10,907 (main) INFO [org.apache.jdo.tck] - Exception during setUp or
> runtest:
> >java.lang.AbstractMethodError:
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
> > at
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit
> (SetDetachAllOnCommit.java:58)
> > at
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> (SetDetachAllOnCommit.java:50)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > at junit.framework.TestSuite.run(TestSuite.java:203)
> > at junit.textui.TestRunner.doRun(TestRunner.java:116)
> > at junit.textui.TestRunner.doRun(TestRunner.java:109)
> > at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> :115)
> > at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
> >
> >
> >------------------------------------------------------------------------
> >
> >derby-app-detach-junit.txt:
> > OK Tests run: 000, Time: 000 seconds.
> >derby-dsid-detach-junit.txt:
> > ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
> >-------
> >Result: 1 of 2 configurations failed.
> >
> >
> >------------------------------------------------------------------------
> >
> >Description:
> >Time: 000
> >derby-app-detach-junit.txt:
> > OK Tests run: 000, Time: 000 seconds.
> >Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >
> >
> >------------------------------------------------------------------------
> >
> >18:17:07,773 (main) INFO [com.mchange.v2.log.MLog] - MLog clients using
> log4j logging.
> >18:17:07,803 (main) INFO [com.mchange.v2.c3p0.C3P0Registry] -
> Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true;
> trace: 10]
> >18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory - Vendor:
> JPOX Version: 1.1.0-rc-1
> >18:17:08,073 (main) INFO [JPOX.JDO] - PersistenceManagerFactory
> initialised for datastore URL=jdbc:derby:jdotckdb driver=
> org.apache.derby.jdbc.EmbeddedDriver userName=
> >18:17:08,384 (main) INFO [com.mchange.v2.c3p0.PoolBackedDataSource] -
> Initializing c3p0 pool...
> com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement -> 3,
> acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose ->
> false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
> checkoutTimeout -> 0, connectionTesterClassName ->
> com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null,
> driverClass -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation
> -> null, forceIgnoreUnresolvedTransactions -> false, identityToken ->
> 1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl ->
> jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15,
> maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
> numHelperThreads -> 3, preferredTestQuery -> null, properties ->
> {user=******, password=******}, propertyCycle -> 300,
> testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
> usesTraditionalReflectiveProxies -> false ]
> >18:17:10,897 (main) INFO [JPOX.RDBMS] - RDBMS Adapter initialised :
> CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0>,
> major=10, minor=1, revision=1
> >Identifier Names : UPPERCASE
> >Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0<http://10.1.1.0>,
> major=10, minor=1
> >Identifier Max Lengths : Table=128 Column=30 Constraint=18 Index=18
> Delimeters="
> >Identifier Support in DDL : catalog=false schema=true
> >18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Initialising Catalog "",
> Schema "TCKUSER" using "None" auto-start option
> >18:17:10,897 (main) INFO [JPOX.RDBMS.SCHEMA] - Catalog "", Schema
> "TCKUSER" initialised - managing 0 classes
> >18:17:11,078 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
> >18:17:11,218 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
> derby.orm"
> >18:17:11,238 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
> >18:17:11,258 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-
> derby.orm"
> >18:17:11,348 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
> datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
> >18:17:11,488 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
> datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
> >18:17:12,069 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist
> in the datastore
> >18:17:12,099 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet exist
> in the datastore
> >18:17:12,690 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
> >18:17:12,730 (main) INFO [JPOX.MetaData] - Parsing MetaData from file
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-
> derby.orm"
> >18:17:12,780 (main) INFO [JPOX.MetaData] - The class "DentalInsurance"
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> MetaData.
> >18:17:12,780 (main) INFO [JPOX.MetaData] - The class "Employee" has had
> its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
> MetaData.
> >18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in class
> "Person" has been defined as a Map with keys of type String. This key type
> has been resolved to java.lang.String.
> >18:17:12,790 (main) INFO [JPOX.MetaData] - Field "phoneNumbers" in class
> "Person" has been defined as a Map with values of type String. This value
> type has been resolved to java.lang.String.
> >18:17:12,790 (main) INFO [JPOX.MetaData] - The class "FullTimeEmployee"
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> MetaData.
> >18:17:12,790 (main) INFO [JPOX.MetaData] - The class "MedicalInsurance"
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> MetaData.
> >18:17:12,790 (main) INFO [JPOX.MetaData] - The class "PartTimeEmployee"
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> MetaData.
> >18:17:12,800 (main) INFO [JPOX.RDBMS] - The class "
> org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
> does not have its own datastore table.
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Company [Table :
> datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Insurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Project [Table :
> datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Person [Table :
> datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Employee [Table :
> datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
> >18:17:12,800 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Class : org.apache.jdo.tck.pc.company.Department [Table :
> datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
> >18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
> datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
> >18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
> datastoreidentity0.PROJECT_MEMBER]
> >18:17:12,830 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
> datastoreidentity0.PROJECT_REVIEWER]
> >18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Field : org.apache.jdo.tck.pc.company.Project.members [Table :
> datastoreidentity0.PROJECT_MEMBER]
> >18:17:12,840 (main) INFO [JPOX.RDBMS.SCHEMA] - Managing Persistence of
> Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
> datastoreidentity0.PROJECT_REVIEWER]
> >18:17:12,850 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
> exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist
> in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
> exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
> yet exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
> exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
> yet exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> yet exist in the datastore
> >18:17:12,860 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
> yet exist in the datastore
> >18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
> doesnt yet exist in the datastore
> >18:17:12,870 (main) INFO [JPOX.RDBMS.SCHEMA] - No column info found for
> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> yet exist in the datastore
> >
> >
>
>
>


--
Karan Malhi

Re: My first test run -- 'splain me this, Lucy

Posted by Michelle Caisse <Mi...@Sun.COM>.
Hi Matthew,

I've never seen this.  I'd like to know what detach.list looks like.  I 
don't see it or the test class in the attachment list.
It should look something like what's shown in step 9 of 
http://wiki.apache.org/jdo/TechnologyCompatibilityKit#HowTo.  mapping 
should equal 0, not "" as shown in the console output you quote.

-- Michelle

Matthew T. Adams wrote:

>Hi all,
>
>I'm trying to run my first test, and I'm getting some results that I
>understand, and some results that I don't.  Attached are the logs produced,
>as well as the test class & config files.
>
>What I don't quite get is this console output:
>doRuntck.jdori:
>    [java] Problems reading testlist JDOTCKTestCases.list:
>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot find
>the file specified)
>    [java] Description:
>    [java] Time: 000
>    [java] derby-app-detach-junit.txt:
>    [java]     OK Tests run: 000, Time: 000 seconds.
>    [java] Excluded tests:
>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>    [echo] Finished run with database="derby"
>identitytype="applicationidentity" mapping="".
>
>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the command
>line.  I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>Instead, the message I get is that 1 of 2 configurations failed.
>
>What gives?  Any ideas?
>
>--matthew
>
>Matthew T. Adams
>Corporate Technical Advisor & Senior Consultant
>Mobile:  +1 253 732 1051
>Phone:  +1 206 331 3833
>Fax:  +1 815 331 0952
>matthew.adams@xcalia.com
>P.O. Box 24163
>Federal Way, WA  98093
>www.xcalia.com
>
>
>
>Xcalia makes implementing SOA easy with agile business intermediation
>software that combines heterogeneous data with services to easily develop
>and deploy transactional composite applications.  Enterprises can quickly
>respond to changing business requirements and dramatically reduce the costs
>of data access and service integration.
>  
>
>------------------------------------------------------------------------
>
>RUN SetDetachAllOnCommit.test	   ERROR
>Description: Detachment tests with standard mapping, no testdata.
>Time: 006
>There was 1 error:
>1) test(org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit)java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit(SetDetachAllOnCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
>	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>FAILURES!!!
>Error summary:
>001 error:  java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>derby-dsid-detach-junit.txt:
>    ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified, org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>  
>
>------------------------------------------------------------------------
>
>18:17:10,907 (main) INFO  [org.apache.jdo.tck] - Exception during setUp or runtest: 
>java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit(SetDetachAllOnCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>	at java.lang.reflect.Method.invoke(Method.java:324)
>	at junit.framework.TestCase.runTest(TestCase.java:154)
>	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>	at junit.framework.TestResult$1.protect(TestResult.java:106)
>	at junit.framework.TestResult.runProtected(TestResult.java:124)
>	at junit.framework.TestResult.run(TestResult.java:109)
>	at junit.framework.TestCase.run(TestCase.java:118)
>	at junit.framework.TestSuite.runTest(TestSuite.java:208)
>	at junit.framework.TestSuite.run(TestSuite.java:203)
>	at junit.textui.TestRunner.doRun(TestRunner.java:116)
>	at junit.textui.TestRunner.doRun(TestRunner.java:109)
>	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
>	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>  
>
>------------------------------------------------------------------------
>
>derby-app-detach-junit.txt:
>    OK Tests run: 000, Time: 000 seconds.
>derby-dsid-detach-junit.txt:
>    ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>-------
>Result: 1 of 2 configurations failed.
>  
>
>------------------------------------------------------------------------
>
>Description: 
>Time: 000
>derby-app-detach-junit.txt:
>    OK Tests run: 000, Time: 000 seconds.
>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified, org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>  
>
>------------------------------------------------------------------------
>
>18:17:07,773 (main) INFO  [com.mchange.v2.log.MLog] - MLog clients using log4j logging.
>18:17:07,803 (main) INFO  [com.mchange.v2.c3p0.C3P0Registry] - Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true; trace: 10]
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory - Vendor: JPOX  Version: 1.1.0-rc-1
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:jdotckdb driver=org.apache.derby.jdbc.EmbeddedDriver userName=
>18:17:08,384 (main) INFO  [com.mchange.v2.c3p0.PoolBackedDataSource] - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null, driverClass -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl -> jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ]
>18:17:10,897 (main) INFO  [JPOX.RDBMS] - RDBMS Adapter initialised : CloudscapeAdapter : Apache Derby version=10.1.1.0, major=10, minor=1, revision=1
>Identifier Names : UPPERCASE 
>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0, major=10, minor=1
>Identifier Max Lengths : Table=128  Column=30  Constraint=18  Index=18  Delimeters="
>Identifier Support in DDL : catalog=false  schema=true
>18:17:10,897 (main) INFO  [JPOX.RDBMS.SCHEMA] - Initialising Catalog "", Schema "TCKUSER" using "None" auto-start option
>18:17:10,897 (main) INFO  [JPOX.RDBMS.SCHEMA] - Catalog "", Schema "TCKUSER" initialised - managing 0 classes
>18:17:11,078 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
>18:17:11,218 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-derby.orm"
>18:17:11,238 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
>18:17:11,258 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-derby.orm"
>18:17:11,348 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table : datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>18:17:11,488 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.mylib.PCRect [Table : datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>18:17:12,069 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist in the datastore
>18:17:12,099 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet exist in the datastore
>18:17:12,690 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
>18:17:12,730 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-derby.orm"
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "DentalInsurance" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the MetaData.
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "Employee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in class "Person" has been defined as a Map with keys of type String. This key type has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in class "Person" has been defined as a Map with values of type String. This value type has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "FullTimeEmployee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "MedicalInsurance" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "PartTimeEmployee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the MetaData.
>18:17:12,800 (main) INFO  [JPOX.RDBMS] - The class "org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so does not have its own datastore table.
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Company [Table : datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Insurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Project [Table : datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Person [Table : datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Employee [Table : datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Department [Table : datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table : datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Employee.projects [Table : datastoreidentity0.PROJECT_MEMBER]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table : datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Project.members [Table : datastoreidentity0.PROJECT_MEMBER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table : datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,850 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently doesnt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt yet exist in the datastore
>  
>


Re: My first test run -- 'splain me this, Lucy

Posted by Michael Bouschen <mb...@spree.de>.
Hi Karan,

your analysis is correct. The problem is that class TestListSuite, the 
property "testlist" and the file JDOTCKTestCases.list are outdated. We 
do not need any of them anymore. I plan to cleanup this as part of 
fixing JDO-92 ("Remove support for GUI test runner"), but I haven't had 
the time to do so.

As you pointed out, the problem occurs if the property jdo.tck.classes 
is not defined. Then the test runner runs class TestListSuite which 
tries to get the list of test class names from JDOTCKTestCases.list.

Regards Michael

> Do we really need the system property "testlist"?
> 
> I guess i found the place where JDOTCKTestCases.list is specified as the
> default. It is specified in the file
> 
> test/java/org/apache/jdo/tck/util/TestListSuite.java:
> 
> public static final String TESTLIST_DEFAULT = "JDOTCKTestCases.list";
> 
> If you look at the error, looks like it is trying to find a system property
> "testlist" and if that property is not specified, then its default value is
> JDOTCKTestCases.list.
> 
> if you look at the catch block of the method getTestClassNames, it prints
> out the error which Matthew got:
> 
> Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
> directory)
> 
> protected List getTestClassNames() {
> // get the name of the testlist file as system property
> String testlist = System.getProperty(TESTLIST_PROPERTY, TESTLIST_DEFAULT);
> List testClassNames = new ArrayList();
> try {
> BufferedReader reader = getTestListReader(testlist);
> for (String line = reader.readLine();
> line != null;
> line = reader.readLine()) {
> line = line.trim();
> if (isTestClassName(line)) {
> testClassNames.add(line);
> }
> }
> reader.close();
> }
> catch (IOException ex) {
> System.out.println("Problems reading testlist " + testlist + ": " + ex);
> }
> return testClassNames;
> }
> 
> I added a ex.printStackTrace() to the catch block and got the following
> output:
> 
> doRuntck.jdori:
> [java] Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
> directory)
> [java] java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
> directory)
> [java] at java.io.FileInputStream.open(Native Method)
> [java] at java.io.FileInputStream.<init>(FileInputStream.java:106)
> [java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
> [java] at java.io.FileReader.<init>(FileReader.java:41)
> [java] at org.apache.jdo.tck.util.TestListSuite$1.run(TestListSuite.java
> :149)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at org.apache.jdo.tck.util.TestListSuite.getTestListReader(
> TestListSuite.java:146)
> [java] at org.apache.jdo.tck.util.TestListSuite.getTestClassNames(
> TestListSuite.java:124)
> [java] at org.apache.jdo.tck.util.TestListSuite.<init>(TestListSuite.java
> :66)
> [java] at org.apache.jdo.tck.util.TestListSuite.suite(TestListSuite.java:85)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> [java] at java.lang.reflect.Method.invoke(Method.java:324)
> [java] at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:111)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
> :107)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
> :93)
> [java] Description: Test Stuff
> [java] Time: 000
> [java] derby-app-mytest-junit.txt:
> [java] OK Tests run: 000, Time: 000 seconds.
> [java] Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> [echo] Finished run with database="derby" identitytype="applicationidentity"
> mapping="".
> 
> [echo]
> 
> result:
> [java] Result: All (1) configurations passed.
> [java] See file
> '/home/karan/Projects/jdolatest/jdo/trunk/tck20/target/logs/20050922-234348/TCK-
> results.txt' for details.
> 
> 
> 
> 
> On 9/22/05, Karan Malhi <ka...@gmail.com> wrote:
> 
>>I was able to reproduce the error (not fully though), just the part where
>>it looks for JDOTCKTestCases.list. Below is the error(partial output)
>>Problems reading testlist JDOTCKTestCases.list:
>>java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
>>directory)
>>
>>This is caused if you do not specify the property jdo.tck.classes=<nameofclass>
>>in the detach.conf file.
>>
>>I looked at maven.xml but couldnt find the place where it sets this
>>property to a default of JDOTCKTestCases.list
>>
>>On 9/22/05, Craig Russell < Craig.Russell@sun.com> wrote:
>>
>>>Here's what I use for my conf file:
>>>[d-usca14-133-145:jdo/trunk/tck20] clr% cat test/conf/clr.conf
>>>jdo.tck.description = Test Stuff
>>>
>>>jdo.tck.mapping.companyfactory=org.apache.jdo.tck.pc.company.CompanyFactoryPersistentInterface
>>>jdo.tck.classes =
>>>org.apache.jdo.tck.transactions.GetRollbackOnlyReturnsFalseUntilSet
>>>jdo.tck.testdata =
>>>org/apache/jdo/tck/pc/company/companyNoRelationships.xml
>>>jdo.tck.mapping = 0
>>>
>>>Does this help?
>>>
>>>Craig
>>>
>>>On Sep 22, 2005, at 7:00 PM, Craig Russell wrote:
>>>
>>>Hi Matthew,
>>>What's the content of test/conf/detach.list?
>>>
>>>Craig
>>>
>>>On Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:
>>>
>>>Hi all,
>>>
>>>I'm trying to run my first test, and I'm getting some results that I
>>>understand, and some results that I don't. Attached are the logs
>>>produced,
>>>as well as the test class & config files.
>>>
>>>What I don't quite get is this console output:
>>>doRuntck.jdori:
>>>[java] Problems reading testlist JDOTCKTestCases.list:
>>>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
>>>find
>>>the file specified)
>>>[java] Description:
>>>[java] Time: 000
>>> [java] derby-app-detach-junit.txt:
>>>[java] OK Tests run: 000, Time: 000 seconds.
>>>[java] Excluded tests:
>>>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>>>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>> [echo] Finished run with database="derby"
>>>identitytype="applicationidentity" mapping="".
>>>
>>>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>>>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
>>>command
>>>line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>>>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>>>Instead, the message I get is that 1 of 2 configurations failed.
>>>
>>>What gives? Any ideas?
>>>
>>>--matthew
>>>
>>>Matthew T. Adams
>>>Corporate Technical Advisor & Senior Consultant
>>>Mobile: +1 253 732 1051
>>>Phone: +1 206 331 3833
>>>Fax: +1 815 331 0952
>>>matthew.adams@xcalia.com
>>>P.O. Box 24163
>>>Federal Way, WA 98093
>>>www.xcalia.com <http://www.xcalia.com>
>>>
>>>
>>>
>>>Xcalia makes implementing SOA easy with agile business intermediation
>>>software that combines heterogeneous data with services to easily
>>>develop
>>>and deploy transactional composite applications. Enterprises can quickly
>>>
>>>respond to changing business requirements and dramatically reduce the
>>>costs
>>>of data access and service integration.
>>>
>>><derby-dsid-detach-junit.txt >
>>><derby-dsid-detach-tck.txt>
>>><TCK-results.txt>
>>><derby-app-detach-junit.txt>
>>><derby-dsid-detach-jpox.txt>
>>>
>>>
>>>Craig Russell
>>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>>408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
>>>P.S. A good JDO? O, Gasp!
>>>
>>>
>>> Craig Russell
>>>
>>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>>
>>>408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
>>>
>>>P.S. A good JDO? O, Gasp!
>>>
>>>
>>>
>>
>>
>>--
>>Karan Malhi
>>
> 
> 
> 
> 
> --
> Karan Malhi
> 


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			

Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
Do we really need the system property "testlist"?

I guess i found the place where JDOTCKTestCases.list is specified as the
default. It is specified in the file

test/java/org/apache/jdo/tck/util/TestListSuite.java:

public static final String TESTLIST_DEFAULT = "JDOTCKTestCases.list";

If you look at the error, looks like it is trying to find a system property
"testlist" and if that property is not specified, then its default value is
JDOTCKTestCases.list.

if you look at the catch block of the method getTestClassNames, it prints
out the error which Matthew got:

Problems reading testlist JDOTCKTestCases.list:
java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
directory)

protected List getTestClassNames() {
// get the name of the testlist file as system property
String testlist = System.getProperty(TESTLIST_PROPERTY, TESTLIST_DEFAULT);
List testClassNames = new ArrayList();
try {
BufferedReader reader = getTestListReader(testlist);
for (String line = reader.readLine();
line != null;
line = reader.readLine()) {
line = line.trim();
if (isTestClassName(line)) {
testClassNames.add(line);
}
}
reader.close();
}
catch (IOException ex) {
System.out.println("Problems reading testlist " + testlist + ": " + ex);
}
return testClassNames;
}

I added a ex.printStackTrace() to the catch block and got the following
output:

doRuntck.jdori:
[java] Problems reading testlist JDOTCKTestCases.list:
java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
directory)
[java] java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
directory)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[java] at java.io.FileReader.<init>(FileReader.java:41)
[java] at org.apache.jdo.tck.util.TestListSuite$1.run(TestListSuite.java
:149)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at org.apache.jdo.tck.util.TestListSuite.getTestListReader(
TestListSuite.java:146)
[java] at org.apache.jdo.tck.util.TestListSuite.getTestClassNames(
TestListSuite.java:124)
[java] at org.apache.jdo.tck.util.TestListSuite.<init>(TestListSuite.java
:66)
[java] at org.apache.jdo.tck.util.TestListSuite.suite(TestListSuite.java:85)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:111)
[java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java
:107)
[java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java
:93)
[java] Description: Test Stuff
[java] Time: 000
[java] derby-app-mytest-junit.txt:
[java] OK Tests run: 000, Time: 000 seconds.
[java] Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
[echo] Finished run with database="derby" identitytype="applicationidentity"
mapping="".

[echo]

result:
[java] Result: All (1) configurations passed.
[java] See file
'/home/karan/Projects/jdolatest/jdo/trunk/tck20/target/logs/20050922-234348/TCK-
results.txt' for details.




On 9/22/05, Karan Malhi <ka...@gmail.com> wrote:
>
> I was able to reproduce the error (not fully though), just the part where
> it looks for JDOTCKTestCases.list. Below is the error(partial output)
> Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
> directory)
>
> This is caused if you do not specify the property jdo.tck.classes=<nameofclass>
> in the detach.conf file.
>
> I looked at maven.xml but couldnt find the place where it sets this
> property to a default of JDOTCKTestCases.list
>
> On 9/22/05, Craig Russell < Craig.Russell@sun.com> wrote:
> >
> > Here's what I use for my conf file:
> > [d-usca14-133-145:jdo/trunk/tck20] clr% cat test/conf/clr.conf
> > jdo.tck.description = Test Stuff
> >
> > jdo.tck.mapping.companyfactory=org.apache.jdo.tck.pc.company.CompanyFactoryPersistentInterface
> > jdo.tck.classes =
> > org.apache.jdo.tck.transactions.GetRollbackOnlyReturnsFalseUntilSet
> > jdo.tck.testdata =
> > org/apache/jdo/tck/pc/company/companyNoRelationships.xml
> > jdo.tck.mapping = 0
> >
> > Does this help?
> >
> > Craig
> >
> > On Sep 22, 2005, at 7:00 PM, Craig Russell wrote:
> >
> > Hi Matthew,
> > What's the content of test/conf/detach.list?
> >
> > Craig
> >
> > On Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:
> >
> > Hi all,
> >
> > I'm trying to run my first test, and I'm getting some results that I
> > understand, and some results that I don't. Attached are the logs
> > produced,
> > as well as the test class & config files.
> >
> > What I don't quite get is this console output:
> > doRuntck.jdori:
> > [java] Problems reading testlist JDOTCKTestCases.list:
> > java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
> > find
> > the file specified)
> > [java] Description:
> > [java] Time: 000
> >  [java] derby-app-detach-junit.txt:
> > [java] OK Tests run: 000, Time: 000 seconds.
> > [java] Excluded tests:
> > [org.apache.jdo.tck.enhancement.FieldAccessModified,
> > org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> >  [echo] Finished run with database="derby"
> > identitytype="applicationidentity" mapping="".
> >
> > I didn't expect JDOTCKTestCases.list to be searched for at all, since I
> > specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
> > command
> > line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
> > JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> > Instead, the message I get is that 1 of 2 configurations failed.
> >
> > What gives? Any ideas?
> >
> > --matthew
> >
> > Matthew T. Adams
> > Corporate Technical Advisor & Senior Consultant
> > Mobile: +1 253 732 1051
> > Phone: +1 206 331 3833
> > Fax: +1 815 331 0952
> > matthew.adams@xcalia.com
> > P.O. Box 24163
> > Federal Way, WA 98093
> > www.xcalia.com <http://www.xcalia.com>
> >
> >
> >
> > Xcalia makes implementing SOA easy with agile business intermediation
> > software that combines heterogeneous data with services to easily
> > develop
> > and deploy transactional composite applications. Enterprises can quickly
> >
> > respond to changing business requirements and dramatically reduce the
> > costs
> > of data access and service integration.
> >
> > <derby-dsid-detach-junit.txt >
> > <derby-dsid-detach-tck.txt>
> > <TCK-results.txt>
> > <derby-app-detach-junit.txt>
> > <derby-dsid-detach-jpox.txt>
> >
> >
> > Craig Russell
> > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> > 408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
> > P.S. A good JDO? O, Gasp!
> >
> >
> >  Craig Russell
> >
> > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> >
> > 408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
> >
> > P.S. A good JDO? O, Gasp!
> >
> >
> >
>
>
> --
> Karan Malhi
>



--
Karan Malhi

Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
I was able to reproduce the error (not fully though), just the part where it
looks for JDOTCKTestCases.list. Below is the error(partial output)
Problems reading testlist JDOTCKTestCases.list:
java.io.FileNotFoundException: JDOTCKTestCases.list (No such file or
directory)

This is caused if you do not specify the property jdo.tck.classes=<nameofclass>
in the detach.conf file.

I looked at maven.xml but couldnt find the place where it sets this property
to a default of JDOTCKTestCases.list

On 9/22/05, Craig Russell <Cr...@sun.com> wrote:
>
> Here's what I use for my conf file:
> [d-usca14-133-145:jdo/trunk/tck20] clr% cat test/conf/clr.conf
> jdo.tck.description = Test Stuff
>
> jdo.tck.mapping.companyfactory=org.apache.jdo.tck.pc.company.CompanyFactoryPersistentInterface
> jdo.tck.classes =
> org.apache.jdo.tck.transactions.GetRollbackOnlyReturnsFalseUntilSet
> jdo.tck.testdata =
> org/apache/jdo/tck/pc/company/companyNoRelationships.xml
> jdo.tck.mapping = 0
>
> Does this help?
>
> Craig
>
> On Sep 22, 2005, at 7:00 PM, Craig Russell wrote:
>
> Hi Matthew,
> What's the content of test/conf/detach.list?
>
> Craig
>
> On Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:
>
> Hi all,
>
> I'm trying to run my first test, and I'm getting some results that I
> understand, and some results that I don't. Attached are the logs produced,
> as well as the test class & config files.
>
> What I don't quite get is this console output:
> doRuntck.jdori:
> [java] Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
> find
> the file specified)
> [java] Description:
> [java] Time: 000
> [java] derby-app-detach-junit.txt:
> [java] OK Tests run: 000, Time: 000 seconds.
> [java] Excluded tests:
> [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> [echo] Finished run with database="derby"
> identitytype="applicationidentity" mapping="".
>
> I didn't expect JDOTCKTestCases.list to be searched for at all, since I
> specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
> command
> line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
> JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> Instead, the message I get is that 1 of 2 configurations failed.
>
> What gives? Any ideas?
>
> --matthew
>
> Matthew T. Adams
> Corporate Technical Advisor & Senior Consultant
> Mobile: +1 253 732 1051
> Phone: +1 206 331 3833
> Fax: +1 815 331 0952
> matthew.adams@xcalia.com
> P.O. Box 24163
> Federal Way, WA 98093
> www.xcalia.com <http://www.xcalia.com>
>
>
>
> Xcalia makes implementing SOA easy with agile business intermediation
> software that combines heterogeneous data with services to easily develop
> and deploy transactional composite applications. Enterprises can quickly
> respond to changing business requirements and dramatically reduce the
> costs
> of data access and service integration.
>
> <derby-dsid-detach-junit.txt>
> <derby-dsid-detach-tck.txt>
> <TCK-results.txt>
> <derby-app-detach-junit.txt>
> <derby-dsid-detach-jpox.txt>
>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
> P.S. A good JDO? O, Gasp!
>
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com <Cr...@sun.com>
>
> P.S. A good JDO? O, Gasp!
>
>
>


--
Karan Malhi

Re: My first test run -- 'splain me this, Lucy

Posted by Craig Russell <Cr...@Sun.COM>.
Here's what I use for my conf file:

[d-usca14-133-145:jdo/trunk/tck20] clr% cat test/conf/clr.conf
jdo.tck.description = Test Stuff
jdo.tck.mapping.companyfactory=org.apache.jdo.tck.pc.company.CompanyFact 
oryPersistentInterface
jdo.tck.classes =  
org.apache.jdo.tck.transactions.GetRollbackOnlyReturnsFalseUntilSet
jdo.tck.testdata = org/apache/jdo/tck/pc/company/ 
companyNoRelationships.xml
jdo.tck.mapping = 0

Does this help?

Craig

On Sep 22, 2005, at 7:00 PM, Craig Russell wrote:

> Hi Matthew,
>
> What's the content of test/conf/detach.list?
>
> Craig
>
> On Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:
>
>> Hi all,
>>
>> I'm trying to run my first test, and I'm getting some results that I
>> understand, and some results that I don't.  Attached are the logs  
>> produced,
>> as well as the test class & config files.
>>
>> What I don't quite get is this console output:
>> doRuntck.jdori:
>>     [java] Problems reading testlist JDOTCKTestCases.list:
>> java.io.FileNotFoundException: JDOTCKTestCases.list (The system  
>> cannot find
>> the file specified)
>>     [java] Description:
>>     [java] Time: 000
>>     [java] derby-app-detach-junit.txt:
>>     [java]     OK Tests run: 000, Time: 000 seconds.
>>     [java] Excluded tests:
>> [org.apache.jdo.tck.enhancement.FieldAccessModified,
>> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>>     [echo] Finished run with database="derby"
>> identitytype="applicationidentity" mapping="".
>>
>> I didn't expect JDOTCKTestCases.list to be searched for at all,  
>> since I
>> specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at  
>> the command
>> line.  I would expect 2 of 2 cofigurations to fail (appid & dsid),  
>> since
>> JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>> Instead, the message I get is that 1 of 2 configurations failed.
>>
>> What gives?  Any ideas?
>>
>> --matthew
>>
>> Matthew T. Adams
>> Corporate Technical Advisor & Senior Consultant
>> Mobile:  +1 253 732 1051
>> Phone:  +1 206 331 3833
>> Fax:  +1 815 331 0952
>> matthew.adams@xcalia.com
>> P.O. Box 24163
>> Federal Way, WA  98093
>> www.xcalia.com
>>
>>
>>
>> Xcalia makes implementing SOA easy with agile business intermediation
>> software that combines heterogeneous data with services to easily  
>> develop
>> and deploy transactional composite applications.  Enterprises can  
>> quickly
>> respond to changing business requirements and dramatically reduce  
>> the costs
>> of data access and service integration.
>>
>> <derby-dsid-detach-junit.txt>
>> <derby-dsid-detach-tck.txt>
>> <TCK-results.txt>
>> <derby-app-detach-junit.txt>
>> <derby-dsid-detach-jpox.txt>
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: My first test run -- 'splain me this, Lucy

Posted by Craig Russell <Cr...@Sun.COM>.
Hi Matthew,

What's the content of test/conf/detach.list?

Craig

On Sep 22, 2005, at 6:37 PM, Matthew T. Adams wrote:

> Hi all,
>
> I'm trying to run my first test, and I'm getting some results that I
> understand, and some results that I don't.  Attached are the logs  
> produced,
> as well as the test class & config files.
>
> What I don't quite get is this console output:
> doRuntck.jdori:
>     [java] Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (The system  
> cannot find
> the file specified)
>     [java] Description:
>     [java] Time: 000
>     [java] derby-app-detach-junit.txt:
>     [java]     OK Tests run: 000, Time: 000 seconds.
>     [java] Excluded tests:
> [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>     [echo] Finished run with database="derby"
> identitytype="applicationidentity" mapping="".
>
> I didn't expect JDOTCKTestCases.list to be searched for at all,  
> since I
> specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the  
> command
> line.  I would expect 2 of 2 cofigurations to fail (appid & dsid),  
> since
> JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> Instead, the message I get is that 1 of 2 configurations failed.
>
> What gives?  Any ideas?
>
> --matthew
>
> Matthew T. Adams
> Corporate Technical Advisor & Senior Consultant
> Mobile:  +1 253 732 1051
> Phone:  +1 206 331 3833
> Fax:  +1 815 331 0952
> matthew.adams@xcalia.com
> P.O. Box 24163
> Federal Way, WA  98093
> www.xcalia.com
>
>
>
> Xcalia makes implementing SOA easy with agile business intermediation
> software that combines heterogeneous data with services to easily  
> develop
> and deploy transactional composite applications.  Enterprises can  
> quickly
> respond to changing business requirements and dramatically reduce  
> the costs
> of data access and service integration.
>
> <derby-dsid-detach-junit.txt>
> <derby-dsid-detach-tck.txt>
> <TCK-results.txt>
> <derby-app-detach-junit.txt>
> <derby-dsid-detach-jpox.txt>
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Re: My first test run -- 'splain me this, Lucy

Posted by Michelle Caisse <Mi...@Sun.COM>.
Hi Matthew,

When you see these responses, you will get the idea that we all think 
something is wrong with your configuration file.  I think what's going 
on is that you are supplying the name of a list file on the command 
line, whereas you are actually supposed to provide the contents of a 
list file as the value of jdo.tck.cfglist.  Typically when you are 
testing and debugging a test, this would be a single configuration 
file.  So you probably want to invoke "maven 
-Djdo.tck.cfglist=detach.conf runtck.jdori".

-- Michelle

Matthew T. Adams wrote:

>Hi all,
>
>I'm trying to run my first test, and I'm getting some results that I
>understand, and some results that I don't.  Attached are the logs produced,
>as well as the test class & config files.
>
>What I don't quite get is this console output:
>doRuntck.jdori:
>    [java] Problems reading testlist JDOTCKTestCases.list:
>java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot find
>the file specified)
>    [java] Description:
>    [java] Time: 000
>    [java] derby-app-detach-junit.txt:
>    [java]     OK Tests run: 000, Time: 000 seconds.
>    [java] Excluded tests:
>[org.apache.jdo.tck.enhancement.FieldAccessModified,
>org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>    [echo] Finished run with database="derby"
>identitytype="applicationidentity" mapping="".
>
>I didn't expect JDOTCKTestCases.list to be searched for at all, since I
>specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the command
>line.  I would expect 2 of 2 cofigurations to fail (appid & dsid), since
>JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
>Instead, the message I get is that 1 of 2 configurations failed.
>
>What gives?  Any ideas?
>
>--matthew
>
>Matthew T. Adams
>Corporate Technical Advisor & Senior Consultant
>Mobile:  +1 253 732 1051
>Phone:  +1 206 331 3833
>Fax:  +1 815 331 0952
>matthew.adams@xcalia.com
>P.O. Box 24163
>Federal Way, WA  98093
>www.xcalia.com
>
>
>
>Xcalia makes implementing SOA easy with agile business intermediation
>software that combines heterogeneous data with services to easily develop
>and deploy transactional composite applications.  Enterprises can quickly
>respond to changing business requirements and dramatically reduce the costs
>of data access and service integration.
>  
>
>------------------------------------------------------------------------
>
>RUN SetDetachAllOnCommit.test	   ERROR
>Description: Detachment tests with standard mapping, no testdata.
>Time: 006
>There was 1 error:
>1) test(org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit)java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit(SetDetachAllOnCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
>	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>FAILURES!!!
>Error summary:
>001 error:  java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>derby-dsid-detach-junit.txt:
>    ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified, org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>  
>
>------------------------------------------------------------------------
>
>18:17:10,907 (main) INFO  [org.apache.jdo.tck] - Exception during setUp or runtest: 
>java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runTestSetDetachAllOnCommit(SetDetachAllOnCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>	at java.lang.reflect.Method.invoke(Method.java:324)
>	at junit.framework.TestCase.runTest(TestCase.java:154)
>	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
>	at junit.framework.TestResult$1.protect(TestResult.java:106)
>	at junit.framework.TestResult.runProtected(TestResult.java:124)
>	at junit.framework.TestResult.run(TestResult.java:109)
>	at junit.framework.TestCase.run(TestCase.java:118)
>	at junit.framework.TestSuite.runTest(TestSuite.java:208)
>	at junit.framework.TestSuite.run(TestSuite.java:203)
>	at junit.textui.TestRunner.doRun(TestRunner.java:116)
>	at junit.textui.TestRunner.doRun(TestRunner.java:109)
>	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
>	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
>  
>
>------------------------------------------------------------------------
>
>derby-app-detach-junit.txt:
>    OK Tests run: 000, Time: 000 seconds.
>derby-dsid-detach-junit.txt:
>    ** Tests run: 001, Time: 006 seconds. Failures: 0, Errors: 1
>-------
>Result: 1 of 2 configurations failed.
>  
>
>------------------------------------------------------------------------
>
>Description: 
>Time: 000
>derby-app-detach-junit.txt:
>    OK Tests run: 000, Time: 000 seconds.
>Excluded tests: [org.apache.jdo.tck.enhancement.FieldAccessModified, org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
>  
>
>------------------------------------------------------------------------
>
>18:17:07,773 (main) INFO  [com.mchange.v2.log.MLog] - MLog clients using log4j logging.
>18:17:07,803 (main) INFO  [com.mchange.v2.c3p0.C3P0Registry] - Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true; trace: 10]
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory - Vendor: JPOX  Version: 1.1.0-rc-1
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory initialised for datastore URL=jdbc:derby:jdotckdb driver=org.apache.derby.jdbc.EmbeddedDriver userName=
>18:17:08,384 (main) INFO  [com.mchange.v2.c3p0.PoolBackedDataSource] - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource@1f26605[ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null, driverClass -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1f26605, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl -> jdbc:derby:jdotckdb, loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ]
>18:17:10,897 (main) INFO  [JPOX.RDBMS] - RDBMS Adapter initialised : CloudscapeAdapter : Apache Derby version=10.1.1.0, major=10, minor=1, revision=1
>Identifier Names : UPPERCASE 
>Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0, major=10, minor=1
>Identifier Max Lengths : Table=128  Column=30  Constraint=18  Index=18  Delimeters="
>Identifier Support in DDL : catalog=false  schema=true
>18:17:10,897 (main) INFO  [JPOX.RDBMS.SCHEMA] - Initialising Catalog "", Schema "TCKUSER" using "None" auto-start option
>18:17:10,897 (main) INFO  [JPOX.RDBMS.SCHEMA] - Catalog "", Schema "TCKUSER" initialised - managing 0 classes
>18:17:11,078 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/package.jdo"
>18:17:11,218 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-derby.orm"
>18:17:11,238 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package.jdo"
>18:17:11,258 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/mylib/package-derby.orm"
>18:17:11,348 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table : datastoreidentity0.PCPOINT, InheritanceStrategy : new-table]
>18:17:11,488 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.mylib.PCRect [Table : datastoreidentity0.PCRECT, InheritanceStrategy : new-table]
>18:17:12,069 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist in the datastore
>18:17:12,099 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet exist in the datastore
>18:17:12,690 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package.jdo"
>18:17:12,730 (main) INFO  [JPOX.MetaData] - Parsing MetaData from file "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidentity.jar!/org/apache/jdo/tck/pc/company/package-derby.orm"
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "DentalInsurance" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the MetaData.
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "Employee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in class "Person" has been defined as a Map with keys of type String. This key type has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in class "Person" has been defined as a Map with values of type String. This value type has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "FullTimeEmployee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "MedicalInsurance" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - The class "PartTimeEmployee" has had its persistence-capable-superclass set to "org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the MetaData.
>18:17:12,800 (main) INFO  [JPOX.RDBMS] - The class "org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so does not have its own datastore table.
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Company [Table : datastoreidentity0.COMPANIES, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Insurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table : datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Project [Table : datastoreidentity0.PROJECTS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Person [Table : datastoreidentity0.PERSONS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Employee [Table : datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Class : org.apache.jdo.tck.pc.company.Department [Table : datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table : datastoreidentity0.EMPLOYEE_PHONENO_TYPE]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Employee.projects [Table : datastoreidentity0.PROJECT_MEMBER]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table : datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Project.members [Table : datastoreidentity0.PROJECT_MEMBER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistence of Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table : datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,850 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt yet exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently doesnt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info found for table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt yet exist in the datastore
>  
>


Re: My first test run -- 'splain me this, Lucy

Posted by Karan Malhi <ka...@gmail.com>.
Did you specify jdo.tck.identitytypes=applicationidentity in your
detach.conf file? Looks like that is the value set in the detach.conf file.
Either change the property in the detach.conf to
jdo.tck.identitytypes="applicationidentity
datastoreidentity" or run the command like below:

maven -Djdo.tck.cfglist="detach.conf"
-Djdo.tck.identitytypes="applicationidentity
datastoreidentity" runtck.jdori

Hope this helps.

On 9/22/05, Matthew T. Adams <ma...@xcalia.com> wrote:
>
> Hi all,
>
> I'm trying to run my first test, and I'm getting some results that I
> understand, and some results that I don't. Attached are the logs produced,
> as well as the test class & config files.
>
> What I don't quite get is this console output:
> doRuntck.jdori:
> [java] Problems reading testlist JDOTCKTestCases.list:
> java.io.FileNotFoundException: JDOTCKTestCases.list (The system cannot
> find
> the file specified)
> [java] Description:
> [java] Time: 000
> [java] derby-app-detach-junit.txt:
> [java] OK Tests run: 000, Time: 000 seconds.
> [java] Excluded tests:
> [org.apache.jdo.tck.enhancement.FieldAccessModified,
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
> [echo] Finished run with database="derby"
> identitytype="applicationidentity" mapping="".
>
> I didn't expect JDOTCKTestCases.list to be searched for at all, since I
> specified "maven -Djdo.tck.cfglist=detach.list runtck.jdori" at the
> command
> line. I would expect 2 of 2 cofigurations to fail (appid & dsid), since
> JPOX doesn't yet implement the PMF & PM property detachAllOnCommit.
> Instead, the message I get is that 1 of 2 configurations failed.
>
> What gives? Any ideas?
>
> --matthew
>
> Matthew T. Adams
> Corporate Technical Advisor & Senior Consultant
> Mobile: +1 253 732 1051
> Phone: +1 206 331 3833
> Fax: +1 815 331 0952
> matthew.adams@xcalia.com
> P.O. Box 24163
> Federal Way, WA 98093
> www.xcalia.com <http://www.xcalia.com>
>
>
>
> Xcalia makes implementing SOA easy with agile business intermediation
> software that combines heterogeneous data with services to easily develop
> and deploy transactional composite applications. Enterprises can quickly
> respond to changing business requirements and dramatically reduce the
> costs
> of data access and service integration.
>
>
>


--
Karan Malhi