activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Finke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5501) Using activemq-web-console feature in Apache Karaf can result in ClassCastException
Date Fri, 02 Jan 2015 13:04:13 GMT
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)

Mime
View raw message