>>>>> On Fri, 11 Sep 2015 11:36:34 -0700, Edward Burns <ed.burns_at_sun.com> said:
EB> Hello,
EB> While trying to do some prototyping for 1396-socket I ran into this
EB> error while trying to deploy the primefaces counter sample:
EB> Severe: Exception during lifecycle processing
EB> org.glassfish.deployment.common.DeploymentException: CDI definition failure:WELD-000409: Observer method for container lifecycle event [[BackedAnnotatedMethod] private com.sun.faces.cdi.CdiExtension.lambda$processBean$4(@Observes ProcessBean<Object>, FacesDataModel)] can only inject BeanManager.
EB> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:234)
EB> at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
EB> at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
EB> I hadn't seen this one before and I wonder if it's related to recent
EB> changes I've seen coming in.
EB> Can anyone who's worked on the new CDI based work please help?
And indeed, thanks to some amazing work from Google, it looks like Arjan
already ran into this:
http://mail.openjdk.java.net/pipermail/lambda-dev/2015-August/012146.html
But what's the resolution?
Thanks,
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 39 Business days til JavaOne 2015
| 54 Business days til DOAG 2015