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 <[email protected]> > 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 [email protected], and destroy all copies of this > message and any attachments. >
