[
https://issues.apache.org/jira/browse/CXF-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16206883#comment-16206883
]
John D. Ament commented on CXF-7510:
------------------------------------
I figured it out, was something stupid on my part. I ended up getting it
working with 3.2.0 by running with the extension being registered.
One other note, in
https://github.com/apache/cxf/blob/master/integration/cdi/src/main/java/org/apache/cxf/cdi/JAXRSCdiResourceExtension.java#L361-L364
there's a bug. You're using `getBeanClass()` which isn't the class if you're
using a producer method/field. You're better off using the value
`JAXRSServerFactoryCustomizationExtension.class` instead.
If you want I can raise a PR for that.
> SSE integration in CDI abruptly fails with no indication why
> ------------------------------------------------------------
>
> Key: CXF-7510
> URL: https://issues.apache.org/jira/browse/CXF-7510
> Project: CXF
> Issue Type: Bug
> Reporter: John D. Ament
> Assignee: Andriy Redko
>
> https://lists.apache.org/thread.html/10d99c0d013a3d23361a3898171e7bd2b311a509349433db3b6cacaa@%3Cusers.cxf.apache.org%3E
> has more details
> Intermittently, when bootstrapping CXF + CDI, the integration for SSE will
> fail. When it fails, there's no log messages indicating the issue, however
> attempts to invoke any rest endpoint will give a warning like:
> {code}
> Sep 17, 2017 7:50:33 PM org.apache.cxf.transport.servlet.ServletController
> invoke
> WARNING: Can't find the request for http://my-hostname:4403/rest's Observer
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)