You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Lars-Fredrik Smedberg <it...@gmail.com> on 2013/09/30 16:18:19 UTC

Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Hi

I'm trying to get Deltaspike 0.5 running together with WebSphere Liberty
Profile 8.5.5 (which has Apache OpenWebBeans bundled)....

I put the following jars as common library jar files:

deltaspike-core-api-0.5.jar
deltaspike-core-impl-0.5.jar

And I get the following in the console logs at startup:

[ERROR   ] Could not find beans for Type=class
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
qualifiers:[]
Could not find beans for Type=class
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
qualifiers:[]
[ERROR   ] An error occured while starting application context path :
[/rsea]
[INFO    ] FFDC1015I: An FFDC Incident has been created:
"java.lang.IllegalStateException: Could not find beans for Type=class
org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
ffdc_13.09.30_16.09.20.0.log

And the FFDC logs contain the following stacktrace:

Stack Dump = java.lang.IllegalStateException: Could not find beans for
Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
and qualifiers:[]
 at
org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
at
org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
 at
org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
at
org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
 at
org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
at
org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
 at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
at
org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
 at
org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
at
com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
 at
com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
 at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
at
com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
 at
com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
at
com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
 at
com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
at
com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
 at
com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
at
com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
 at
com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
at
com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
 at
com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
at
com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
 at
com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
at
com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
 at
com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
 at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
at java.lang.Thread.run(Thread.java:722)



Do I do anything wrong? Can someone please point me in the right direction
to fix the above error....

Regards¨
Lars-Fredrik

-- 
Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at itsmeden@gmail.com, and destroy all copies of this
message and any attachments.

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Gerhard Petracek <ge...@gmail.com>.
hi lars-fredrik,

with std. owb the config-entry is:
org.apache.webbeans.useBDABeansXMLScanner=false
(see e.g. [1])

regards,
gerhard

[1]
https://svn.apache.org/repos/asf/openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties



2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>

> Hi again
>
> Thanks for your answers....
>
> @gerhard:
> Thanks for the suggestion, could you point my to some reference on how to
> configure this in OWB?
>
> @mark:
> Is this planned for (or will it most likely show up in)  a certain release?
> When can I try it out?
>
> Regards
> LF
>
>
> On Mon, Sep 30, 2013 at 5:00 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
> > @mark:
> > i showed a similar issue to you in july, however, this is even one small
> > step before and in some cases disabling the bda-mode helps.
> >
> > -> (still) +1 for doing it lazily.
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2013/9/30 Mark Struberg <st...@yahoo.de>
> >
> > >
> > >
> > > Hmm not sure. Actually WindowBeanHolder is part of deltaspike-core-impl
> > > and a standard @SessionScoped bean.
> > >
> > > Maybe it's because we call getBeans in AfterDeploymentValidation. Will
> > try
> > > to rework this to lazy init inside the Context.
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > >
> > >
> > >
> > > >________________________________
> > > > From: Gerhard Petracek <ge...@gmail.com>
> > > >To: users@deltaspike.apache.org
> > > >Sent: Monday, 30 September 2013, 16:38
> > > >Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> > > >
> > > >
> > > >hi lars-fredrik,
> > > >
> > > >please try to deactivate the bda-mode.
> > > >(openwebbeans doesn't activate it per default, but it's active in most
> > > >ee-servers.)
> > > >
> > > >regards,
> > > >gerhard
> > > >
> > > >
> > > >
> > > >2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
> > > >
> > > >> Hi
> > > >>
> > > >> I'm trying to get Deltaspike 0.5 running together with WebSphere
> > Liberty
> > > >> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
> > > >>
> > > >> I put the following jars as common library jar files:
> > > >>
> > > >> deltaspike-core-api-0.5.jar
> > > >> deltaspike-core-impl-0.5.jar
> > > >>
> > > >> And I get the following in the console logs at startup:
> > > >>
> > > >> [ERROR   ] Could not find beans for Type=class
> > > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > > >> qualifiers:[]
> > > >> Could not find beans for Type=class
> > > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > > >> qualifiers:[]
> > > >> [ERROR   ] An error occured while starting application context path
> :
> > > >> [/rsea]
> > > >> [INFO    ] FFDC1015I: An FFDC Incident has been created:
> > > >> "java.lang.IllegalStateException: Could not find beans for
> Type=class
> > > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > > >> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp"
> at
> > > >> ffdc_13.09.30_16.09.20.0.log
> > > >>
> > > >> And the FFDC logs contain the following stacktrace:
> > > >>
> > > >> Stack Dump = java.lang.IllegalStateException: Could not find beans
> for
> > > >> Type=class
> > org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
> > > >> and qualifiers:[]
> > > >>  at
> > > >>
> > > >>
> > >
> >
> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
> > > >> at
> > > >>
> > > >>
> > >
> >
> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
> > > >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >> at
> > > >>
> > > >>
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > >> at java.lang.reflect.Method.invoke(Method.java:601)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
> > > >> at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
> > > >> at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
> > > >>  at
> > > org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
> > > >> at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
> > > >> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
> > > >>  at
> com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
> > > >> at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
> > > >>  at
> > > >>
> > > >>
> > >
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
> > > >> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
> > > >>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
> > > >> at java.lang.Thread.run(Thread.java:722)
> > > >>
> > > >>
> > > >>
> > > >> Do I do anything wrong? Can someone please point me in the right
> > > direction
> > > >> to fix the above error....
> > > >>
> > > >> Regards¨
> > > >> Lars-Fredrik
> > > >>
> > > >> --
> > > >> Med vänlig hälsning / Best regards
> > > >>
> > > >> Lars-Fredrik Smedberg
> > > >>
> > > >> STATEMENT OF CONFIDENTIALITY:
> > > >> The information contained in this electronic message and any
> > > >> attachments to this message are intended for the exclusive use of
> the
> > > >> address(es) and may contain confidential or privileged information.
> If
> > > >> you are not the intended recipient, please notify Lars-Fredrik
> > Smedberg
> > > >> immediately at itsmeden@gmail.com, and destroy all copies of this
> > > >> message and any attachments.
> > > >>
> > > >
> > > >
> > >
> >
>
>
>
> --
> Med vänlig hälsning / Best regards
>
> Lars-Fredrik Smedberg
>
> STATEMENT OF CONFIDENTIALITY:
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> address(es) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify Lars-Fredrik Smedberg
> immediately at itsmeden@gmail.com, and destroy all copies of this
> message and any attachments.
>

Fw: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Mark Struberg <st...@yahoo.de>.

whoops, went only to Lars-Fredrik. Should have gone to the list.

LieGrue,
strub



----- Forwarded Message -----
> From: Mark Struberg <st...@yahoo.de>
> To: Lars-Fredrik Smedberg <it...@gmail.com>
> Cc: 
> Sent: Tuesday, 1 October 2013, 10:17
> Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> 
> Hi Lars-Fredrik!
> 
> It would be cool if you could open a JIRA ticket [1] and dump your information 
> into it. Perfect would be either a detailed info about how to reproduce or even 
> a small sample project.
> 
> I am working with tomcat+OWB, TomEE and WAS-8.0 at my dayjob but did not yet 
> experience this issue. So we might also contact the folks from IBM to have a 
> look at it.
> 
> Regarding the init stuff. I think the current code is indeed fine. The Spec 
> defines that we must not invoke BeanManager#getBeans() _before_ 
> AfterDeploymentValidation got fired [2]. But we only call it in ADV...
> 
> Nonetheless, plz open a ticket so we can track the progress and new info on 
> this.
> 
> LieGrue,
> strub
> 
> 
> [1] https://issues.apache.org/jira/browse/DELTASPIKE
> 
> [2] 
> http://docs.oracle.com/javaee/7/api/javax/enterprise/inject/spi/BeanManager.html#getBeans%28java.lang.String%29
> 
> 
> 
> 
> 
> 
>> ________________________________
>>  From: Lars-Fredrik Smedberg <it...@gmail.com>
>> To: users <us...@deltaspike.apache.org> 
>> Cc: Mark Struberg <st...@yahoo.de> 
>> Sent: Monday, 30 September 2013, 20:56
>> Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
>> 
>> 
>> 
>> Hi again
>> 
>> 
>> Thanks for your answers....
>> 
>> 
>> @gerhard:
>> Thanks for the suggestion, could you point my to some reference on how to 
> configure this in OWB?
>> 
>> 
>> @mark:
>> Is this planned for (or will it most likely show up in)  a certain release? 
> When can I try it out?
>> 
>> 
>> Regards
>> LF
>> 
>> 
>> 
>> On Mon, Sep 30, 2013 at 5:00 PM, Gerhard Petracek 
> <ge...@gmail.com> wrote:
>> 
>> @mark:
>>> i showed a similar issue to you in july, however, this is even one small
>>> step before and in some cases disabling the bda-mode helps.
>>> 
>>> -> (still) +1 for doing it lazily.
>>> 
>>> regards,
>>> gerhard
>>> 
>>> 
>>> 
>>> 
>>> 2013/9/30 Mark Struberg <st...@yahoo.de>
>>> 
>>>> 
>>>> 
>>>>  Hmm not sure. Actually WindowBeanHolder is part of 
> deltaspike-core-impl
>>>>  and a standard @SessionScoped bean.
>>>> 
>>>>  Maybe it's because we call getBeans in 
> AfterDeploymentValidation. Will try
>>>>  to rework this to lazy init inside the Context.
>>>> 
>>>>  LieGrue,
>>>>  strub
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>  >________________________________
>>>>  > From: Gerhard Petracek <ge...@gmail.com>
>>>>  >To: users@deltaspike.apache.org
>>>>  >Sent: Monday, 30 September 2013, 16:38
>>>>  >Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
>>>>  >
>>>>  >
>>>>  >hi lars-fredrik,
>>>>  >
>>>>  >please try to deactivate the bda-mode.
>>>>  >(openwebbeans doesn't activate it per default, but it's 
> active in most
>>>>  >ee-servers.)
>>>>  >
>>>>  >regards,
>>>>  >gerhard
>>>>  >
>>>>  >
>>>>  >
>>>>  >2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
>>>>  >
>>>>  >> Hi
>>>>  >>
>>>>  >> I'm trying to get Deltaspike 0.5 running together with 
> WebSphere Liberty
>>>>  >> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
>>>>  >>
>>>>  >> I put the following jars as common library jar files:
>>>>  >>
>>>>  >> deltaspike-core-api-0.5.jar
>>>>  >> deltaspike-core-impl-0.5.jar
>>>>  >>
>>>>  >> And I get the following in the console logs at startup:
>>>>  >>
>>>>  >> [ERROR   ] Could not find beans for Type=class
>>>>  >> 
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>>>>  >> qualifiers:[]
>>>>  >> Could not find beans for Type=class
>>>>  >> 
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>>>>  >> qualifiers:[]
>>>>  >> [ERROR   ] An error occured while starting application 
> context path :
>>>>  >> [/rsea]
>>>>  >> [INFO    ] FFDC1015I: An FFDC Incident has been created:
>>>>  >> "java.lang.IllegalStateException: Could not find 
> beans for Type=class
>>>>  >> 
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>>>>  >> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost 
> startWebApp" at
>>>>  >> ffdc_13.09.30_16.09.20.0.log
>>>>  >>
>>>>  >> And the FFDC logs contain the following stacktrace:
>>>>  >>
>>>>  >> Stack Dump = java.lang.IllegalStateException: Could not 
> find beans for
>>>>  >> Type=class 
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
>>>>  >> and qualifiers:[]
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
>>>>  >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>  >> at java.lang.reflect.Method.invoke(Method.java:601)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
>>>>  >>  at
>>>> 
> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
>>>>  >> at 
> com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
>>>>  >>  at 
> com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
>>>>  >> at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
>>>>  >>  at
>>>>  >>
>>>>  >>
>>>> 
> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
>>>>  >> at 
> com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
>>>>  >>  at 
> com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
>>>>  >> at java.lang.Thread.run(Thread.java:722)
>>>>  >>
>>>>  >>
>>>>  >>
>>>>  >> Do I do anything wrong? Can someone please point me in the 
> right
>>>>  direction
>>>>  >> to fix the above error....
>>>>  >>
>>>>  >> Regards¨
>>>>  >> Lars-Fredrik
>>>>  >>
>>>>  >> --
>>>>  >> Med vänlig hälsning / Best regards
>>>>  >>
>>>>  >> Lars-Fredrik Smedberg
>>>>  >>
>>>>  >> STATEMENT OF CONFIDENTIALITY:
>>>>  >> The information contained in this electronic message and 
> any
>>>>  >> attachments to this message are intended for the exclusive 
> use of the
>>>>  >> address(es) and may contain confidential or privileged 
> information. If
>>>>  >> you are not the intended recipient, please notify 
> Lars-Fredrik Smedberg
>>>>  >> immediately at itsmeden@gmail.com, and destroy all copies 
> of this
>>>>  >> message and any attachments.
>>>>  >>
>>>>  >
>>>>  >
>>>> 
>>> 
>> 
>> 
>> 
>> -- 
>> Med vänlig hälsning / Best regards
>> 
>> Lars-Fredrik Smedberg
>> 
>> STATEMENT OF CONFIDENTIALITY:
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> address(es) and may contain confidential or privileged information. If
>> you are not the intended recipient, please notify Lars-Fredrik Smedberg
>> immediately at itsmeden@gmail.com, and destroy all copies of this 
>> message and any attachments. 
>> 
>> 
> 

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Lars-Fredrik Smedberg <it...@gmail.com>.
Hi again

Thanks for your answers....

@gerhard:
Thanks for the suggestion, could you point my to some reference on how to
configure this in OWB?

@mark:
Is this planned for (or will it most likely show up in)  a certain release?
When can I try it out?

Regards
LF


On Mon, Sep 30, 2013 at 5:00 PM, Gerhard Petracek <
gerhard.petracek@gmail.com> wrote:

> @mark:
> i showed a similar issue to you in july, however, this is even one small
> step before and in some cases disabling the bda-mode helps.
>
> -> (still) +1 for doing it lazily.
>
> regards,
> gerhard
>
>
>
> 2013/9/30 Mark Struberg <st...@yahoo.de>
>
> >
> >
> > Hmm not sure. Actually WindowBeanHolder is part of deltaspike-core-impl
> > and a standard @SessionScoped bean.
> >
> > Maybe it's because we call getBeans in AfterDeploymentValidation. Will
> try
> > to rework this to lazy init inside the Context.
> >
> > LieGrue,
> > strub
> >
> >
> >
> >
> >
> > >________________________________
> > > From: Gerhard Petracek <ge...@gmail.com>
> > >To: users@deltaspike.apache.org
> > >Sent: Monday, 30 September 2013, 16:38
> > >Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> > >
> > >
> > >hi lars-fredrik,
> > >
> > >please try to deactivate the bda-mode.
> > >(openwebbeans doesn't activate it per default, but it's active in most
> > >ee-servers.)
> > >
> > >regards,
> > >gerhard
> > >
> > >
> > >
> > >2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
> > >
> > >> Hi
> > >>
> > >> I'm trying to get Deltaspike 0.5 running together with WebSphere
> Liberty
> > >> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
> > >>
> > >> I put the following jars as common library jar files:
> > >>
> > >> deltaspike-core-api-0.5.jar
> > >> deltaspike-core-impl-0.5.jar
> > >>
> > >> And I get the following in the console logs at startup:
> > >>
> > >> [ERROR   ] Could not find beans for Type=class
> > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > >> qualifiers:[]
> > >> Could not find beans for Type=class
> > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > >> qualifiers:[]
> > >> [ERROR   ] An error occured while starting application context path :
> > >> [/rsea]
> > >> [INFO    ] FFDC1015I: An FFDC Incident has been created:
> > >> "java.lang.IllegalStateException: Could not find beans for Type=class
> > >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> > >> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
> > >> ffdc_13.09.30_16.09.20.0.log
> > >>
> > >> And the FFDC logs contain the following stacktrace:
> > >>
> > >> Stack Dump = java.lang.IllegalStateException: Could not find beans for
> > >> Type=class
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
> > >> and qualifiers:[]
> > >>  at
> > >>
> > >>
> >
> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
> > >> at
> > >>
> > >>
> >
> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
> > >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >> at
> > >>
> > >>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > >>  at
> > >>
> > >>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > >> at java.lang.reflect.Method.invoke(Method.java:601)
> > >>  at
> > >>
> > >>
> >
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
> > >> at
> > >>
> > >>
> >
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
> > >>  at
> > >>
> > >>
> >
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
> > >> at
> > >>
> > >>
> >
> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
> > >>  at
> > org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
> > >> at
> > >>
> > >>
> >
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
> > >>  at
> > >>
> > >>
> >
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
> > >> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
> > >>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
> > >> at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
> > >>  at
> > >>
> > >>
> >
> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
> > >> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
> > >>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
> > >> at java.lang.Thread.run(Thread.java:722)
> > >>
> > >>
> > >>
> > >> Do I do anything wrong? Can someone please point me in the right
> > direction
> > >> to fix the above error....
> > >>
> > >> Regards¨
> > >> Lars-Fredrik
> > >>
> > >> --
> > >> Med vänlig hälsning / Best regards
> > >>
> > >> Lars-Fredrik Smedberg
> > >>
> > >> STATEMENT OF CONFIDENTIALITY:
> > >> The information contained in this electronic message and any
> > >> attachments to this message are intended for the exclusive use of the
> > >> address(es) and may contain confidential or privileged information. If
> > >> you are not the intended recipient, please notify Lars-Fredrik
> Smedberg
> > >> immediately at itsmeden@gmail.com, and destroy all copies of this
> > >> message and any attachments.
> > >>
> > >
> > >
> >
>



-- 
Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at itsmeden@gmail.com, and destroy all copies of this
message and any attachments.

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Mark Struberg <st...@yahoo.de>.

yes, remember you saying we should not trick that much - will fix this now ;)

LieGrue,
strub





>________________________________
> From: Gerhard Petracek <ge...@gmail.com>
>To: users@deltaspike.apache.org; Mark Struberg <st...@yahoo.de> 
>Sent: Monday, 30 September 2013, 17:00
>Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> 
>
>@mark:
>i showed a similar issue to you in july, however, this is even one small
>step before and in some cases disabling the bda-mode helps.
>
>-> (still) +1 for doing it lazily.
>
>regards,
>gerhard
>
>
>
>2013/9/30 Mark Struberg <st...@yahoo.de>
>
>>
>>
>> Hmm not sure. Actually WindowBeanHolder is part of deltaspike-core-impl
>> and a standard @SessionScoped bean.
>>
>> Maybe it's because we call getBeans in AfterDeploymentValidation. Will try
>> to rework this to lazy init inside the Context.
>>
>> LieGrue,
>> strub
>>
>>
>>
>>
>>
>> >________________________________
>> > From: Gerhard Petracek <ge...@gmail.com>
>> >To: users@deltaspike.apache.org
>> >Sent: Monday, 30 September 2013, 16:38
>> >Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
>> >
>> >
>> >hi lars-fredrik,
>> >
>> >please try to deactivate the bda-mode.
>> >(openwebbeans doesn't activate it per default, but it's active in most
>> >ee-servers.)
>> >
>> >regards,
>> >gerhard
>> >
>> >
>> >
>> >2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
>> >
>> >> Hi
>> >>
>> >> I'm trying to get Deltaspike 0.5 running together with WebSphere Liberty
>> >> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
>> >>
>> >> I put the following jars as common library jar files:
>> >>
>> >> deltaspike-core-api-0.5.jar
>> >> deltaspike-core-impl-0.5.jar
>> >>
>> >> And I get the following in the console logs at startup:
>> >>
>> >> [ERROR   ] Could not find beans for Type=class
>> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> >> qualifiers:[]
>> >> Could not find beans for Type=class
>> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> >> qualifiers:[]
>> >> [ERROR   ] An error occured while starting application context path :
>> >> [/rsea]
>> >> [INFO    ] FFDC1015I: An FFDC Incident has been created:
>> >> "java.lang.IllegalStateException: Could not find beans for Type=class
>> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> >> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
>> >> ffdc_13.09.30_16.09.20.0.log
>> >>
>> >> And the FFDC logs contain the following stacktrace:
>> >>
>> >> Stack Dump = java.lang.IllegalStateException: Could not find beans for
>> >> Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
>> >> and qualifiers:[]
>> >>  at
>> >>
>> >>
>> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
>> >> at
>> >>
>> >>
>> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
>> >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> at
>> >>
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> >>  at
>> >>
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> >> at java.lang.reflect.Method.invoke(Method.java:601)
>> >>  at
>> >>
>> >>
>> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
>> >> at
>> >>
>> >>
>> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
>> >>  at
>> >>
>> >>
>> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
>> >> at
>> >>
>> >>
>> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
>> >>  at
>> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
>> >> at
>> >>
>> >>
>> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
>> >>  at
>> >>
>> >>
>> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
>> >> at
>> >>
>> >>
>> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
>> >> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
>> >>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
>> >> at
>> >>
>> >>
>> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
>> >> at
>> >>
>> >>
>> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
>> >> at
>> >>
>> >>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
>> >> at
>> >>
>> >>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
>> >> at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
>> >> at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
>> >> at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
>> >>  at
>> >>
>> >>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
>> >> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
>> >>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
>> >> at java.lang.Thread.run(Thread.java:722)
>> >>
>> >>
>> >>
>> >> Do I do anything wrong? Can someone please point me in the right
>> direction
>> >> to fix the above error....
>> >>
>> >> Regards¨
>> >> Lars-Fredrik
>> >>
>> >> --
>> >> Med vänlig hälsning / Best regards
>> >>
>> >> Lars-Fredrik Smedberg
>> >>
>> >> STATEMENT OF CONFIDENTIALITY:
>> >> The information contained in this electronic message and any
>> >> attachments to this message are intended for the exclusive use of the
>> >> address(es) and may contain confidential or privileged information. If
>> >> you are not the intended recipient, please notify Lars-Fredrik Smedberg
>> >> immediately at itsmeden@gmail.com, and destroy all copies of this
>> >> message and any attachments.
>> >>
>> >
>> >
>>
>
>

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Gerhard Petracek <ge...@gmail.com>.
@mark:
i showed a similar issue to you in july, however, this is even one small
step before and in some cases disabling the bda-mode helps.

-> (still) +1 for doing it lazily.

regards,
gerhard



2013/9/30 Mark Struberg <st...@yahoo.de>

>
>
> Hmm not sure. Actually WindowBeanHolder is part of deltaspike-core-impl
> and a standard @SessionScoped bean.
>
> Maybe it's because we call getBeans in AfterDeploymentValidation. Will try
> to rework this to lazy init inside the Context.
>
> LieGrue,
> strub
>
>
>
>
>
> >________________________________
> > From: Gerhard Petracek <ge...@gmail.com>
> >To: users@deltaspike.apache.org
> >Sent: Monday, 30 September 2013, 16:38
> >Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> >
> >
> >hi lars-fredrik,
> >
> >please try to deactivate the bda-mode.
> >(openwebbeans doesn't activate it per default, but it's active in most
> >ee-servers.)
> >
> >regards,
> >gerhard
> >
> >
> >
> >2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
> >
> >> Hi
> >>
> >> I'm trying to get Deltaspike 0.5 running together with WebSphere Liberty
> >> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
> >>
> >> I put the following jars as common library jar files:
> >>
> >> deltaspike-core-api-0.5.jar
> >> deltaspike-core-impl-0.5.jar
> >>
> >> And I get the following in the console logs at startup:
> >>
> >> [ERROR   ] Could not find beans for Type=class
> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> >> qualifiers:[]
> >> Could not find beans for Type=class
> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> >> qualifiers:[]
> >> [ERROR   ] An error occured while starting application context path :
> >> [/rsea]
> >> [INFO    ] FFDC1015I: An FFDC Incident has been created:
> >> "java.lang.IllegalStateException: Could not find beans for Type=class
> >> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> >> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
> >> ffdc_13.09.30_16.09.20.0.log
> >>
> >> And the FFDC logs contain the following stacktrace:
> >>
> >> Stack Dump = java.lang.IllegalStateException: Could not find beans for
> >> Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
> >> and qualifiers:[]
> >>  at
> >>
> >>
> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
> >> at
> >>
> >>
> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
> >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>  at
> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >> at java.lang.reflect.Method.invoke(Method.java:601)
> >>  at
> >>
> >>
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
> >> at
> >>
> >>
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
> >>  at
> >>
> >>
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
> >> at
> >>
> >>
> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
> >>  at
> org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
> >> at
> >>
> >>
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
> >>  at
> >>
> >>
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
> >> at
> >>
> >>
> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
> >>  at
> >>
> >>
> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
> >> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
> >>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
> >> at
> >>
> >>
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
> >>  at
> >>
> >>
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
> >> at
> >>
> >>
> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
> >>  at
> >>
> >>
> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
> >> at
> >>
> >>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
> >>  at
> >>
> >>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
> >> at
> >>
> >>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
> >>  at
> >>
> >>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
> >> at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
> >>  at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
> >> at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
> >>  at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
> >> at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
> >>  at
> >>
> >>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
> >> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
> >>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
> >> at java.lang.Thread.run(Thread.java:722)
> >>
> >>
> >>
> >> Do I do anything wrong? Can someone please point me in the right
> direction
> >> to fix the above error....
> >>
> >> Regards¨
> >> Lars-Fredrik
> >>
> >> --
> >> Med vänlig hälsning / Best regards
> >>
> >> Lars-Fredrik Smedberg
> >>
> >> STATEMENT OF CONFIDENTIALITY:
> >> The information contained in this electronic message and any
> >> attachments to this message are intended for the exclusive use of the
> >> address(es) and may contain confidential or privileged information. If
> >> you are not the intended recipient, please notify Lars-Fredrik Smedberg
> >> immediately at itsmeden@gmail.com, and destroy all copies of this
> >> message and any attachments.
> >>
> >
> >
>

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Mark Struberg <st...@yahoo.de>.

Hmm not sure. Actually WindowBeanHolder is part of deltaspike-core-impl and a standard @SessionScoped bean.

Maybe it's because we call getBeans in AfterDeploymentValidation. Will try to rework this to lazy init inside the Context.

LieGrue,
strub





>________________________________
> From: Gerhard Petracek <ge...@gmail.com>
>To: users@deltaspike.apache.org 
>Sent: Monday, 30 September 2013, 16:38
>Subject: Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.
> 
>
>hi lars-fredrik,
>
>please try to deactivate the bda-mode.
>(openwebbeans doesn't activate it per default, but it's active in most
>ee-servers.)
>
>regards,
>gerhard
>
>
>
>2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>
>
>> Hi
>>
>> I'm trying to get Deltaspike 0.5 running together with WebSphere Liberty
>> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
>>
>> I put the following jars as common library jar files:
>>
>> deltaspike-core-api-0.5.jar
>> deltaspike-core-impl-0.5.jar
>>
>> And I get the following in the console logs at startup:
>>
>> [ERROR   ] Could not find beans for Type=class
>> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> qualifiers:[]
>> Could not find beans for Type=class
>> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> qualifiers:[]
>> [ERROR   ] An error occured while starting application context path :
>> [/rsea]
>> [INFO    ] FFDC1015I: An FFDC Incident has been created:
>> "java.lang.IllegalStateException: Could not find beans for Type=class
>> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
>> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
>> ffdc_13.09.30_16.09.20.0.log
>>
>> And the FFDC logs contain the following stacktrace:
>>
>> Stack Dump = java.lang.IllegalStateException: Could not find beans for
>> Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
>> and qualifiers:[]
>>  at
>>
>> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
>> at
>>
>> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>  at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>>  at
>>
>> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
>> at
>>
>> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
>>  at
>>
>> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
>> at
>>
>> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
>>  at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
>> at
>>
>> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
>>  at
>>
>> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
>> at
>>
>> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
>>  at
>>
>> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
>> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
>>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
>> at
>>
>> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
>>  at
>>
>> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
>> at
>>
>> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
>>  at
>>
>> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
>> at
>>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
>>  at
>>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
>> at
>>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
>>  at
>>
>> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
>> at
>>
>> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
>>  at
>>
>> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
>> at
>>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
>>  at
>>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
>> at
>>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
>>  at
>>
>> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
>> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
>>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
>> at java.lang.Thread.run(Thread.java:722)
>>
>>
>>
>> Do I do anything wrong? Can someone please point me in the right direction
>> to fix the above error....
>>
>> Regards¨
>> Lars-Fredrik
>>
>> --
>> Med vänlig hälsning / Best regards
>>
>> Lars-Fredrik Smedberg
>>
>> STATEMENT OF CONFIDENTIALITY:
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> address(es) and may contain confidential or privileged information. If
>> you are not the intended recipient, please notify Lars-Fredrik Smedberg
>> immediately at itsmeden@gmail.com, and destroy all copies of this
>> message and any attachments.
>>
>
>

Re: Deltaspike 0.5 and WLP 8.5.5 problem at startup.

Posted by Gerhard Petracek <ge...@gmail.com>.
hi lars-fredrik,

please try to deactivate the bda-mode.
(openwebbeans doesn't activate it per default, but it's active in most
ee-servers.)

regards,
gerhard



2013/9/30 Lars-Fredrik Smedberg <it...@gmail.com>

> Hi
>
> I'm trying to get Deltaspike 0.5 running together with WebSphere Liberty
> Profile 8.5.5 (which has Apache OpenWebBeans bundled)....
>
> I put the following jars as common library jar files:
>
> deltaspike-core-api-0.5.jar
> deltaspike-core-impl-0.5.jar
>
> And I get the following in the console logs at startup:
>
> [ERROR   ] Could not find beans for Type=class
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> qualifiers:[]
> Could not find beans for Type=class
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> qualifiers:[]
> [ERROR   ] An error occured while starting application context path :
> [/rsea]
> [INFO    ] FFDC1015I: An FFDC Incident has been created:
> "java.lang.IllegalStateException: Could not find beans for Type=class
> org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder and
> qualifiers:[] com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at
> ffdc_13.09.30_16.09.20.0.log
>
> And the FFDC logs contain the following stacktrace:
>
> Stack Dump = java.lang.IllegalStateException: Could not find beans for
> Type=class org.apache.deltaspike.core.impl.scope.window.WindowBeanHolder
> and qualifiers:[]
>  at
>
> org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:150)
> at
>
> org.apache.deltaspike.core.impl.scope.window.DeltaSpikeContextExtension.initializeDeltaSpikeContexts(DeltaSpikeContextExtension.java:50)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
>  at
>
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:295)
> at
>
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:429)
>  at
>
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:475)
> at
>
> org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:331)
>  at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:187)
> at
>
> org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:155)
>  at
>
> org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
> at
>
> com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:72)
>  at
>
> com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2317)
> at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:950)
>  at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6038)
> at
>
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
>  at
>
> com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
> at
>
> com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:182)
>  at
>
> com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
> at
>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
>  at
>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
> at
>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
>  at
>
> com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
> at
>
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
>  at
>
> com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
> at
>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
>  at
>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
> at
>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
>  at
>
> com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
> at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
>  at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
> at java.lang.Thread.run(Thread.java:722)
>
>
>
> Do I do anything wrong? Can someone please point me in the right direction
> to fix the above error....
>
> Regards¨
> Lars-Fredrik
>
> --
> Med vänlig hälsning / Best regards
>
> Lars-Fredrik Smedberg
>
> STATEMENT OF CONFIDENTIALITY:
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> address(es) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify Lars-Fredrik Smedberg
> immediately at itsmeden@gmail.com, and destroy all copies of this
> message and any attachments.
>