Hi Yiping,
Ah, thanks for the hint, indeed that solved my issues!
Now I’m having a problem with the MaxDB database, but at least
it’s a step forward...
Thanks and best regards,
Sabine
From:
Yiping Zhao [mailto:yiping.zhao@xxxxxxxxxx]
Sent: Mittwoch, 27. Oktober 2010 15:46
To: Dev mailing list for Eclipse Persistence Services; Heider, Sabine
Subject: Re: [eclipselink-dev] Need help running JPA server tests on
glassfish
Hi Sabine,
You should have "server.name=glassfish" in your test.properties, but
do you have "server.version=3" in your test.properties as well?
Yiping
On 27/10/2010 7:09 AM, Heider, Sabine wrote:
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,
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev