A user has reported a CDE failure when editing a aggregate descriptor
that contains references to remote uima-as services.

The CDE attempts to acquire the remote services "metadata" to merge type
system information, and fails, because of a ClassCastException:

org.apache.activemq.ActiveMQConnectionFactory cannot be cast to
javax.jms.ConnectionFactory

In looking into this, I've come across the project:

    uimaj-as-osgi-runtime

and need to understand this project better.  I think it was added to
support the camel sandbox project.

This project is set up in its POM with a parent pom which is the common
superPom for all eclipse plugins. 

It's also put into the Eclipse plugin directory by the uima-as-distr
maven install step.

However, it is not included in the Eclipse update site building, and is
not part of any Uima Eclipse Feature.

So - first question: is this supposed to be an eclipse plugin? 

2nd question: does it need to be added to any "feature" set? if so,
which one?

This project builds a jar which contains two jars:
apache-activemq-4.1.1.jar and geronimo-jms_1.1_spec-1.0.jar, both of
which have versions of the javax.jms.ConnectionFactory.

3rd question: how to resolve this so that identical class names here
don't cause issues?

(I'm not yet sure if this is the real issue, so these may not be quite
the right questions, but I want to start somewhere :-)  )

-Marshall


Reply via email to