tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <>
Subject is possible to put a conf/openejb.xml or conf/TOmee.xml into JUNITtest package
Date Mon, 09 Feb 2015 13:30:42 GMT
form a test with EJB , i read from the ouput console:

INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt
to create one for the beans deployed.*

Now suppose that i would set a custom datasource for test :

I know that i can set resource like datasource  with ,or 
also with properties that i put into the following code:

* EJBContainer ejbContainer=EJBContainer.createEJBContainer(properties);*

*now i ask: it is possible into the test package put a conf/openejb.xml or
conf/tomee.xml that is read with test?*

I not would use maven or arquillan .
i put all jars of openejb.4.7.1 into the classpath of test package.

into the package test  JUNIT i have to put a META-INF/conf/openejb.xml or

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message