this is brought by arquillian servlet protocol dependency *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*
2013/2/19 Luca Merolla <[email protected]> > Ok, I had some mess in my settings.xml and it was not downloading the > proper snapshots. > > Then the project uploaded by Romain works. > > I have applied the changes also to my project and since I have got a > conflict version and I had to change javaee-api to version 6.0-5-SNAPSHOT. > > After that I get "Defined default protocol Servlet 3.0 can not be found on > classpath", and this error disappear only if I remove: > > <defaultProtocol type="Servlet 3.0" /> > > I don't know if it's directly related, but by removing the defaultProtocol, > the dataset are not loaded anymore > > > > > On Mon, Feb 18, 2013 at 4:47 PM, Romain Manni-Bucau > <[email protected]>wrote: > > > maybe try http://www.2shared.com/file/h0wFeRPW/luca.html > > > > *Romain Manni-Bucau* > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > *Blog: **http://rmannibucau.wordpress.com/*< > > http://rmannibucau.wordpress.com/> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > *Github: https://github.com/rmannibucau* > > > > > > > > 2013/2/18 Luca Merolla <[email protected]> > > > > > Here is my original dependency:tree > > > > > > http://pastebin.com/rj00EB0S > > > > > > then I have applied few changes like in yours: > > > -removed openejb-core > > > -added slf4j-jdk14 > > > > > > But I get a java.lang.ClassNotFoundException: > > > org.apache.openejb.OpenEJBRuntimeException > > > > > > New dependency:tree : http://pastebin.com/TN6KUSB5 > > > > > > New logs: http://pastebin.com/x8tDK9f0 > > > > > > > > > > > > On Mon, Feb 18, 2013 at 1:35 PM, Romain Manni-Bucau > > > <[email protected]>wrote: > > > > > > > here my update of your project: > > > > > > > > pom.xml: https://gist.github.com/rmannibucau/4977045 > > > > arquillian.xml: > > https://gist.github.com/rmannibucau/3e527880ba322cdb539d > > > > java: https://gist.github.com/rmannibucau/4977055 > > > > > > > > PS: i fixed slf4j to the version 1.6.1 in arquillian-pom.xml (and > > > imported > > > > slf4j-jdk14 too - not sure this part is mandatory) > > > > > > > > *Romain Manni-Bucau* > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > http://rmannibucau.wordpress.com/> > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > 2013/2/18 Romain Manni-Bucau <[email protected]> > > > > > > > > > can you share a dependency:tree please? > > > > > > > > > > *Romain Manni-Bucau* > > > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > http://rmannibucau.wordpress.com/> > > > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > > *Github: https://github.com/rmannibucau* > > > > > > > > > > > > > > > > > > > > 2013/2/18 Luca Merolla <[email protected]> > > > > > > > > > >> I have the following dependencies > > > > >> > > > > >> arquillian-common > > > > >> arquillian-tomee-embedded > > > > >> openejb-core > > > > >> > > > > >> and I have commented out: > > > > >> arquillian-tomee-remote > > > > >> arquillian-tomee-webapp-remote > > > > >> > > > > >> But I keep getting the same error > > > > >> > > > > >> > > > > >> > > > > >> On Mon, Feb 18, 2013 at 11:39 AM, Romain Manni-Bucau > > > > >> <[email protected]>wrote: > > > > >> > > > > >> > you fixed your dependencies? i mean kept a single adapter? > > > > >> > > > > > >> > arquillian-tomee-embedded should bring it back > > > > >> > > > > > >> > *Romain Manni-Bucau* > > > > >> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > >> > *Blog: **http://rmannibucau.wordpress.com/*< > > > > >> > http://rmannibucau.wordpress.com/> > > > > >> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > >> > *Github: https://github.com/rmannibucau* > > > > >> > > > > > >> > > > > > >> > > > > > >> > 2013/2/18 Luca Merolla <[email protected]> > > > > >> > > > > > >> > > I have tried with 1.6.0-SNAPSHOT of today and I've got: > > > > >> > > java.lang.ClassNotFoundException: > > > > >> > > org.apache.openejb.arquillian.common.ArquillianUtil > > > > >> > > > > > > >> > > Then I have added arquillian-common in the pom.xml and now I > > get: > > > > >> > > > > > > >> > > java.lang.ClassNotFoundException: > > > > >> > > org.apache.openejb.arquillian.common.TomEEContainer > > > > >> > > > > > > >> > > full log: http://pastebin.com/kY2e3Ayh > > > > >> > > > > > > >> > > > > > > >> > > On Mon, Feb 18, 2013 at 12:23 AM, Luca Merolla < > > > > >> [email protected] > > > > >> > > >wrote: > > > > >> > > > > > > >> > > > @John @Romain > > > > >> > > > > > > > >> > > > Here is briefly what I have done: > > > > >> > > > 1- set @Deployment(testable = true) - this will make @EJB > not > > > > >> working > > > > >> > but > > > > >> > > > it will make Arquillian Persistence to work > > > > >> > > > 2- then I have defined an empty method that will be used by > > > DBUnit > > > > >> to > > > > >> > > load > > > > >> > > > the dataset defined in the @UsingDataSet: > > > > >> > > > > > > > >> > > > @Test @InSequence(1) public void initDB(){} > > > > >> > > > In fact, Arquillian Persistence does not support > > > > >> > > @Deployment(testable=false) > > > > >> > > > and so the dataset was not loaded, so @UsingDataSet was > > ignored. > > > > >> > > > > > > > >> > > > 3- Every other test is defined like this, to achieve @EJB > > > working > > > > >> and > > > > >> > > > having the dataset already loaded. > > > > >> > > > @Test @InSequence(2) @RunAsClient public void myTest(){...} > > > > >> > > > > > > > >> > > > I'll test the snapshot of tomorrow and then I'll share some > > > > >> (hopefully > > > > >> > > > working) code. > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > On Mon, Feb 18, 2013 at 12:09 AM, Romain Manni-Bucau < > > > > >> > > > [email protected]> wrote: > > > > >> > > > > > > > >> > > >> @John: basically provisioning with dbunit > > > > >> > > >> > > > > >> > > >> @Luca: forgot to mention your datasource name was XXX and > in > > > > >> openejb > > > > >> > it > > > > >> > > is > > > > >> > > >> java:openejb/Resource/XXX (you don't need it in TomEE but > > since > > > > >> DBUnit > > > > >> > > >> doesn't know about this you should specify it completely) > > > > >> > > >> > > > > >> > > >> *Romain Manni-Bucau* > > > > >> > > >> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > > > >> > > >> *Blog: **http://rmannibucau.wordpress.com/*< > > > > >> > > >> http://rmannibucau.wordpress.com/> > > > > >> > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > >> > > >> *Github: https://github.com/rmannibucau* > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> > > > > >> > > >> 2013/2/18 John D. Ament <[email protected]> > > > > >> > > >> > > > > >> > > >> > Romain- only kind of, since you can have multiple > > > deployments, > > > > >> some > > > > >> > > >> > testable, some not testable. Though I don't think that's > > the > > > > >> case > > > > >> > > here. > > > > >> > > >> > > > > > >> > > >> > RunAsClient and testable=false/true have no direct > > > correlation, > > > > >> > other > > > > >> > > >> than > > > > >> > > >> > what Romain side in that if testable=false for all > archives > > > > it's > > > > >> > > assumed > > > > >> > > >> > that the test case runs on the client. Testable controls > > the > > > > >> > > Arquillian > > > > >> > > >> > archive enrichment process. > > > > >> > > >> > > > > > >> > > >> > Luca, you mention execute the successive methods.. and > > > > >> > testable=false. > > > > >> > > >> > Testable is an attribute on @Deployment, which controls > > > > whether > > > > >> > that > > > > >> > > >> > deployment can be enriched by Arquillian. Deployments > > happen > > > > >> once > > > > >> > per > > > > >> > > >> > class, not once per method. Can you explain a little > > better > > > > what > > > > >> > > you're > > > > >> > > >> > trying to do? Are you using the persistence extension to > > > seed > > > > >> data > > > > >> > > and > > > > >> > > >> > trying to work with that data in your test methods, > across > > > > >> multiple > > > > >> > > test > > > > >> > > >> > methods? > > > > >> > > >> > > > > > >> > > >> > > > > > >> > > >> > On Sun, Feb 17, 2013 at 5:56 PM, Romain Manni-Bucau > > > > >> > > >> > <[email protected]>wrote: > > > > >> > > >> > > > > > >> > > >> > > testable != RunAsClient > > > > >> > > >> > > > > > > >> > > >> > > testable = false implies RunAsClient since it prevents > > the > > > > >> > > >> enrichement of > > > > >> > > >> > > the app archive so arquillian can't run on server side > > > > >> > > >> > > > > > > >> > > >> > > *Romain Manni-Bucau* > > > > >> > > >> > > *Twitter: @rmannibucau < > https://twitter.com/rmannibucau > > >* > > > > >> > > >> > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > >> > > >> > > http://rmannibucau.wordpress.com/> > > > > >> > > >> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > > > >> > > >> > > *Github: https://github.com/rmannibucau* > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > >> > > 2013/2/17 Luca Merolla <[email protected]> > > > > >> > > >> > > > > > > >> > > >> > > > Ok, I'll try tomorrow. > > > > >> > > >> > > > > > > > >> > > >> > > > In the mean time, by using @RunAsClient and > > @InSequence, > > > I > > > > >> have > > > > >> > > >> figured > > > > >> > > >> > > out > > > > >> > > >> > > > how to use testable=true and still use both: > > > > >> > > >> > > > - the arquillian persistence to load the dataset > (even > > if > > > > in > > > > >> my > > > > >> > > >> case it > > > > >> > > >> > > > fails for now) > > > > >> > > >> > > > - execute the successive methods as client > > > (testable=false) > > > > >> with > > > > >> > > >> > > > @RunAsClient > > > > >> > > >> > > > > > > > >> > > >> > > > I'll let you know the results of the snapshot of > > > tomorrow. > > > > >> > > >> > > > > > > > >> > > >> > > > Thanks! > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > On Sun, Feb 17, 2013 at 11:45 PM, Romain Manni-Bucau > > > > >> > > >> > > > <[email protected]>wrote: > > > > >> > > >> > > > > > > > >> > > >> > > > > i fixed some few things in tomee embedded > > > > >> > > >> > > > > > > > > >> > > >> > > > > should work with the snapshot of tomorrow > > > > >> > > >> > > > > > > > > >> > > >> > > > > FYI i removed all adapters but the tomee embedded > one > > > to > > > > >> avoid > > > > >> > > >> side > > > > >> > > >> > > > effects > > > > >> > > >> > > > > + used a in container test (testable = true). > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > *Romain Manni-Bucau* > > > > >> > > >> > > > > *Twitter: @rmannibucau < > > > https://twitter.com/rmannibucau > > > > >* > > > > >> > > >> > > > > *Blog: **http://rmannibucau.wordpress.com/*< > > > > >> > > >> > > > > http://rmannibucau.wordpress.com/> > > > > >> > > >> > > > > *LinkedIn: ** > http://fr.linkedin.com/in/rmannibucau* > > > > >> > > >> > > > > *Github: https://github.com/rmannibucau* > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > 2013/2/16 Luca Merolla <[email protected]> > > > > >> > > >> > > > > > > > > >> > > >> > > > > > I have tested with both: > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > tomee-1.6.0-SNAPSHOT > > > > >> > > >> > > > > > openejb-core-1.6.0-SNAPSHOT > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > but I still get the same exception. Probably > there > > is > > > > >> > > something > > > > >> > > >> > that > > > > >> > > >> > > > > > Arquillian needs that I have not found so far > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > On Sat, Feb 16, 2013 at 7:19 PM, Romain > Manni-Bucau > > > > >> > > >> > > > > > <[email protected]>wrote: > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > http://repository.apache.org/snapshots/ > > > > >> > > >> > > > > > > Le 16 févr. 2013 18:42, "Luca Merolla" < > > > > >> > > >> [email protected]> > > > > >> > > >> > a > > > > >> > > >> > > > > écrit > > > > >> > > >> > > > > > : > > > > >> > > >> > > > > > > > > > > >> > > >> > > > > > > > In which maven repository can I find the > > > > >> 1.6.0-SNAPSHOT? > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > On Sat, Feb 16, 2013 at 4:30 PM, Romain > > > Manni-Bucau > > > > >> > > >> > > > > > > > <[email protected]>wrote: > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > Right, > > > > >> > > >> > > > > > > > > > > > > >> > > >> > > > > > > > > Maybe try the snapshot about this error > > > > >> > > >> > > > > > > > > Le 16 févr. 2013 16:17, "Luca Merolla" < > > > > >> > > >> > [email protected] > > > > >> > > >> > > > > > > > >> > > >> > > > a > > > > >> > > >> > > > > > > écrit > > > > >> > > >> > > > > > > > : > > > > >> > > >> > > > > > > > > > > > > >> > > >> > > > > > > > > > Quick update, I have removed from > > @Deployment > > > > the > > > > >> > > >> attribute > > > > >> > > >> > > > > > > > > testable=false > > > > >> > > >> > > > > > > > > > because it seems is not supported by > > > arquillian > > > > >> > > >> > persistence. > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > Now I get another error, but "No Naming > > > Context > > > > >> > > >> Available". > > > > >> > > >> > > > > > > > > > logs: http://pastebin.com/tnEtYynK > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > Maybe is a missing dependency > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > On Sat, Feb 16, 2013 at 3:59 PM, Luca > > > Merolla < > > > > >> > > >> > > > > > > [email protected] > > > > >> > > >> > > > > > > > > > >wrote: > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > I have managed to create the datasource > > > with > > > > >> > > >> Arquillian > > > > >> > > >> > > > > > properties > > > > >> > > >> > > > > > > as > > > > >> > > >> > > > > > > > > you > > > > >> > > >> > > > > > > > > > > suggested. > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > Now I see hibernate creating the > tables, > > > and > > > > >> > > executing > > > > >> > > >> > > > queries, > > > > >> > > >> > > > > > but > > > > >> > > >> > > > > > > > > > > the @UsingDataSet annotation seems > > ignored > > > > and > > > > >> the > > > > >> > > >> > database > > > > >> > > >> > > > is > > > > >> > > >> > > > > > not > > > > >> > > >> > > > > > > > > > > populated with the data from the > dataset > > > and > > > > >> the > > > > >> > > query > > > > >> > > >> > > > returns > > > > >> > > >> > > > > > zero > > > > >> > > >> > > > > > > > > > > entities. > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > Here is the output > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > http://pastebin.com/smFTJg1X > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > On Sat, Feb 16, 2013 at 3:32 PM, Romain > > > > >> > Manni-Bucau > > > > >> > > < > > > > >> > > >> > > > > > > > > > [email protected] > > > > >> > > >> > > > > > > > > > > > wrote: > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > >> Resources.xml is in web-inf so > > shrinkwrap > > > is > > > > >> > fine. > > > > >> > > >> > > > > > > > > > >> > > > > >> > > >> > > > > > > > > > >> For global datasource use properties > > > syntax > > > > in > > > > >> > > >> > > "properties" > > > > >> > > >> > > > > > > property > > > > >> > > >> > > > > > > > > of > > > > >> > > >> > > > > > > > > > >> the > > > > >> > > >> > > > > > > > > > >> tomee container in arquillian.xml (ds > = > > > > >> > > >> > > > > > > > > > new://Resource?type=DataSource...) > > > > >> > > >> > > > > > > > > > >> Le 16 févr. 2013 15:08, "Luca > Merolla" < > > > > >> > > >> > > > > [email protected]> > > > > >> > > >> > > > > > a > > > > >> > > >> > > > > > > > > > écrit : > > > > >> > > >> > > > > > > > > > >> > > > > >> > > >> > > > > > > > > > >> > Is it possible to use resources.xm > > like > > > > >> that: > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > <?xml version="1.0" > encoding="UTF-8"?> > > > > >> > > >> > > > > > > > > > >> > <resources> > > > > >> > > >> > > > > > > > > > >> > <Resource id="nuvolaDS" > > > > >> > > >> type="javax.sql.DataSource"> > > > > >> > > >> > > > > > > > > > >> > JdbcDriver org.h2.Driver > > > > >> > > >> > > > > > > > > > >> > JdbcUrl > > > > >> > jdbc:h2:mem:nuvola_test;DB_CLOSE_DELAY=-1 > > > > >> > > >> > > > > > > > > > >> > UserName sa > > > > >> > > >> > > > > > > > > > >> > Password > > > > >> > > >> > > > > > > > > > >> > JtaManaged true > > > > >> > > >> > > > > > > > > > >> > </Resource> > > > > >> > > >> > > > > > > > > > >> > </resources> > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > and then how do I configure in > > > > >> arquillian.xml > > > > >> > to > > > > >> > > >> use > > > > >> > > >> > > this > > > > >> > > >> > > > > > > resource > > > > >> > > >> > > > > > > > > > file? > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > I have tried to add something like > > that > > > > but > > > > >> it > > > > >> > > >> doesn't > > > > >> > > >> > > > work > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > <container qualifier="tomee"> > > > > >> > > >> > > > > > > > > > >> > <configuration> > > > > >> > > >> > > > > > > > > > >> > <property > > > > >> > > >> > > > > > > > > > > > >> > name="openEjbXml">tomee-embedded/resources.xml</property> > > > > >> > > >> > > > > > > > > > >> > </configuration> > > > > >> > > >> > > > > > > > > > >> > </container> > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > On Sat, Feb 16, 2013 at 12:09 PM, > > Romain > > > > >> > > >> Manni-Bucau > > > > >> > > >> > > > > > > > > > >> > <[email protected]>wrote: > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > Basically dbunit doesnt use the > > > > >> > persistence.xml > > > > >> > > >> and > > > > >> > > >> > > with > > > > >> > > >> > > > > jta > > > > >> > > >> > > > > > > > > > >> persistence > > > > >> > > >> > > > > > > > > > >> > > unit the datasource is configure > in > > > > >> > > >> arquillian.xml > > > > >> > > >> > (in > > > > >> > > >> > > > > > > > properties > > > > >> > > >> > > > > > > > > > >> > property) > > > > >> > > >> > > > > > > > > > >> > > or providing a tomee.xml. > > > > >> > > >> > > > > > > > > > >> > > > > > > >> > > >> > > > > > > > > > >> > > I know Jean-Louis extended dbunit > to > > > > reuse > > > > >> > the > > > > >> > > >> jndi > > > > >> > > >> > > > > > > datasource, > > > > >> > > >> > > > > > > > > > maybe > > > > >> > > >> > > > > > > > > > >> he > > > > >> > > >> > > > > > > > > > >> > > could share his code > > > > >> > > >> > > > > > > > > > >> > > Le 16 févr. 2013 12:03, "Luca > > > Merolla" < > > > > >> > > >> > > > > > > [email protected]> > > > > >> > > >> > > > > > > > a > > > > >> > > >> > > > > > > > > > >> écrit > > > > >> > > >> > > > > > > > > > >> > : > > > > >> > > >> > > > > > > > > > >> > > > > > > >> > > >> > > > > > > > > > >> > > > Hi all, > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > I'm still testing Arquillian > with > > > > TomEE > > > > >> > > >> embedded > > > > >> > > >> > > and I > > > > >> > > >> > > > > > would > > > > >> > > >> > > > > > > > > like > > > > >> > > >> > > > > > > > > > to > > > > >> > > >> > > > > > > > > > >> > > load a > > > > >> > > >> > > > > > > > > > >> > > > dataset generated with DBUnit. > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > I have seen some examples that > are > > > > using > > > > >> > the > > > > >> > > >> > > > > > > > > > >> > > > annotation > > > > @UsingDataSet("dataset.xml") > > > > >> > > >> however I > > > > >> > > >> > > > don't > > > > >> > > >> > > > > > see > > > > >> > > >> > > > > > > > any > > > > >> > > >> > > > > > > > > > >> DBUnit > > > > >> > > >> > > > > > > > > > >> > > > information about the data > loaded > > > and > > > > in > > > > >> > fact > > > > >> > > >> in > > > > >> > > >> > my > > > > >> > > >> > > > test > > > > >> > > >> > > > > > > > cases, > > > > >> > > >> > > > > > > > > > the > > > > >> > > >> > > > > > > > > > >> DAO > > > > >> > > >> > > > > > > > > > >> > > is > > > > >> > > >> > > > > > > > > > >> > > > returning null from the database > > > > query. > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > Here is the project to reproduce > > the > > > > >> issue > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > >> > > >> > > > > > >> > > >> > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > http://www.fileconvoy.com/dfl.php?id=gad1e779cec1eb3289992251597f1580011e18db1d > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > I thought it was a problem of > > > > >> dependencies, > > > > >> > > >> then I > > > > >> > > >> > > > have > > > > >> > > >> > > > > > > added > > > > >> > > >> > > > > > > > > > >> DBUnit in > > > > >> > > >> > > > > > > > > > >> > > > arquillian-pom.xml file but > > nothing > > > > >> > changed. > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > My application is using > > PostgreSQL, > > > > but > > > > >> for > > > > >> > > the > > > > >> > > >> > > > testing > > > > >> > > >> > > > > I > > > > >> > > >> > > > > > > > wanted > > > > >> > > >> > > > > > > > > > to > > > > >> > > >> > > > > > > > > > >> use > > > > >> > > >> > > > > > > > > > >> > > an > > > > >> > > >> > > > > > > > > > >> > > > in-memory database like H2 or > > HSQL. > > > In > > > > >> the > > > > >> > > >> > > > > > persistence.xml I > > > > >> > > >> > > > > > > > > have > > > > >> > > >> > > > > > > > > > >> tried > > > > >> > > >> > > > > > > > > > >> > > to > > > > >> > > >> > > > > > > > > > >> > > > configure HSQL. > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > Thanks in advance, > > > > >> > > >> > > > > > > > > > >> > > > LM > > > > >> > > >> > > > > > > > > > >> > > > > > > > >> > > >> > > > > > > > > > >> > > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > -- > > > > >> > > >> > > > > > > > > > >> > *Luca Merolla* > > > > >> > > >> > > > > > > > > > >> > Management, Business & Technology > > > > Consultant > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > < > > http://maps.google.com/maps?q=&hl=en> > > > > >> > > *Mobile:* > > > > >> > > >> > > > > > > +393774569974 > > > > >> > > >> > > > > > > > > > >> > *Email:* [email protected] > > > > >> > > >> > > > > > > > > > >> > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > > > > > > > >> > *Website < > > > > http://www.merollaconsulting.com > > > > >> >* > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > Merolla Consulting Limited > > > > >> > > >> > > > > > > > > > >> > > > > > >> > > >> > > > > > > > > > >> > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > -- > > > > >> > > >> > > > > > > > > > > *Luca Merolla* > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > Management, Business & Technology > > > Consultant > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > <http://maps.google.com/maps?q=&hl=en > > > > > > >> > > >> > > > > > > > > > > *Mobile:* +393774569974 > > > > >> > > >> > > > > > > > > > > *Email:* [email protected] > > > > >> > > >> > > > > > > > > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > > > > > > > > *Website < > > http://www.merollaconsulting.com > > > >* > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > Merolla Consulting Limited > > > > >> > > >> > > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > -- > > > > >> > > >> > > > > > > > > > *Luca Merolla* > > > > >> > > >> > > > > > > > > > Management, Business & Technology > > Consultant > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > <http://maps.google.com/maps?q=&hl=en> > > > > >> *Mobile:* > > > > >> > > >> > > > +393774569974 > > > > >> > > >> > > > > > > > > > *Email:* [email protected] > > > > >> > > >> > > > > > > > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > > > > > > > *Website < > http://www.merollaconsulting.com > > >* > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > Merolla Consulting Limited > > > > >> > > >> > > > > > > > > > > > > > >> > > >> > > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > -- > > > > >> > > >> > > > > > > > *Luca Merolla* > > > > >> > > >> > > > > > > > Management, Business & Technology Consultant > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > <http://maps.google.com/maps?q=&hl=en> > > > *Mobile:* > > > > >> > > >> > +393774569974 > > > > >> > > >> > > > > > > > *Email:* [email protected] > > > > >> > > >> > > > > > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > > > > > *Website <http://www.merollaconsulting.com>* > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > Merolla Consulting Limited > > > > >> > > >> > > > > > > > > > > > >> > > >> > > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > -- > > > > >> > > >> > > > > > *Luca Merolla* > > > > >> > > >> > > > > > Management, Business & Technology Consultant > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > <http://maps.google.com/maps?q=&hl=en> > *Mobile:* > > > > >> > > >> +393774569974 > > > > >> > > >> > > > > > *Email:* [email protected] > > > > >> > > >> > > > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > > > *Website <http://www.merollaconsulting.com>* > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > Merolla Consulting Limited > > > > >> > > >> > > > > > > > > > >> > > >> > > > > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > -- > > > > >> > > >> > > > *Luca Merolla* > > > > >> > > >> > > > Management, Business & Technology Consultant > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* > > > > >> > +393774569974 > > > > >> > > >> > > > *Email:* [email protected] > > > > >> > > >> > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > >> > > > *Website <http://www.merollaconsulting.com>* > > > > >> > > >> > > > > > > > >> > > >> > > > > > > > >> > > >> > > > Merolla Consulting Limited > > > > >> > > >> > > > > > > > >> > > >> > > > > > > >> > > >> > > > > > >> > > >> > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > -- > > > > >> > > > *Luca Merolla* > > > > >> > > > > > > > >> > > > Management, Business & Technology Consultant > > > > >> > > > > > > > >> > > > > > > > >> > > > <http://maps.google.com/maps?q=&hl=en> > > > > >> > > > *Mobile:* +393774569974 > > > > >> > > > *Email:* [email protected] > > > > >> > > > *www.linkedin.com/in/lucamerolla* > > > > >> > > > *Website <http://www.merollaconsulting.com>* > > > > >> > > > > > > > >> > > > > > > > >> > > > Merolla Consulting Limited > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > -- > > > > >> > > *Luca Merolla* > > > > >> > > Management, Business & Technology Consultant > > > > >> > > > > > > >> > > > > > > >> > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* > > +393774569974 > > > > >> > > *Email:* [email protected] > > > > >> > > *www.linkedin.com/in/lucamerolla* > > > > >> > > *Website <http://www.merollaconsulting.com>* > > > > >> > > > > > > >> > > > > > > >> > > Merolla Consulting Limited > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> -- > > > > >> *Luca Merolla* > > > > >> Management, Business & Technology Consultant > > > > >> > > > > >> > > > > >> <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > > > >> *Email:* [email protected] > > > > >> *www.linkedin.com/in/lucamerolla* > > > > >> *Website <http://www.merollaconsulting.com>* > > > > >> > > > > >> > > > > >> Merolla Consulting Limited > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > *Luca Merolla* > > > Management, Business & Technology Consultant > > > > > > > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > > *Email:* [email protected] > > > *www.linkedin.com/in/lucamerolla* > > > *Website <http://www.merollaconsulting.com>* > > > > > > > > > Merolla Consulting Limited > > > > > > > > > -- > *Luca Merolla* > Management, Business & Technology Consultant > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > *Email:* [email protected] > *www.linkedin.com/in/lucamerolla* > *Website <http://www.merollaconsulting.com>* > > > Merolla Consulting Limited >
