Bug 303539 - need to automatically config NonJTA DS and run JPA tests against NonJTA DS on GlassFish
Summary: need to automatically config NonJTA DS and run JPA tests against NonJTA DS on...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2010-02-22 15:05 EST by Yiping Zhao CLA
Modified: 2022-06-09 10:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiping Zhao CLA 2010-02-22 15:05:54 EST
In order to do that, we need to do following changes:

1. add is.JTA as system property to GlassFish server
2. add configuring NonJTA DS "jdbc/ELNonJTADS" to "glassfish-setup" target in glassfish.xml
3. add removing "jdbc/ELNonJTADS" to "glassfish-reset" target in glassfish.xml
4. create "glassfish" dir under trunk\jpa\eclipselink.jpa.test\resource, add empty ejb-jar.xml there, since GlassFish will throw validation error when running JPA tests using NonJTA DS
Comment 1 Yiping Zhao CLA 2010-02-22 15:06:41 EST
extra check in:
5. add ejb.lookup as system property to GlassFish server as well
Comment 2 Yiping Zhao CLA 2010-02-22 16:23:46 EST
The fix has been checked in Main as revision 6640 and 6641, 2.0 as revision 6642. Code is reviewed by Kevin Yuan.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:34:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink