[
https://issues.jboss.org/browse/WFLY-5898?page=com.atlassian.jira.plugin....
]
Juraci Paixão Kröhling commented on WFLY-5898:
----------------------------------------------
[~mnovak], I found this issue when working on this test:
https://github.com/jpkrohling/hawkular-metrics/blob/6e37afd7d87a74e090cb1...
From what I remember, you can reproduce it by trying to run the test
with and without the BeanUtils dependency, declared here:
https://github.com/jpkrohling/hawkular-metrics/blob/6e37afd7d87a74e090cb1...
Note that the "working" state, in the context of this JIRA, is still a test
failure, as this branch never reached the master for that project. If I have some free
cycles, I'll try to make a smaller reproducer for this.
JMS client BOM needs to include Apache Commons BeanUtils
--------------------------------------------------------
Key: WFLY-5898
URL:
https://issues.jboss.org/browse/WFLY-5898
Project: WildFly
Issue Type: Bug
Components: Application Client, JMS
Affects Versions: 10.0.0.CR4
Environment: Wildfly 10.0.0.CR4
Reporter: Juraci Paixão Kröhling
Assignee: Jeff Mesnil
Fix For: 10.0.0.CR5
When using the JMS client BOM, the following exception happens, due to the missing
transitive dependency on Apache Commons BeanUtils
{code}
Exception in thread "naming-client-message-receiver-1-thread-1"
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/BeanIntrospector
at
org.apache.activemq.artemis.uri.ConnectionFactoryParser.<init>(ConnectionFactoryParser.java:26)
at
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:173)
at
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.<init>(ActiveMQConnectionFactory.java:169)
...
{code}
As a workaround, the consumer of the BOM may to add the following dependency:
{code}
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.2</version>
<scope>test</scope>
</dependency>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)