Hello,
I'm having trouble to install Apache Camel 3.7.5 with camel-activemq (3.7.5),
camel-jms (3.7.5) and camel-amqp (3.7.5) in Apache Karaf 4.2.10.
I used a fresh Karaf 4.2.10 Binary distribution and added ActiveMQ 5.16.2 along
with Camel 3.7.5 and was able to install ActiveMQ with Camel Activemq
Component, Camel Jms Component in Karaf.
I can also install ActiveMQ 5.16.2 with Camel 3.7.5 and Jms and AMQP but
without Camel Activemq-Component. So currently it's not possible for me to
install both - camel-activemq together with camel-amqp.
The karaf-console is not responding and turning the karaf log from info to
debug reveals that Karaf is cycling through issues:
Excerpt from the karaf.log:
2021-11-10T14:25:40,746 | DEBUG | features-3-thread-1 | ResolverImpl
| 11 - org.apache.karaf.features.core - 4.2.10 | Candidate permutation
failed due to a conflict between imports; will try another if possible. (Uses
constraint violation. Unable to resolve resource org.apache.camel.camel-amqp
[org.apache.camel.camel-amqp/3.7.5] because it is exposed to package
'javax.jms' from resources org.apache.geronimo.specs.geronimo-jms_2.0_spec
[org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2] and
org.apache.geronimo.specs.geronimo-jms_1.1_spec
[org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1] via two dependency
chains.
Chain 1:
org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
import:
(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package: javax.jms
org.apache.geronimo.specs.geronimo-jms_2.0_spec
[org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2]
Chain 2:
org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
import:
(&(osgi.wiring.package=org.apache.camel.component.jms)(version>=3.7.0)(!(version>=4.0.0)))
|
export: osgi.wiring.package=org.apache.camel.component.jms; uses:=javax.jms
org.apache.camel.camel-jms [org.apache.camel.camel-jms/3.7.5]
import:
(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package: javax.jms
org.apache.geronimo.specs.geronimo-jms_1.1_spec
[org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1])
2021-11-10T14:25:40,766 | DEBUG | features-3-thread-1 | ResolverImpl
| 11 - org.apache.karaf.features.core - 4.2.10 | Candidate permutation
failed due to a conflict between imports; will try another if possible. (Uses
constraint violation. Unable to resolve resource org.apache.camel.camel-amqp
[org.apache.camel.camel-amqp/3.7.5] because it is exposed to package
'javax.jms' from resources org.apache.geronimo.specs.geronimo-jms_1.1_spec
[org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1] and
org.apache.geronimo.specs.geronimo-jms_2.0_spec
[org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2] via two
dependency chains.
Chain 1:
org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
import:
(&(osgi.wiring.package=javax.jms)(version>=1.1.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package: javax.jms
org.apache.geronimo.specs.geronimo-jms_1.1_spec
[org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.1.1]
Chain 2:
org.apache.camel.camel-amqp [org.apache.camel.camel-amqp/3.7.5]
import:
(&(osgi.wiring.package=org.apache.qpid.jms)(version>=0.55.0)(!(version>=1.0.0)))
|
export: osgi.wiring.package=org.apache.qpid.jms; uses:=javax.jms
org.apache.qpid.jms.client [org.apache.qpid.jms.client/0.55.0]
import:
(&(osgi.wiring.package=javax.jms)(version>=2.0.0)(!(version>=3.0.0)))
|
export: osgi.wiring.package: javax.jms
org.apache.geronimo.specs.geronimo-jms_2.0_spec
[org.apache.geronimo.specs.geronimo-jms_2.0_spec/1.0.0.alpha-2])
Don't know what to do to get this work.
If someone can give me a hint please?
Cheers
Frank Zinner
DFS Deutsche Flugsicherung GmbH * Am DFS-Campus * 63225 Langen * Tel.: +49 6103
707-0 * Sitz der Gesellschaft: Langen/Hessen * Zuständiges Registergericht: AG
Offenbach am Main, HRB 34977 * Vorsitzende des Aufsichtsrats: Antje Geese *
Geschäftsführer: Arndt Schoenemann (Vors.), Dr. Kerstin Böcker, Dirk Mahns,
Friedrich-Wilhelm Menge * www.dfs.de<http://www.dfs.de>
Sollten Sie nicht der richtige Empfänger dieser E-Mail sein, löschen Sie diese
bitte.