I'm using Arquillian in one project and I'm having trouble when configuring datasource in Glassfish Embedded like in the Arquillian Showcase.
Apparently after database is created in the first run, when i try run the tests again, it's throw an exception saying that the table sequence is already created. I already put drop-and-create-tables in persistence.xml but don't work.
The second doubt is related with Arquillian Showcase JPA example, i cannot run it with glassfish-embedded profile. It try to start the glassfish but in the middle, it lookup for a jboss datasource. I think that it is using some config files from other jboss profile.
SEVERE: Invalid resource : java:jboss/datasources/ExampleDS__pm
java.lang.RuntimeException: Invalid resource : java:jboss/datasources/ExampleDS__pm
Someone already have this problems?
|Retrieving data ...|