[
https://issues.apache.org/jira/browse/CXF-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667161#comment-15667161
]
ASF GitHub Bot commented on CXF-7132:
-------------------------------------
Github user rmannibucau commented on the issue:
https://github.com/apache/cxf/pull/195
@johnament think singleton per default is fine (even good) but I don't
think it works. Add a @PreDestroy releasing a socket pool (http pool to get
some meta config for instance) and you will just leak this since the creational
context is not released.
> CDI Multi-app tests fail when classes have scope
> ------------------------------------------------
>
> Key: CXF-7132
> URL: https://issues.apache.org/jira/browse/CXF-7132
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.1.9
> Reporter: John D. Ament
> Fix For: 3.1.9
>
>
> The multi-app tests fail due how to instances are managed in proxyable
> environments. When a normal scoped CDI Bean is used, the class is wrong.
> CXF is referencing the real class and getting a per-request instance of a
> CdiResourceProvider based instance. This causes fields to not be injected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)