Hi Rafael,
added that, now there is some new log entries (looks like it's not really
required):
WARNING - Can't have a beans.xml in WEB-INF and WEB-INF/classes/META-INF,
second will be ignored
WARNING - Can't have a beans.xml in WEB-INF and WEB-INF/classes/META-INF,
second will be ignored
The test is executed (added some log entry 'it works!') and is passing but
there is still exception logged right after:
14:00:15.689 [http-nio-20002-exec-6] INFO com.sample.app.ConfigTest - it
works!
Aug 26, 2016 2:00:15 PM org.apache.openejb.client.EventLogger log
INFO:
RemoteInitialContextCreated{providerUri=http://localhost:20002/tomee/ejb}
INFO - Undeploying app: D:\play\sample-app\target\working-dir\0\test
SEVERE - Exception sending context destroyed event to listener instance of
class org.apache.myfaces.webapp.StartupServletContextListener
javax.enterprise.inject.UnsatisfiedResolutionException: Api type
[javax.enterprise.inject.spi.BeanManager] is not found with the qualifiers
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Method Injection Point, method name :
camelBeansPostProcessor, Bean Owner : [CdiCamelExtension,
WebBeansType:EXTENSION, Name:null, API
Types:[org.apache.camel.cdi.CdiCamelExtension,javax.enterprise.inject.spi.Extension,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]
at
org.apache.webbeans.util.InjectionExceptionUtil.throwUnsatisfiedResolutionException(InjectionExceptionUtil.java:65)
at
org.apache.webbeans.container.InjectionResolver.getInjectionPointBean(InjectionResolver.java:279)
I'm not sure if i need to worry about it, because it looks like its thrown
during undeploy.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/persistence-xml-for-unit-tests-tp4679874p4679953.html
Sent from the TomEE Users mailing list archive at Nabble.com.