[infinispan-issues] [JBoss JIRA] (ISPN-6547) Embedded and remote Uber Jars puts all classes into BeanManager
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Fri May 20 05:30:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Łaskawiec reopened ISPN-6547:
---------------------------------------
The previous fix was wrong. The SPI spec says:
{quote}
If both include filters and excludes filters are specified, only class names which match at least one include filter and don't match any exclude filter are scanned.
{quote}
> Embedded and remote Uber Jars puts all classes into BeanManager
> ---------------------------------------------------------------
>
> Key: ISPN-6547
> URL: https://issues.jboss.org/browse/ISPN-6547
> Project: Infinispan
> Issue Type: Bug
> Components: CDI Integration
> Affects Versions: 8.2.1.Final
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Fix For: 9.0.0.Alpha2
>
>
> Based on [JBoss Forum discussion|https://developer.jboss.org/thread/269431] it turned out that when using Weld SE and Infinispan Uber Jars, all beans are populated to Bean Manager. This leads to {{There's already a JMX MBean instance type=CacheManager,name="CDIExtensionDefaultCacheManager" already registered under 'org.infinispan' JMX domain}} errors.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list