My first test run -- 'splain me this, Lucy
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > My first test run -- 'splain me this, Lucy




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    My first test run -- 'splain me this, Lucy  
Matthew T. Adams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 01:45 AM

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.






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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 <matthew.adams@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






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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/Technolo...ilityKit#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.SetDetachAllOnComm
it)java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachA
llOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.r
 unTestSetDetachAllOnCommit(SetDetachAllO
nCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.t
est(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.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.setDetachAll
OnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.r
 unTestSetDetachAllOnCommit(SetDetachAllO
nCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.t
est(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.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 usin
g log4j logging.
>18:17:07,803 (main) INFO  [com.mchange.v2.c3p0.C3P0Registry] - Initiali
zing 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 - Vend
or: JPOX  Version: 1.1.0-rc-1
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory initia
lised for datastore URL=jdbc:derby:jdotckdb driver=org.apache.derby.jdbc.Emb
eddedDriver userName=
>18:17:08,384 (main) INFO  [com.mchange.v2.c3p0.PoolBackedDataSource]- I
nitializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource@1f26605&#
91; acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 
1000, autoCommitOnClose -> false, automaticTestTable ->null, breakAfterAcqui
reFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.m
change.v2.c3p0.impl.DefaultConnectionTester, description -> null, driverClas
s -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation -> null, for
ceIgnoreUnresolvedTransactions -> false, identityToken -> 1f26605, idleConne
ctionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl -> jdbc:derby:jdotckdb,
 loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15, maxStatements -> 0,
 maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3,pr
eferredTestQuery -> null, properties -> {user=******, password=******},
 propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnChe
ckout -> false, usesTraditionalReflectiveProxies ->false ]
>18:17:10,897 (main) INFO  [JPOX.RDBMS] - RDBMS Adapter initialised :Clo
udscapeAdapter : 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, m
inor=1
>Identifier Max Lengths : Table=128  Column=30  Constraint=18  Index=18  Del
imeters="
>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 "TCK
USER" 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 Persistenceof 
Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table : datastoreidentity0.
PCPOINT, InheritanceStrategy : new-table]
>18:17:11,488 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.mylib.PCRect [Table : datastoreidentity0.P
CRECT, InheritanceStrategy : new-table]
>18:17:12,069 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist i
n the datastore
>18:17:12,099 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PCPOINT" - the table apparently doesntyet exist i
n 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.c
ompany.Insurance" - it wasnt specified in the MetaData.
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "Employee" hashad
 its persistence-capable-superclass set to "org.apache.jdo.tck.pc..company.P
erson" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in cla
ss "Person" has been defined as a Map with keys of type String. This key typ
e has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in cla
ss "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.c
ompany.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.c
ompany.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.c
ompany.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 da
tastore table.
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Company [Table : datastoreidentity
0.COMPANIES, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Insurance [Table : datastoreidenti
ty0.INSURANCEPLANS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table : datastore
identity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table : datastor
eidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Project [Table : datastoreidentity
0.PROJECTS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Person [Table : datastoreidentity0
.PERSONS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Employee [Table : datastoreidentit
y0.PERSONS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Department [Table : datastoreident
ity0.DEPARTMENTS, InheritanceStrategy : new-table]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table : datas
toreidentity0.EMPLOYEE_PHONENO_TYPE]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Employee.projects [Table : datasto
reidentity0.PROJECT_MEMBER]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
 datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Project.members [Table : datastore
identity0.PROJECT_MEMBER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table : datasto
reidentity0.PROJECT_REVIEWER]
>18:17:12,850 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet ex
ist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PERSONS" - the table apparently doesntyet exist i
n the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet exis
t in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.INSURANCEPLANS" - the table apparentlydoesnt yet 
exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet exist
 in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt y
et exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_MEMBER" - the table apparentlydoesnt yet 
exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt y
et exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently doe
snt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_MEMBER" - the table apparentlydoesnt yet 
exist in the datastore
>  
>







[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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=<nameofcla
ss>
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.CompanyFactor
yPersistentInterface
> 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 <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 <Craig.Russell@sun.com>
>
> P.S. A good JDO? O, Gasp!
>
>
>


--
Karan Malhi






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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.jav
a
: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.j
ava
: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.FieldAccessMo
dified,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
[echo] Finished run with database="derby" identitytype="applicationident
ity"
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 <karan.malhi@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=<nameofc
lass>
> 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: 
>
>
> --
> Karan Malhi
>



--
Karan Malhi






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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 <Michelle.Caisse@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/Technolo...ilityKit#HowTo. mapping
> should equal 0, not "" as shown in the console output you quote.
>
> -- Michelle
>
> Matthew T. Adams wrote:
> 
> produced, 
> find 
> command 
> costs 
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit)java
.lang.AbstractMethodError:
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V 
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runT
estSetDetachAllOnCommit
> (SetDetachAllOnCommit.java:58) 
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> (SetDetachAllOnCommit.java:50) 
> NativeMethodAccessorImpl.java:39) 
> DelegatingMethodAccessorImpl.java:25) 
> :115) 
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V 
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable] 
> runtest: 
> org.jpox.PersistenceManagerImpl.setDetachAllOnCommit(Z)V 
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.runT
estSetDetachAllOnCommit
> (SetDetachAllOnCommit.java:58) 
> org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.test
> (SetDetachAllOnCommit.java:50) 
> NativeMethodAccessorImpl.java:39) 
> DelegatingMethodAccessorImpl.java:25) 
> :115) 
> org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable] 
> log4j logging. 
> Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? tru
e;
> trace: 10] 
> JPOX Version: 1.1.0-rc-1 
> initialised for datastore URL=jdbc:derby:jdotckdb driver=
> org.apache.derby.jdbc.EmbeddedDriver userName= 
> 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 -> 1
5,
> maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3,
> numHelperThreads -> 3, preferredTestQuery -> null, properties ->
> {user=******, password=******}, propertyCycle -> 300,
> testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
> usesTraditionalReflectiveProxies -> false ] 
> CloudscapeAdapter : Apache Derby version=10.1.1.0 <http://10.1.1.0>,
> major=10, minor=1, revision=1 
> major=10, minor=1 
> Delimeters=" 
> Schema "TCKUSER" using "None" auto-start option 
> "TCKUSER" initialised - managing 0 classes 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/package.jdo" 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/pc/fieldtypes/SimpleClass-
> derby.orm" 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/pc/mylib/package.jdo" 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/pc/mylib/package-
> derby.orm" 
> Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table :
> datastoreidentity0.PCPOINT, InheritanceStrategy : new-table] 
> Class : org.apache.jdo.tck.pc.mylib.PCRect [Table :
> datastoreidentity0.PCRECT, InheritanceStrategy : new-table] 
> table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist
> in the datastore 
> table "datastoreidentity0.PCPOINT" - the table apparently doesnt yet exist
> in the datastore 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/pc/company/package.jdo" 
> "file:/C:/apache-jdo/jdo/trunk/tck20/target/enhanced/jdori/datastoreidenti
ty.jar!/org/apache/jdo/tck/pc/company/package-
> derby.orm" 
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> MetaData. 
> its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Person" - it wasnt specified in the
> MetaData. 
> "Person" has been defined as a Map with keys of type String. This key type
> has been resolved to java.lang.String. 
> "Person" has been defined as a Map with values of type String. This value
> type has been resolved to java.lang.String. 
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> MetaData. 
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Insurance" - it wasnt specified in the
> MetaData. 
> has had its persistence-capable-superclass set to "
> org.apache.jdo.tck.pc.company.Employee" - it wasnt specified in the
> MetaData. 
> org.apache.jdo.tck.pc.company.Address" is tagged as "embedded-only" so
> does not have its own datastore table. 
> Class : org.apache.jdo.tck.pc.company.Company [Table :
> datastoreidentity0.COMPANIES, InheritanceStrategy : new-table] 
> Class : org.apache.jdo.tck.pc.company.Insurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : new-table] 
> Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
 
> Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table :
> datastoreidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
 
> Class : org.apache.jdo.tck.pc.company.Project [Table :
> datastoreidentity0.PROJECTS, InheritanceStrategy : new-table] 
> Class : org.apache.jdo.tck.pc.company.Person [Table :
> datastoreidentity0.PERSONS, InheritanceStrategy : new-table] 
> Class : org.apache.jdo.tck.pc.company.Employee [Table :
> datastoreidentity0.PERSONS, InheritanceStrategy : superclass-table] 
> Class : org.apache.jdo.tck.pc.company.Department [Table :
> datastoreidentity0.DEPARTMENTS, InheritanceStrategy : new-table] 
> Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table :
> datastoreidentity0.EMPLOYEE_PHONENO_TYPE] 
> Field : org.apache.jdo.tck.pc.company.Employee.projects [Table :
> datastoreidentity0.PROJECT_MEMBER] 
> Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table
 :
> datastoreidentity0.PROJECT_REVIEWER] 
> Field : org.apache.jdo.tck.pc.company.Project.members [Table :
> datastoreidentity0.PROJECT_MEMBER] 
> Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table :
> datastoreidentity0.PROJECT_REVIEWER] 
> table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet
> exist in the datastore 
> table "datastoreidentity0.PERSONS" - the table apparently doesnt yet exist
> in the datastore 
> table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet
> exist in the datastore 
> table "datastoreidentity0.INSURANCEPLANS" - the table apparently doesnt
> yet exist in the datastore 
> table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet
> exist in the datastore 
> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
> yet exist in the datastore 
> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> yet exist in the datastore 
> table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt
> yet exist in the datastore 
> table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently
> doesnt yet exist in the datastore 
> table "datastoreidentity0.PROJECT_MEMBER" - the table apparently doesnt
> yet exist in the datastore 
>
>
>


--
Karan Malhi






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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 wor
d
>"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 <Michelle.Caisse@sun.com> wrote:
>
> 
>
>
>--
>Karan Malhi
>
>
>







[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-05 07:45 AM

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.SetDetachAllOnComm
it)java.lang.AbstractMethodError: org.jpox.PersistenceManagerImpl.setDetachA
llOnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.r
 unTestSetDetachAllOnCommit(SetDetachAllO
nCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.t
est(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.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.setDetachAll
OnCommit(Z)V
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.r
 unTestSetDetachAllOnCommit(SetDetachAllO
nCommit.java:58)
>	at org.apache.jdo.tck.api.persistencemanager.detach.SetDetachAllOnCommit.t
est(SetDetachAllOnCommit.java:50)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.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 usin
g log4j logging.
>18:17:07,803 (main) INFO  [com.mchange.v2.c3p0.C3P0Registry] - Initiali
zing 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 - Vend
or: JPOX  Version: 1.1.0-rc-1
>18:17:08,073 (main) INFO  [JPOX.JDO] - PersistenceManagerFactory initia
lised for datastore URL=jdbc:derby:jdotckdb driver=org.apache.derby.jdbc.Emb
eddedDriver userName=
>18:17:08,384 (main) INFO  [com.mchange.v2.c3p0.PoolBackedDataSource]- I
nitializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource@1f26605&#
91; acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 
1000, autoCommitOnClose -> false, automaticTestTable ->null, breakAfterAcqui
reFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.m
change.v2.c3p0.impl.DefaultConnectionTester, description -> null, driverClas
s -> org.apache.derby.jdbc.EmbeddedDriver, factoryClassLocation -> null, for
ceIgnoreUnresolvedTransactions -> false, identityToken -> 1f26605, idleConne
ctionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl -> jdbc:derby:jdotckdb,
 loginTimeout -> 0, maxIdleTime -> 0, maxPoolSize -> 15, maxStatements -> 0,
 maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3,pr
eferredTestQuery -> null, properties -> {user=******, password=******},
 propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnChe
ckout -> false, usesTraditionalReflectiveProxies ->false ]
>18:17:10,897 (main) INFO  [JPOX.RDBMS] - RDBMS Adapter initialised :Clo
udscapeAdapter : 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, m
inor=1
>Identifier Max Lengths : Table=128  Column=30  Constraint=18  Index=18  Del
imeters="
>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 "TCK
USER" 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 Persistenceof 
Class : org.apache.jdo.tck.pc.mylib.PCPoint [Table : datastoreidentity0.
PCPOINT, InheritanceStrategy : new-table]
>18:17:11,488 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.mylib.PCRect [Table : datastoreidentity0.P
CRECT, InheritanceStrategy : new-table]
>18:17:12,069 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PCRECT" - the table apparently doesnt yet exist i
n the datastore
>18:17:12,099 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PCPOINT" - the table apparently doesntyet exist i
n 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.c
ompany.Insurance" - it wasnt specified in the MetaData.
>18:17:12,780 (main) INFO  [JPOX.MetaData] - The class "Employee" hashad
 its persistence-capable-superclass set to "org.apache.jdo.tck.pc..company.P
erson" - it wasnt specified in the MetaData.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in cla
ss "Person" has been defined as a Map with keys of type String. This key typ
e has been resolved to java.lang.String.
>18:17:12,790 (main) INFO  [JPOX.MetaData] - Field "phoneNumbers" in cla
ss "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.c
ompany.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.c
ompany.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.c
ompany.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 da
tastore table.
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Company [Table : datastoreidentity
0.COMPANIES, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Insurance [Table : datastoreidenti
ty0.INSURANCEPLANS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.DentalInsurance [Table : datastore
identity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.MedicalInsurance [Table : datastor
eidentity0.INSURANCEPLANS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Project [Table : datastoreidentity
0.PROJECTS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Person [Table : datastoreidentity0
.PERSONS, InheritanceStrategy : new-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Employee [Table : datastoreidentit
y0.PERSONS, InheritanceStrategy : superclass-table]
>18:17:12,800 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Class : org.apache.jdo.tck.pc.company.Department [Table : datastoreident
ity0.DEPARTMENTS, InheritanceStrategy : new-table]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Person.phoneNumbers [Table : datas
toreidentity0.EMPLOYEE_PHONENO_TYPE]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Employee.projects [Table : datasto
reidentity0.PROJECT_MEMBER]
>18:17:12,830 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Employee.reviewedProjects [Table :
 datastoreidentity0.PROJECT_REVIEWER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Project.members [Table : datastore
identity0.PROJECT_MEMBER]
>18:17:12,840 (main) INFO  [JPOX.RDBMS.SCHEMA] - Managing Persistenceof 
Field : org.apache.jdo.tck.pc.company.Project.reviewers [Table : datasto
reidentity0.PROJECT_REVIEWER]
>18:17:12,850 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.DEPARTMENTS" - the table apparently doesnt yet ex
ist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PERSONS" - the table apparently doesntyet exist i
n the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.COMPANIES" - the table apparently doesnt yet exis
t in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.INSURANCEPLANS" - the table apparentlydoesnt yet 
exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECTS" - the table apparently doesnt yet exist
 in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt y
et exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_MEMBER" - the table apparentlydoesnt yet 
exist in the datastore
>18:17:12,860 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_REVIEWER" - the table apparently doesnt y
et exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.EMPLOYEE_PHONENO_TYPE" - the table apparently doe
snt yet exist in the datastore
>18:17:12,870 (main) INFO  [JPOX.RDBMS.SCHEMA] - No column info foundfor
 table "datastoreidentity0.PROJECT_MEMBER" - the table apparentlydoesnt yet 
exist in the datastore
>  
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:40 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump: