Bug 407880

Summary: test-infra: testDynamicEntities() failed on GlassFish 4 in nightly testing environment
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: martin.grebac
Version: unspecifiedKeywords: test
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yiping Zhao CLA 2013-05-13 09:57:27 EDT
Since 2.6.0.v20130504-64124e5, there is one test failure on jpa/mongotest, then I and kevin put fixes on May 8 and May 9, the test passed in debug run. But in today's noghtly test results http://ottvm054.ca.oracle.com/eclipselink/main/2013-05-13/, the test failed again, then I did a debug run on nightly test machine ottvm058, all tests passed. So I enter this bug here to record this issue, I will investigate later.

The error is:

Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: org.eclipse.persistence.dynamic.DynamicClassLoader@35eb09a1 Internal Exception: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.6.0.v20130510-e77997a): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [mongo-dynamic] failed. Internal Exception: Exception [EclipseLink-7305] (Eclipse Persistence Services - 2.6.0.v20130510-e77997a): org.eclipse.persistence.exceptions.ValidationException Exception Description: An exception was thrown while processing the mapping file from URL: [file:/net/ottvm058/scratch/aime/eclipselink/org.eclipse.persistence/glassfish4/glassfish/domains/domain1/applications/eclipselink-mongo-model/eclipselink-mongo-model_ejb_jar/META-INF/mongo-dynamic.xml]. Internal Exception: Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.6.0.v20130510-e77997a): org.eclipse.persistence.exceptions.XMLMarshalException Exception Description: An error occurred unmarshalling the document Internal Exception: Exception [EclipseLink-27101] (Eclipse Persistence Services - 2.6.0.v20130510-e77997a): org.eclipse.persistence.platform.xml.XMLPlatformException Exception Description: An error occurred while parsing the document. Internal Exception: org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 146; cvc-complex-type.3.1: Value &apos;2.4&apos; of attribute &apos;version&apos; of element &apos;entity-mappings&apos; is not valid with respect to the corresponding attribute use. Attribute &apos;version&apos; has a fixed value of &apos;2.0&apos;.
Comment 1 Martin Grebac CLA 2014-12-10 14:24:25 EST

*** This bug has been marked as a duplicate of bug 409285 ***
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:02:44 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink