db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan Malhi <karan.ma...@gmail.com>
Subject Re: My first test run -- 'splain me this, Lucy
Date Fri, 23 Sep 2005 02:49:01 GMT
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 <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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message