You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by mauro2java2011 <ma...@gmail.com> on 2016/09/09 10:18:26 UTC
error when i deploy web app with deltaspike 1.7.1
hi.
I have tried t owrite a web app with deltaspike and deployed to tomee 1.7.1
it not depoy. iu get the following log .
i have already put my beans.xml file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
</beans>
form the tomee logs :
set 09, 2016 12:15:26 PM org.apache.catalina.core.StandardContext
listenerStop
SEVERE: Exception sending context destroyed event to listener instance of
class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.IllegalStateException: No
org.apache.deltaspike.core.api.provider.BeanManagerProvider in place! Please
ensure that you configured the CDI implementation of your choice properly.
If your setup is correct, please clear all caches and compiled artifacts.
at
org.apache.deltaspike.core.api.provider.BeanManagerProvider.getInstance(BeanManagerProvider.java:164)
at
org.apache.deltaspike.jsf.impl.listener.system.JsfSystemEventBroadcaster.processEvent(JsfSystemEventBroadcaster.java:55)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
at
org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2493)
at
org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
at
org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2684)
at
org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
at
javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:330)
at
org.apache.myfaces.webapp.AbstractFacesInitializer._dispatchApplicationEvent(AbstractFacesInitializer.java:286)
at
org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:320)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:161)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5033)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5685)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1591)
at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1580)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/error-when-i-deploy-web-app-with-deltaspike-1-7-1-tp4680090.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: error when i deploy web app with deltaspike 1.7.1
Posted by Romain Manni-Bucau <rm...@gmail.com>.
deltaspike list please ;)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
2016-09-09 12:18 GMT+02:00 mauro2java2011 <ma...@gmail.com>:
>
> hi.
> I have tried t owrite a web app with deltaspike and deployed to tomee 1.7.1
>
> it not depoy. iu get the following log .
>
> i have already put my beans.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
> </beans>
>
> form the tomee logs :
>
>
>
> set 09, 2016 12:15:26 PM org.apache.catalina.core.StandardContext
> listenerStop
> SEVERE: Exception sending context destroyed event to listener instance of
> class org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.IllegalStateException: No
> org.apache.deltaspike.core.api.provider.BeanManagerProvider in place!
> Please
> ensure that you configured the CDI implementation of your choice properly.
> If your setup is correct, please clear all caches and compiled artifacts.
> at
> org.apache.deltaspike.core.api.provider.BeanManagerProvider.getInstance(
> BeanManagerProvider.java:164)
> at
> org.apache.deltaspike.jsf.impl.listener.system.JsfSystemEventBroadcaster.
> processEvent(JsfSystemEventBroadcaster.java:55)
> at javax.faces.event.SystemEvent.processListener(SystemEvent.
> java:43)
> at
> org.apache.myfaces.application.ApplicationImpl._traverseListenerList(
> ApplicationImpl.java:2493)
> at
> org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.
> java:120)
> at
> org.apache.myfaces.application.ApplicationImpl$
> SystemListenerEntry.publish(ApplicationImpl.java:2684)
> at
> org.apache.myfaces.application.ApplicationImpl.
> publishEvent(ApplicationImpl.java:601)
> at
> javax.faces.application.ApplicationWrapper.publishEvent(
> ApplicationWrapper.java:330)
> at
> org.apache.myfaces.webapp.AbstractFacesInitializer._
> dispatchApplicationEvent(AbstractFacesInitializer.java:286)
> at
> org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(
> AbstractFacesInitializer.java:320)
> at
> org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(
> StartupServletContextListener.java:161)
> at
> org.apache.catalina.core.StandardContext.listenerStop(
> StandardContext.java:5033)
> at
> org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5685)
> at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:232)
> at
> org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1591)
> at
> org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1580)
> at java.util.concurrent.FutureTask$Sync.innerRun(
> FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
>
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/error-when-i-deploy-web-app-with-deltaspike-1-7-1-tp4680090.
> html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>