Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 26543 invoked from network); 18 Aug 2009 18:52:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 18:52:58 -0000 Received: (qmail 98020 invoked by uid 500); 18 Aug 2009 18:53:17 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 97963 invoked by uid 500); 18 Aug 2009 18:53:17 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 97952 invoked by uid 99); 18 Aug 2009 18:53:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 18:53:17 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.13.13.92] (HELO smtp109.prem.mail.ac4.yahoo.com) (76.13.13.92) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Aug 2009 18:53:06 +0000 Received: (qmail 86646 invoked from network); 18 Aug 2009 18:52:44 -0000 Received: from cpe-174-099-058-061.nc.res.rr.com (dwoods@174.99.58.61 with plain) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 18 Aug 2009 11:52:44 -0700 PDT X-Yahoo-SMTP: sCI.ryiswBB7FW.DxjU523c87MI- X-YMail-OSG: 8HOpmP0VM1mAvv2waZiA_wMP3MoWBl2goMWZGiEs4KkQiNdcasgIbmGNKDLerAggTS9DG3ozGOVlhBzKKwmV.tEw35cxyHgQP4HTvlxtA9IDTirvRqVOsUJ2psYYrEhC0MKy9R8O1baemrdpbwNpVs5.6I9ZXE_uQ.H6sFFjoO8ca3QirUPlyF7Iq2kae0tK2FEOUlC.C.4qkxrWpERQAZ4eab23elOyIVrpdcWvpbCZMgnxw6KZzT5bte_j1UPvAezrbldwqYXQKMnnhCsf4OYAfAmk39V5xM1shAm_Y9LtmVZrVBIVmG.QBWnX9XZ1uAPuXfGx3Q-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4A8AF87C.6090805@apache.org> Date: Tue, 18 Aug 2009 14:52:44 -0400 From: Donald Woods User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: dev@openjpa.apache.org Subject: Re: openjpa-integration test failures. References: <1250603238288-3466133.post@n2.nabble.com> <72c1350f0908180852l71d5b47ei8388c9d21db533a0@mail.gmail.com> <1250617263384-3467520.post@n2.nabble.com c4a1048f0908181110w79e7cbdds30dfc9016582b85b@mail.gmail.com> <2926df3c-7073-4bf3-b217-b3b4e37a6cef@default> In-Reply-To: <2926df3c-7073-4bf3-b217-b3b4e37a6cef@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org What do you mean by "Changed pom.xml ..." after your fresh checkout? -Donald Ravi Palacherla wrote: > Hi Jeremy, > > Thanks for your email. > I saw the classnotfound, but I can see the .class for it under openjpa-persistence-jdbc. > > I did the following after seeing this error: > Deleted all the folders under C:\DocumetsAndSettings\<>/.m2 > Did fresh checkout > Changed pom.xml and from root (trunk) directory ran > Mvn clean test -Dtest= -DfailIfNoTests=false. > > I ran "mvn clean test" all the tests are failing except 3 tests (mentioned initially in this post) in openjpa-integration. > > I will try from another machine and see if it runs fine. > As it is running fine for all, may be some issue on my machine ( like file corruption as you mentioned.) > > Thanks, > Ravi. > > -----Original Message----- > From: Jeremy Bauer [mailto:techhusky@gmail.com] > Sent: Tuesday, August 18, 2009 12:10 PM > To: dev@openjpa.apache.org > Subject: Re: openjpa-integration test failures. > > Ravi, > > Thanks for the additional info and log. The log is showing a failure to > load the JDBC product derivation (below). The provider will not get setup > properly without the JDBC PPD. Based on the exceptions in the log, my guess > is that this is what is causing the failures. Have you tried doing a full > clean build on the project root? One or more of the component jars in your > local repo may be corrupt. > > Some product derivations are being skipped. For information about > product derivation status, run: > java org.apache.openjpa.lib.conf.ProductDerivations > org.apache.openjpa.persistence.jdbc.JDBCPersistenceProductDerivation:java.lang.ClassNotFoundExceptio > n: org.apache.openjpa.persistence.jdbc.JDBCPersistenceProductDerivation > > -Jeremy > > On Tue, Aug 18, 2009 at 12:41 PM, Ravi P Palacherla < > ravi.palacherla@oracle.com> wrote: > >> Hi , >> >> Iam using jdk 1.6. >> >> The default values in pom.xml are permsize 512m and heap of 1gb. >> I get the following error if I run with above values: >> "Error occurred during initialization of VM >> Could not reserve enough space for object heap >> Could not create the Java virtual machine." >> >> On a 32 bit windows machine the process size limit is 2GB and hence openjpa >> tests with default values can not be run on a windows machine. So, the only >> change I did is to change permsize in pom.xml to 256m. >> >> With above change, Here is the error that I see : >> >> >> testNullUpdateConstraint(org.apache.openjpa.integration.validation.TestConstraints) >> Time elapsed: 7 >> .734 sec <<< ERROR! >> >> org.apache.openjpa.persistence.ArgumentExc >> eption: Errors encountered while resolving metadata. See nested exceptions >> for details. >> at >> >> org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:578) >> at >> >> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:323) >> at >> >> org.apache.openjpa.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:289) >> >> >> Caused by: >> org.apache.openjpa.persistence. >> ArgumentException: No table was given for persistent type >> "org.apache.openjpa.integration.validation >> .ConstraintDates". >> at >> org.apache.openjpa.jdbc.meta.MappingInfo.createTable(MappingInfo.java:478) >> at >> >> org.apache.openjpa.jdbc.meta.ClassMappingInfo.getTable(ClassMappingInfo.java:245) >> at >> >> org.apache.openjpa.jdbc.meta.ClassMappingInfo.getTable(ClassMappingInfo.java:263) >> >> Complete error stacks : >> http://n2.nabble.com/file/n3467520/openjpatestresult.txt >> openjpatestresult.txt >> >> Regards, >> Ravi. >> >> >> >> Michael Dick wrote: >>> FWIW these tests are passing for me too. >>> Are you using Sun JDK6? I've increased the perm gen size to 512m >> (probably >>> overkill) when I use Sun JDK6 on Linux. Not sure whether this applies to >>> other plaftorms though. >>> -mike >>> >>> On Tue, Aug 18, 2009 at 9:46 AM, Jeremy Bauer >> wrote: >>>> Hi Ravi, >>>> >>>> What type of failure(s) are you seeing? I just ran these tests with a >>>> slightly newer rev (805429) and these tests were successful. >>>> >>>> -Jeremy >>>> >>>> On Tue, Aug 18, 2009 at 8:47 AM, Ravi P Palacherla < >>>> ravi.palacherla@oracle.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> The following tests are failing at revision 805409, while running "mvn >>>>> clean >>>>> test -Dtest=" >>>>> >>>>> TestConstraints >>>>> TestValidationGroups and >>>>> TestValidatingLEM. >>>>> >>>>> All 3 are under openjpa-integration, am I doing anything wrong ? >>>>> >>>>> Regards, >>>>> Ravi. >>>>> -- >>>>> View this message in context: >>>>> >> http://n2.nabble.com/openjpa-integration-test-failures.-tp3466133p3466133.html >>>>> Sent from the OpenJPA Developers mailing list archive at Nabble.com. >>>>> >>> >> -- >> View this message in context: >> http://n2.nabble.com/openjpa-integration-test-failures.-tp3466133p3467520.html >> Sent from the OpenJPA Developers mailing list archive at Nabble.com. >> >