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!
<openjpa-2.0.0-SNAPSHOT-r422266:805138M fatal user 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: <openjpa-2.0.0-SNAPSHOT-r422266:805138M fatal user error>
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 <[email protected]> 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 <
>> [email protected]> 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.