You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Achim Finke (JIRA)" <ji...@apache.org> on 2015/01/02 14:04:13 UTC
[jira] [Created] (AMQ-5501) Using activemq-web-console feature in
Apache Karaf can result in ClassCastException
Achim Finke created AMQ-5501:
--------------------------------
Summary: Using activemq-web-console feature in Apache Karaf can result in ClassCastException
Key: AMQ-5501
URL: https://issues.apache.org/jira/browse/AMQ-5501
Project: ActiveMQ
Issue Type: Bug
Components: webconsole
Affects Versions: 5.10.0
Reporter: Achim Finke
Depending on the installation order of features activemq related features using the activemq-web-console feature in Apache Karaf can result in a ClassCastException.
The reason for this seems to be the existence of multiple versions of javax.jms. The activemq features installs amongst others the geronimo-jms_1.1_spec-1.1.1 bundle. In addition the activemq-web-console WAB embedds geronimo-jms_1.1_spec-1.1.1.
Installing the activemq-web-console feature before the activemq feature results for me in a later ClassCastException.
Check the following [demo project|https://github.com/achim86/issues/tree/master/activemq-playground] to reproduce the error.
When analyzing the issue I noticed that the activemq-web-console WAB exports many org.apache.activemq.* packages. Are there any reasons for this?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)