You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by "mauro2java2011@gmail.com" <ma...@gmail.com> on 2016/09/10 20:11:09 UTC

deltaspike 1.7.1 with tomee 1.7.1 plus not work

Hi all. 
I have tried to write a web app with deltaspike 1.7.1 . but when i deploy into tomee1.7.1 plus i get error 


it not deploy .

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>

from 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) 


Pelare help me

Mauro

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Karl Kildén <ka...@gmail.com>.
Unrelated to the problem: I recommend swapping out Myfaces 2.1.x to Myfaces
2.2.x yourself and just use the jsf-module, I have deployed like this for
years now.

Make sure you post the full logs and web.xml. I also think a sample project
would help. On windows you must not forget to check the localhost log if
you have default settings.





On 11 September 2016 at 16:54, Mark Struberg <st...@yahoo.de.invalid>
wrote:

> So the application doesn't even deploy?
>
> I guess that is the reason why the container fails to shutdown properly.
> Because the app was not even really started. We need the log from the boot.
> Please look for any warning or errors during the boot.
>
> LieGrue,
> strub
>
>
>
>
>
> > On Sunday, 11 September 2016, 15:55, "mauro2java2011@gmail.com" <
> mauro2java2011@gmail.com> wrote:
> > >
> > I have put into web-inf/lib
> >
> > Into my web project library i put the following jars of deltaspike.
> >
> > deltaspike-core-api-1.7.1.jar
> > deltaspike-core-impl-1.7.1.jar
> >
> > deltaspike-security-module-api-1.7.1.jar
> > deltaspike-security-module-impl-1.7.1.jar
> >
> > deltaspike-jsf-module-api-1.7.1.jar
> > deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with jee6.
> >
> >
> > Not put the
> > deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is jee6
> >
> > The war  is buils without ereor. But when i deploy not success.
> > Yes i have tried to undeploy.
> > And the log is from tomee log
> >
> >
> >
> > On 2016-09-11 13:19 (+0200), Mark Struberg <st...@yahoo.de.INVALID>
> > wrote:
> >>  Hmm, I would need to dig deeper. Probably it has to do that
> OpenWebBeans
> > get stopped before MyFaces?
> >>  Does the app work at all? I mean this stack trace is clearly from
> shutting
> > down the app.
> >>  Does your app start and is usable and the problem only arises at
> shutdown?
> >>  Or doesn't it work at all?
> >>
> >>  txs and LieGrue,
> >>  strub
> >>
> >>
> >>
> >>
> >>  > On Sunday, 11 September 2016, 13:10, Mark Struberg
> > <st...@yahoo.de.INVALID> wrote:
> >>  > > Do you have the deltaspike-core impl and api jars in your
> > deployable?Is this a
> >>  > WAR file or an EAR?We will have to look into MyFaces when this
> exactly
> > gets
> >>  > fired.
> >>  >
> >>  >
> >>  > LieGrue,strub
> >>  >
> >>  >
> >>  >
> >>  >     On Saturday, 10 September 2016, 22:11,
> > "mauro2java2011@gmail.com"
> >>  > <ma...@gmail.com> wrote:
> >>  >
> >>  >
> >>  >
> >>  >
> >>  > Hi all.
> >>  > I have tried to write a web app with deltaspike 1.7.1 . but when i
> > deploy into
> >>  > tomee1.7.1 plus i get error
> >>  >
> >>  >
> >>  > it not deploy .
> >>  >
> >>  > 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>
> >>  >
> >>  > from 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)
> >>  >
> >>  >
> >>  > Pelare help me
> >>  >
> >>  > Mauro
> >>  >
> >>
> >
>

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Gerhard Petracek <gp...@apache.org>.
@mark:

the proxy-module is needed by the jsf-module for managed converters and
validators (due to the special needs of (partial-)state-handling).

regards,
gerhard



2016-09-12 7:53 GMT+02:00 Mark Struberg <st...@yahoo.de.invalid>:

> +1
>
> If it's a sample without any customer code, could you just push it to
> github for example?
>
> The proxy stuff might be transitive dependencies. But I don't think they
> are mandatory for JSF. They are just for the partial bean support in the
> deltaspike-data module.
>
> LieGrue,
> strub
>
>
>
>
>
> > On Sunday, 11 September 2016, 22:48, John D. Ament <
> john.d.ament@gmail.com> wrote:
> > > Are you able to share a sample project?
> >
> >
> > On Sep 11, 2016 16:17, "mauro2java2011@gmail.com"
> > <ma...@gmail.com>
> > wrote:
> >
> >>
> >>  please a tips:
> >>  i jave tried with a maven project.
> >>  I have added the core api and impl , jsf module api and impl for jee6,
> and
> >>  the module security api and impl.
> >>  i have noted that when i packege i get also the jars for  module proxy
> api
> >>  and impl witout insert into pom.xml.
> >>
> >>  So i ask the module proxy is mandatory for get jsf modules to work?
> >>
> >>  my precedent test is without maven and it not deploy. Into theis test i
> >>  not have put the jars for module proxy.
> >>
> >>  Now with a maven project i get also the jars for module proxy and it
> >>  deploy on tomee.1.7.1
> >>
> >>  On 2016-09-11 16:54 (+0200), Mark Struberg
> > <st...@yahoo.de.INVALID>
> >>  wrote:
> >>  > So the application doesn't even deploy?
> >>  >
> >>  > I guess that is the reason why the container fails to shutdown
> > properly.
> >>  Because the app was not even really started. We need the log from the
> boot.
> >>  Please look for any warning or errors during the boot.
> >>  >
> >>  > LieGrue,
> >>  > strub
> >>  >
> >>  >
> >>  >
> >>  >
> >>  >
> >>  > > On Sunday, 11 September 2016, 15:55,
> > "mauro2java2011@gmail.com" <
> >>  mauro2java2011@gmail.com> wrote:
> >>  > > >
> >>  > > I have put into web-inf/lib
> >>  > >
> >>  > > Into my web project library i put the following jars of
> > deltaspike.
> >>  > >
> >>  > > deltaspike-core-api-1.7.1.jar
> >>  > > deltaspike-core-impl-1.7.1.jar
> >>  > >
> >>  > > deltaspike-security-module-api-1.7.1.jar
> >>  > > deltaspike-security-module-impl-1.7.1.jar
> >>  > >
> >>  > > deltaspike-jsf-module-api-1.7.1.jar
> >>  > > deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with
> > jee6.
> >>  > >
> >>  > >
> >>  > > Not put the
> >>  > > deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is
> > jee6
> >>  > >
> >>  > > The war  is buils without ereor. But when i deploy not success.
> >>  > > Yes i have tried to undeploy.
> >>  > > And the log is from tomee log
> >>  > >
> >>  > >
> >>  > >
> >>  > > On 2016-09-11 13:19 (+0200), Mark Struberg
> > <st...@yahoo.de.INVALID>
> >>  > > wrote:
> >>  > >>  Hmm, I would need to dig deeper. Probably it has to do that
> >>  OpenWebBeans
> >>  > > get stopped before MyFaces?
> >>  > >>  Does the app work at all? I mean this stack trace is clearly
> > from
> >>  shutting
> >>  > > down the app.
> >>  > >>  Does your app start and is usable and the problem only
> > arises at
> >>  shutdown?
> >>  > >>  Or doesn't it work at all?
> >>  > >>
> >>  > >>  txs and LieGrue,
> >>  > >>  strub
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >>
> >>  > >>  > On Sunday, 11 September 2016, 13:10, Mark Struberg
> >>  > > <st...@yahoo.de.INVALID> wrote:
> >>  > >>  > > Do you have the deltaspike-core impl and api jars
> > in your
> >>  > > deployable?Is this a
> >>  > >>  > WAR file or an EAR?We will have to look into MyFaces
> > when this
> >>  exactly
> >>  > > gets
> >>  > >>  > fired.
> >>  > >>  >
> >>  > >>  >
> >>  > >>  > LieGrue,strub
> >>  > >>  >
> >>  > >>  >
> >>  > >>  >
> >>  > >>  >     On Saturday, 10 September 2016, 22:11,
> >>  > > "mauro2java2011@gmail.com"
> >>  > >>  > <ma...@gmail.com> wrote:
> >>  > >>  >
> >>  > >>  >
> >>  > >>  >
> >>  > >>  >
> >>  > >>  > Hi all.
> >>  > >>  > I have tried to write a web app with deltaspike 1.7.1 .
> > but when i
> >>  > > deploy into
> >>  > >>  > tomee1.7.1 plus i get error
> >>  > >>  >
> >>  > >>  >
> >>  > >>  > it not deploy .
> >>  > >>  >
> >>  > >>  > 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>
> >>  > >>  >
> >>  > >>  > from 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)
> >>  > >>  >
> >>  > >>  >
> >>  > >>  > Pelare help me
> >>  > >>  >
> >>  > >>  > Mauro
> >>  > >>  >
> >>  > >>
> >>  > >
> >>  >
> >>
> >
>

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
+1

If it's a sample without any customer code, could you just push it to github for example?

The proxy stuff might be transitive dependencies. But I don't think they are mandatory for JSF. They are just for the partial bean support in the deltaspike-data module.

LieGrue,
strub





> On Sunday, 11 September 2016, 22:48, John D. Ament <jo...@gmail.com> wrote:
> > Are you able to share a sample project?
> 
> 
> On Sep 11, 2016 16:17, "mauro2java2011@gmail.com" 
> <ma...@gmail.com>
> wrote:
> 
>> 
>>  please a tips:
>>  i jave tried with a maven project.
>>  I have added the core api and impl , jsf module api and impl for jee6, and
>>  the module security api and impl.
>>  i have noted that when i packege i get also the jars for  module proxy api
>>  and impl witout insert into pom.xml.
>> 
>>  So i ask the module proxy is mandatory for get jsf modules to work?
>> 
>>  my precedent test is without maven and it not deploy. Into theis test i
>>  not have put the jars for module proxy.
>> 
>>  Now with a maven project i get also the jars for module proxy and it
>>  deploy on tomee.1.7.1
>> 
>>  On 2016-09-11 16:54 (+0200), Mark Struberg 
> <st...@yahoo.de.INVALID>
>>  wrote:
>>  > So the application doesn't even deploy?
>>  >
>>  > I guess that is the reason why the container fails to shutdown 
> properly.
>>  Because the app was not even really started. We need the log from the boot.
>>  Please look for any warning or errors during the boot.
>>  >
>>  > LieGrue,
>>  > strub
>>  >
>>  >
>>  >
>>  >
>>  >
>>  > > On Sunday, 11 September 2016, 15:55, 
> "mauro2java2011@gmail.com" <
>>  mauro2java2011@gmail.com> wrote:
>>  > > >
>>  > > I have put into web-inf/lib
>>  > >
>>  > > Into my web project library i put the following jars of 
> deltaspike.
>>  > >
>>  > > deltaspike-core-api-1.7.1.jar
>>  > > deltaspike-core-impl-1.7.1.jar
>>  > >
>>  > > deltaspike-security-module-api-1.7.1.jar
>>  > > deltaspike-security-module-impl-1.7.1.jar
>>  > >
>>  > > deltaspike-jsf-module-api-1.7.1.jar
>>  > > deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with 
> jee6.
>>  > >
>>  > >
>>  > > Not put the
>>  > > deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is 
> jee6
>>  > >
>>  > > The war  is buils without ereor. But when i deploy not success.
>>  > > Yes i have tried to undeploy.
>>  > > And the log is from tomee log
>>  > >
>>  > >
>>  > >
>>  > > On 2016-09-11 13:19 (+0200), Mark Struberg 
> <st...@yahoo.de.INVALID>
>>  > > wrote:
>>  > >>  Hmm, I would need to dig deeper. Probably it has to do that
>>  OpenWebBeans
>>  > > get stopped before MyFaces?
>>  > >>  Does the app work at all? I mean this stack trace is clearly 
> from
>>  shutting
>>  > > down the app.
>>  > >>  Does your app start and is usable and the problem only 
> arises at
>>  shutdown?
>>  > >>  Or doesn't it work at all?
>>  > >>
>>  > >>  txs and LieGrue,
>>  > >>  strub
>>  > >>
>>  > >>
>>  > >>
>>  > >>
>>  > >>  > On Sunday, 11 September 2016, 13:10, Mark Struberg
>>  > > <st...@yahoo.de.INVALID> wrote:
>>  > >>  > > Do you have the deltaspike-core impl and api jars 
> in your
>>  > > deployable?Is this a
>>  > >>  > WAR file or an EAR?We will have to look into MyFaces 
> when this
>>  exactly
>>  > > gets
>>  > >>  > fired.
>>  > >>  >
>>  > >>  >
>>  > >>  > LieGrue,strub
>>  > >>  >
>>  > >>  >
>>  > >>  >
>>  > >>  >     On Saturday, 10 September 2016, 22:11,
>>  > > "mauro2java2011@gmail.com"
>>  > >>  > <ma...@gmail.com> wrote:
>>  > >>  >
>>  > >>  >
>>  > >>  >
>>  > >>  >
>>  > >>  > Hi all.
>>  > >>  > I have tried to write a web app with deltaspike 1.7.1 . 
> but when i
>>  > > deploy into
>>  > >>  > tomee1.7.1 plus i get error
>>  > >>  >
>>  > >>  >
>>  > >>  > it not deploy .
>>  > >>  >
>>  > >>  > 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>
>>  > >>  >
>>  > >>  > from 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)
>>  > >>  >
>>  > >>  >
>>  > >>  > Pelare help me
>>  > >>  >
>>  > >>  > Mauro
>>  > >>  >
>>  > >>
>>  > >
>>  >
>> 
> 

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by "John D. Ament" <jo...@gmail.com>.
Are you able to share a sample project?

On Sep 11, 2016 16:17, "mauro2java2011@gmail.com" <ma...@gmail.com>
wrote:

>
> please a tips:
> i jave tried with a maven project.
> I have added the core api and impl , jsf module api and impl for jee6, and
> the module security api and impl.
> i have noted that when i packege i get also the jars for  module proxy api
> and impl witout insert into pom.xml.
>
> So i ask the module proxy is mandatory for get jsf modules to work?
>
> my precedent test is without maven and it not deploy. Into theis test i
> not have put the jars for module proxy.
>
> Now with a maven project i get also the jars for module proxy and it
> deploy on tomee.1.7.1
>
> On 2016-09-11 16:54 (+0200), Mark Struberg <st...@yahoo.de.INVALID>
> wrote:
> > So the application doesn't even deploy?
> >
> > I guess that is the reason why the container fails to shutdown properly.
> Because the app was not even really started. We need the log from the boot.
> Please look for any warning or errors during the boot.
> >
> > LieGrue,
> > strub
> >
> >
> >
> >
> >
> > > On Sunday, 11 September 2016, 15:55, "mauro2java2011@gmail.com" <
> mauro2java2011@gmail.com> wrote:
> > > >
> > > I have put into web-inf/lib
> > >
> > > Into my web project library i put the following jars of deltaspike.
> > >
> > > deltaspike-core-api-1.7.1.jar
> > > deltaspike-core-impl-1.7.1.jar
> > >
> > > deltaspike-security-module-api-1.7.1.jar
> > > deltaspike-security-module-impl-1.7.1.jar
> > >
> > > deltaspike-jsf-module-api-1.7.1.jar
> > > deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with jee6.
> > >
> > >
> > > Not put the
> > > deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is jee6
> > >
> > > The war  is buils without ereor. But when i deploy not success.
> > > Yes i have tried to undeploy.
> > > And the log is from tomee log
> > >
> > >
> > >
> > > On 2016-09-11 13:19 (+0200), Mark Struberg <st...@yahoo.de.INVALID>
> > > wrote:
> > >>  Hmm, I would need to dig deeper. Probably it has to do that
> OpenWebBeans
> > > get stopped before MyFaces?
> > >>  Does the app work at all? I mean this stack trace is clearly from
> shutting
> > > down the app.
> > >>  Does your app start and is usable and the problem only arises at
> shutdown?
> > >>  Or doesn't it work at all?
> > >>
> > >>  txs and LieGrue,
> > >>  strub
> > >>
> > >>
> > >>
> > >>
> > >>  > On Sunday, 11 September 2016, 13:10, Mark Struberg
> > > <st...@yahoo.de.INVALID> wrote:
> > >>  > > Do you have the deltaspike-core impl and api jars in your
> > > deployable?Is this a
> > >>  > WAR file or an EAR?We will have to look into MyFaces when this
> exactly
> > > gets
> > >>  > fired.
> > >>  >
> > >>  >
> > >>  > LieGrue,strub
> > >>  >
> > >>  >
> > >>  >
> > >>  >     On Saturday, 10 September 2016, 22:11,
> > > "mauro2java2011@gmail.com"
> > >>  > <ma...@gmail.com> wrote:
> > >>  >
> > >>  >
> > >>  >
> > >>  >
> > >>  > Hi all.
> > >>  > I have tried to write a web app with deltaspike 1.7.1 . but when i
> > > deploy into
> > >>  > tomee1.7.1 plus i get error
> > >>  >
> > >>  >
> > >>  > it not deploy .
> > >>  >
> > >>  > 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>
> > >>  >
> > >>  > from 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)
> > >>  >
> > >>  >
> > >>  > Pelare help me
> > >>  >
> > >>  > Mauro
> > >>  >
> > >>
> > >
> >
>

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by "mauro2java2011@gmail.com" <ma...@gmail.com>.
please a tips:
i jave tried with a maven project.
I have added the core api and impl , jsf module api and impl for jee6, and the module security api and impl.
i have noted that when i packege i get also the jars for  module proxy api and impl witout insert into pom.xml.

So i ask the module proxy is mandatory for get jsf modules to work?

my precedent test is without maven and it not deploy. Into theis test i not have put the jars for module proxy.

Now with a maven project i get also the jars for module proxy and it deploy on tomee.1.7.1

On 2016-09-11 16:54 (+0200), Mark Struberg <st...@yahoo.de.INVALID> wrote: 
> So the application doesn't even deploy?
> 
> I guess that is the reason why the container fails to shutdown properly. Because the app was not even really started. We need the log from the boot. Please look for any warning or errors during the boot.
> 
> LieGrue,
> strub
> 
> 
> 
> 
> 
> > On Sunday, 11 September 2016, 15:55, "mauro2java2011@gmail.com" <ma...@gmail.com> wrote:
> > > 
> > I have put into web-inf/lib
> > 
> > Into my web project library i put the following jars of deltaspike.
> > 
> > deltaspike-core-api-1.7.1.jar
> > deltaspike-core-impl-1.7.1.jar
> > 
> > deltaspike-security-module-api-1.7.1.jar
> > deltaspike-security-module-impl-1.7.1.jar
> > 
> > deltaspike-jsf-module-api-1.7.1.jar
> > deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with jee6.
> > 
> > 
> > Not put the 
> > deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is jee6
> > 
> > The war  is buils without ereor. But when i deploy not success. 
> > Yes i have tried to undeploy. 
> > And the log is from tomee log
> > 
> > 
> > 
> > On 2016-09-11 13:19 (+0200), Mark Struberg <st...@yahoo.de.INVALID> 
> > wrote: 
> >>  Hmm, I would need to dig deeper. Probably it has to do that OpenWebBeans 
> > get stopped before MyFaces?
> >>  Does the app work at all? I mean this stack trace is clearly from shutting 
> > down the app.
> >>  Does your app start and is usable and the problem only arises at shutdown?
> >>  Or doesn't it work at all?
> >> 
> >>  txs and LieGrue,
> >>  strub
> >> 
> >> 
> >> 
> >> 
> >>  > On Sunday, 11 September 2016, 13:10, Mark Struberg 
> > <st...@yahoo.de.INVALID> wrote:
> >>  > > Do you have the deltaspike-core impl and api jars in your 
> > deployable?Is this a 
> >>  > WAR file or an EAR?We will have to look into MyFaces when this exactly 
> > gets 
> >>  > fired. 
> >>  > 
> >>  > 
> >>  > LieGrue,strub
> >>  > 
> >>  > 
> >>  > 
> >>  >     On Saturday, 10 September 2016, 22:11, 
> > "mauro2java2011@gmail.com" 
> >>  > <ma...@gmail.com> wrote:
> >>  > 
> >>  > 
> >>  > 
> >>  > 
> >>  > Hi all. 
> >>  > I have tried to write a web app with deltaspike 1.7.1 . but when i 
> > deploy into 
> >>  > tomee1.7.1 plus i get error 
> >>  > 
> >>  > 
> >>  > it not deploy .
> >>  > 
> >>  > 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>
> >>  > 
> >>  > from 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) 
> >>  > 
> >>  > 
> >>  > Pelare help me
> >>  > 
> >>  > Mauro
> >>  > 
> >> 
> > 
> 

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
So the application doesn't even deploy?

I guess that is the reason why the container fails to shutdown properly. Because the app was not even really started. We need the log from the boot. Please look for any warning or errors during the boot.

LieGrue,
strub





> On Sunday, 11 September 2016, 15:55, "mauro2java2011@gmail.com" <ma...@gmail.com> wrote:
> > 
> I have put into web-inf/lib
> 
> Into my web project library i put the following jars of deltaspike.
> 
> deltaspike-core-api-1.7.1.jar
> deltaspike-core-impl-1.7.1.jar
> 
> deltaspike-security-module-api-1.7.1.jar
> deltaspike-security-module-impl-1.7.1.jar
> 
> deltaspike-jsf-module-api-1.7.1.jar
> deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with jee6.
> 
> 
> Not put the 
> deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is jee6
> 
> The war  is buils without ereor. But when i deploy not success. 
> Yes i have tried to undeploy. 
> And the log is from tomee log
> 
> 
> 
> On 2016-09-11 13:19 (+0200), Mark Struberg <st...@yahoo.de.INVALID> 
> wrote: 
>>  Hmm, I would need to dig deeper. Probably it has to do that OpenWebBeans 
> get stopped before MyFaces?
>>  Does the app work at all? I mean this stack trace is clearly from shutting 
> down the app.
>>  Does your app start and is usable and the problem only arises at shutdown?
>>  Or doesn't it work at all?
>> 
>>  txs and LieGrue,
>>  strub
>> 
>> 
>> 
>> 
>>  > On Sunday, 11 September 2016, 13:10, Mark Struberg 
> <st...@yahoo.de.INVALID> wrote:
>>  > > Do you have the deltaspike-core impl and api jars in your 
> deployable?Is this a 
>>  > WAR file or an EAR?We will have to look into MyFaces when this exactly 
> gets 
>>  > fired. 
>>  > 
>>  > 
>>  > LieGrue,strub
>>  > 
>>  > 
>>  > 
>>  >     On Saturday, 10 September 2016, 22:11, 
> "mauro2java2011@gmail.com" 
>>  > <ma...@gmail.com> wrote:
>>  > 
>>  > 
>>  > 
>>  > 
>>  > Hi all. 
>>  > I have tried to write a web app with deltaspike 1.7.1 . but when i 
> deploy into 
>>  > tomee1.7.1 plus i get error 
>>  > 
>>  > 
>>  > it not deploy .
>>  > 
>>  > 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>
>>  > 
>>  > from 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) 
>>  > 
>>  > 
>>  > Pelare help me
>>  > 
>>  > Mauro
>>  > 
>> 
> 

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by "mauro2java2011@gmail.com" <ma...@gmail.com>.
I have put into web-inf/lib

Into my web project library i put the following jars of deltaspike.

deltaspike-core-api-1.7.1.jar
deltaspike-core-impl-1.7.1.jar

deltaspike-security-module-api-1.7.1.jar
deltaspike-security-module-impl-1.7.1.jar

deltaspike-jsf-module-api-1.7.1.jar
deltaspike-jsf-module-impl-ee6-1.7.1.jar because i use jee with jee6.


Not put the 
deltaspike-jsf-module-impl-1.7.1.jar because tomee1.7.1 plus is jee6

The war  is buils without ereor. But when i deploy not success. 
Yes i have tried to undeploy. 
And the log is from tomee log


On 2016-09-11 13:19 (+0200), Mark Struberg <st...@yahoo.de.INVALID> wrote: 
> Hmm, I would need to dig deeper. Probably it has to do that OpenWebBeans get stopped before MyFaces?
> Does the app work at all? I mean this stack trace is clearly from shutting down the app.
> Does your app start and is usable and the problem only arises at shutdown?
> Or doesn't it work at all?
> 
> txs and LieGrue,
> strub
> 
> 
> 
> 
> > On Sunday, 11 September 2016, 13:10, Mark Struberg <st...@yahoo.de.INVALID> wrote:
> > > Do you have the deltaspike-core impl and api jars in your deployable?Is this a 
> > WAR file or an EAR?We will have to look into MyFaces when this exactly gets 
> > fired. 
> > 
> > 
> > LieGrue,strub
> > 
> > 
> > 
> >     On Saturday, 10 September 2016, 22:11, "mauro2java2011@gmail.com" 
> > <ma...@gmail.com> wrote:
> > 
> > 
> > 
> > 
> > Hi all. 
> > I have tried to write a web app with deltaspike 1.7.1 . but when i deploy into 
> > tomee1.7.1 plus i get error 
> > 
> > 
> > it not deploy .
> > 
> > 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>
> > 
> > from 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) 
> > 
> > 
> > Pelare help me
> > 
> > Mauro
> > 
> 

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
Hmm, I would need to dig deeper. Probably it has to do that OpenWebBeans get stopped before MyFaces?
Does the app work at all? I mean this stack trace is clearly from shutting down the app.
Does your app start and is usable and the problem only arises at shutdown?
Or doesn't it work at all?

txs and LieGrue,
strub




> On Sunday, 11 September 2016, 13:10, Mark Struberg <st...@yahoo.de.INVALID> wrote:
> > Do you have the deltaspike-core impl and api jars in your deployable?Is this a 
> WAR file or an EAR?We will have to look into MyFaces when this exactly gets 
> fired. 
> 
> 
> LieGrue,strub
> 
> 
> 
>     On Saturday, 10 September 2016, 22:11, "mauro2java2011@gmail.com" 
> <ma...@gmail.com> wrote:
> 
> 
> 
> 
> Hi all. 
> I have tried to write a web app with deltaspike 1.7.1 . but when i deploy into 
> tomee1.7.1 plus i get error 
> 
> 
> it not deploy .
> 
> 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>
> 
> from 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) 
> 
> 
> Pelare help me
> 
> Mauro
> 

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by "mauro2java2011@gmail.com" <ma...@gmail.com>.
I have put into web-inf/following jars of deltaspike.

deltaspike-core-api-1.7.1.jar
deltaspike-core-impl-1.7.1.jar

deltaspike-security-module-api-1.7.1.jar
deltaspike-security-module-impl-1.7.1.jar

deltaspike-jsf-module-api-1.7.1.jar
deltaspike-jsf-module-impl-1.7.1.jar not put this jar

i have noted that is present also another jar:


deltaspike-jsf-module-impl-ee6-1.7.1.jar i have read from deltaspike website  that it is for servers  java ee6  ( i think for use with jsf2.0 -2.1) 2016-09-11 13:09 (+0200), Mark Struberg <st...@yahoo.de.INVALID> wrote: 
> Do you have the deltaspike-core impl and api jars in your deployable?Is this a WAR file or an EAR?We will have to look into MyFaces when this exactly gets fired. 
> 
> 
> LieGrue,strub
>  
> 
>     On Saturday, 10 September 2016, 22:11, "mauro2java2011@gmail.com" <ma...@gmail.com> wrote:
>  
>  
> 
>  
> Hi all. 
> I have tried to write a web app with deltaspike 1.7.1 . but when i deploy into tomee1.7.1 plus i get error 
> 
> 
> it not deploy .
> 
> 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>
> 
> from 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) 
> 
> 
> Pelare help me
> 
> Mauro
> 
> 
>  
>    

Re: deltaspike 1.7.1 with tomee 1.7.1 plus not work

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
Do you have the deltaspike-core impl and api jars in your deployable?Is this a WAR file or an EAR?We will have to look into MyFaces when this exactly gets fired. 


LieGrue,strub
 

    On Saturday, 10 September 2016, 22:11, "mauro2java2011@gmail.com" <ma...@gmail.com> wrote:
 
 

 
Hi all. 
I have tried to write a web app with deltaspike 1.7.1 . but when i deploy into tomee1.7.1 plus i get error 


it not deploy .

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>

from 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) 


Pelare help me

Mauro