Hi all!
Is there anyone around who could help me with setting up the JPA server tests on a glassfish v3? I’d like to run them against a MaxDB as another quality check for the new database platform.
I’ve been struggling with these test for quite a while now and it seems I’m still doing something wrong.
I have tried the usual sequence for running server tests:
- Copy the glassfish.properties file to my user’s home and modify it.
- Call ant server-install. Several libraries including eclipselink.jar are copied into the domain1/lib folder
- Call ant server-start. Glassfish starts successfully.
- Calling ant server-setup fails despite several changes to the glassfish.xml file, so I set up the JDBC resources manually in the glassfish administrator.
- Call ant server-test
With this first attempt I ended up with lots of NoSuchMethodError errors, which were apparently caused by an old EclipseLink version that came with the glassfish installation.
In both cases I ended up with ClassNotFoundExceptions like this one:
ClassNotFoundException: org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite
Could you give me any hint how to get the tests running?
Thanks for your help and best regards,
Sabine