Same outcome with Camel 3.7.2 LTS and leaving out camel-stream as well
(after clearing /data):
karaf@root()> feature:install -v -t camel-blueprint camel-jms camel-http
Adding features:
camel-blueprint/[3.7.2,3.7.2],camel-http/[3.7.2,3.7.2],camel-jms/[3.7.2,3.7.2]
Changes to perform:
Region: root
Bundles to uninstall:
org.jline.builtins/3.16.0
org.jline.reader/3.16.0
org.jline.terminal/3.16.0
org.jline.terminal-jansi/3.16.0
Bundles to install:
mvn:com.github.ben-manes.caffeine/caffeine/2.8.8
mvn:javax.servlet/javax.servlet-api/3.1.0
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/1.0.0
mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0
mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0
mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.9
mvn:org.apache.camel/camel-api/3.7.2
mvn:org.apache.camel/camel-attachments/3.7.2
mvn:org.apache.camel/camel-base/3.7.2
mvn:org.apache.camel/camel-base-engine/3.7.2
mvn:org.apache.camel/camel-bean/3.7.2
mvn:org.apache.camel/camel-browse/3.7.2
mvn:org.apache.camel/camel-caffeine-lrucache/3.7.2
mvn:org.apache.camel/camel-cloud/3.7.2
mvn:org.apache.camel/camel-cluster/3.7.2
mvn:org.apache.camel/camel-controlbus/3.7.2
mvn:org.apache.camel/camel-core-catalog/3.7.2
mvn:org.apache.camel/camel-core-engine/3.7.2
mvn:org.apache.camel/camel-core-languages/3.7.2
mvn:org.apache.camel/camel-core-model/3.7.2
mvn:org.apache.camel/camel-core-processor/3.7.2
mvn:org.apache.camel/camel-core-reifier/3.7.2
mvn:org.apache.camel/camel-core-xml/3.7.2
mvn:org.apache.camel/camel-dataformat/3.7.2
mvn:org.apache.camel/camel-dataset/3.7.2
mvn:org.apache.camel/camel-direct/3.7.2
mvn:org.apache.camel/camel-directvm/3.7.2
mvn:org.apache.camel/camel-file/3.7.2
mvn:org.apache.camel/camel-health/3.7.2
mvn:org.apache.camel/camel-http/3.7.2
mvn:org.apache.camel/camel-http-base/3.7.2
mvn:org.apache.camel/camel-http-common/3.7.2
mvn:org.apache.camel/camel-jms/3.7.2
mvn:org.apache.camel/camel-language/3.7.2
mvn:org.apache.camel/camel-log/3.7.2
mvn:org.apache.camel/camel-main/3.7.2
mvn:org.apache.camel/camel-management/3.7.2
mvn:org.apache.camel/camel-management-api/3.7.2
mvn:org.apache.camel/camel-mock/3.7.2
mvn:org.apache.camel/camel-ref/3.7.2
mvn:org.apache.camel/camel-rest/3.7.2
mvn:org.apache.camel/camel-saga/3.7.2
mvn:org.apache.camel/camel-scheduler/3.7.2
mvn:org.apache.camel/camel-seda/3.7.2
mvn:org.apache.camel/camel-stub/3.7.2
mvn:org.apache.camel/camel-support/3.7.2
mvn:org.apache.camel/camel-timer/3.7.2
mvn:org.apache.camel/camel-tooling-model/3.7.2
mvn:org.apache.camel/camel-util/3.7.2
mvn:org.apache.camel/camel-util-json/3.7.2
mvn:org.apache.camel/camel-validator/3.7.2
mvn:org.apache.camel/camel-vm/3.7.2
mvn:org.apache.camel/camel-xml-jaxb/3.7.2
mvn:org.apache.camel/camel-xml-jaxp/3.7.2
mvn:org.apache.camel/camel-xpath/3.7.2
mvn:org.apache.camel/camel-xslt/3.7.2
mvn:org.apache.camel.karaf/camel-blueprint/3.7.2
mvn:org.apache.camel.karaf/camel-commands-core/3.7.2
mvn:org.apache.camel.karaf/camel-core-osgi/3.7.2
mvn:org.apache.camel.karaf/camel-karaf-commands/3.7.2
mvn:commons-pool/commons-pool/1.6
mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2
mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
mvn:org.apache.httpcomponents/httpclient-osgi/4.5.13
mvn:org.apache.httpcomponents/httpcore-osgi/4.4.14
mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.3.1-SNAPSHOT
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.3.0
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.3.1-SNAPSHOT
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.3.1-SNAPSHOT
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.3.1-SNAPSHOT
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-runtime/2.3.1_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-jms/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-tx/5.2.13.RELEASE_1
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0
mvn:org.jline/jline-builtins/3.19.0
mvn:org.jline/jline-reader/3.19.0
mvn:org.jline/jline-terminal/3.19.0
mvn:org.jline/jline-terminal-jansi/3.19.0
mvn:org.ow2.asm/asm/9.1
mvn:org.ow2.asm/asm-commons/9.1
mvn:org.ow2.asm/asm-tree/9.1
mvn:org.ow2.asm/asm-analysis/9.1
mvn:org.ow2.asm/asm-util/9.1
mvn:org.codehaus.woodstox/stax2-api/3.1.4
mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
Bundles to refresh:
org.apache.karaf.bundle.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.config.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.deployer.kar/4.3.0 (Wired to
org.apache.karaf.kar.core/4.3.0 which is being refreshed)
org.apache.karaf.diagnostic.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.event/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.features.command/4.3.0 (Wired to
org.jline.terminal/3.16.0 which is being refreshed)
org.apache.karaf.instance.core/4.3.0 (Wired to
org.apache.karaf.features.command/4.3.0 which is being refreshed)
org.apache.karaf.jaas.command/4.3.0 (Should be wired to:
org.apache.karaf.jaas.command/4.3.1.SNAPSHOT (through
[org.apache.karaf.jaas.command/4.3.0] osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.karaf.jaas.command.completers)(version>=4.3.0)(!(version>=5.0.0)))"))
org.apache.karaf.kar.core/4.3.0 (Wired to
org.apache.karaf.features.command/4.3.0 which is being refreshed)
org.apache.karaf.log.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.package.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.service.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.shell.commands/4.3.0 (Wired to
org.jline.terminal/3.16.0 which is being refreshed)
org.apache.karaf.shell.core/4.3.0 (Wired to
org.jline.builtins/3.16.0 which is being refreshed)
org.apache.karaf.shell.ssh/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.system.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.jline.builtins/3.16.0 (Bundle will be uninstalled)
org.jline.reader/3.16.0 (Bundle will be uninstalled)
org.jline.terminal/3.16.0 (Bundle will be uninstalled)
org.jline.terminal-jansi/3.16.0 (Bundle will be uninstalled)
karaf@root()> feature:install camel-blueprint camel-jms camel-http
Error executing command: Method
org/apache/karaf/shell/impl/console/JLineTerminal.getPalette()Lorg/jline/utils/ColorPalette;
is abstract
/Applications/Development/apache-karaf-4.3.0
Regards,
Michael
Am 09.03.21 um 21:14 schrieb Michael Brohl:
No constraint, I wanted to use the most recent versions but got stuck
there as well.
I then found examples using this version and just tried. I'm going to
use the most recent versions now and try with your tips to get it to
work.
Thanks,
Michael
Am 09.03.21 um 20:58 schrieb Jean-Baptiste Onofre:
Actually, it’s not the whole Karaf runtime which stop or restart:
it’s the shell part.
The problem is that you install camel-stream not aligned in term of
jline, and so the karaf shell is refreshed due to jline.
Do you have a constraint to use a so old Camel version ??!!!
Regards
JB
Le 9 mars 2021 à 19:03, Michael Brohl <[email protected]> a écrit :
Ok, I think I will provide the first example for the difficulties I
face.
I removed the /data folder and restarted Karaf, then:
karaf@root()> feature:install -v -t camel-blueprint camel-stream
camel-blueprint camel-jms camel-http camel-saxon
Adding features:
camel-http/[2.24.1,2.24.1],camel-jms/[2.24.1,2.24.1],camel-blueprint/[2.24.1,2.24.1],camel-saxon/[2.24.1,2.24.1],camel-stream/[2.24.1,2.24.1]
Changes to perform:
Region: root
Bundles to uninstall:
org.jline.builtins/3.16.0
org.jline.reader/3.16.0
org.jline.terminal/3.16.0
org.jline.terminal-jansi/3.16.0
Bundles to install:
mvn:javax.servlet/javax.servlet-api/3.1.0
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.1
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.3.2
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.10.3
mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core.compatibility/1.0.0
mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.2.0
mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.2.0
mvn:org.apache.aries.proxy/org.apache.aries.proxy/1.1.9
mvn:org.apache.camel/camel-blueprint/2.24.1
mvn:org.apache.camel/camel-commands-core/2.24.1
mvn:org.apache.camel/camel-core/2.24.1
mvn:org.apache.camel/camel-http/2.24.1
mvn:org.apache.camel/camel-http-common/2.24.1
mvn:org.apache.camel/camel-jms/2.24.1
mvn:org.apache.camel/camel-saxon/2.24.1
mvn:org.apache.camel/camel-stream/2.24.1
mvn:org.apache.camel.karaf/camel-karaf-commands/2.24.1
mvn:commons-codec/commons-codec/1.11
mvn:commons-pool/commons-pool/1.6
mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/1.0-alpha-2
mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.blueprintstate/4.3.1-SNAPSHOT
mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/4.3.0
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.3.1-SNAPSHOT
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.3.1-SNAPSHOT
mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.3.1-SNAPSHOT
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_7
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/9.9.0-2_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-jms/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-tx/5.2.13.RELEASE_1
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlresolver/1.2_5
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0
mvn:org.jline/jline-builtins/3.19.0
mvn:org.jline/jline-reader/3.19.0
mvn:org.jline/jline-terminal/3.19.0
mvn:org.jline/jline-terminal-jansi/3.19.0
mvn:org.ow2.asm/asm/9.1
mvn:org.ow2.asm/asm-commons/9.1
mvn:org.ow2.asm/asm-tree/9.1
mvn:org.ow2.asm/asm-analysis/9.1
mvn:org.ow2.asm/asm-util/9.1
mvn:org.codehaus.woodstox/stax2-api/3.1.4
mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
Bundles to refresh:
org.apache.karaf.bundle.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.config.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.deployer.kar/4.3.0 (Wired to
org.apache.karaf.kar.core/4.3.0 which is being refreshed)
org.apache.karaf.diagnostic.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.event/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.features.command/4.3.0 (Wired to
org.jline.terminal/3.16.0 which is being refreshed)
org.apache.karaf.instance.core/4.3.0 (Wired to
org.apache.karaf.features.command/4.3.0 which is being refreshed)
org.apache.karaf.jaas.command/4.3.0 (Should be wired to:
org.apache.karaf.jaas.command/4.3.1.SNAPSHOT (through
[org.apache.karaf.jaas.command/4.3.0] osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.karaf.jaas.command.completers)(version>=4.3.0)(!(version>=5.0.0)))"))
org.apache.karaf.kar.core/4.3.0 (Wired to
org.apache.karaf.features.command/4.3.0 which is being refreshed)
org.apache.karaf.log.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.package.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.service.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.shell.commands/4.3.0 (Wired to
org.jline.terminal/3.16.0 which is being refreshed)
org.apache.karaf.shell.core/4.3.0 (Wired to
org.jline.builtins/3.16.0 which is being refreshed)
org.apache.karaf.shell.ssh/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.apache.karaf.system.core/4.3.0 (Wired to
org.apache.karaf.shell.core/4.3.0 which is being refreshed)
org.jline.builtins/3.16.0 (Bundle will be uninstalled)
org.jline.reader/3.16.0 (Bundle will be uninstalled)
org.jline.terminal/3.16.0 (Bundle will be uninstalled)
org.jline.terminal-jansi/3.16.0 (Bundle will be uninstalled)
When I install without -t -v , Karaf crashes and I'm in my shell:
karaf@root()> feature:install camel-blueprint camel-stream
camel-blueprint camel-jms camel-http camel-saxon
Error executing command: Method
org/apache/karaf/shell/impl/console/JLineTerminal.getPalette()Lorg/jline/utils/ColorPalette;
is abstract
/Applications/Development/apache-karaf-4.3.0
Karaf cannot be startet again:
/Applications/Development/apache-karaf-4.3.0 ./bin/karaf
__ __ ____
/ //_/____ __________ _/ __/
/ ,< / __ `/ ___/ __ `/ /_
/ /| |/ /_/ / / / /_/ / __/
/_/ |_|\__,_/_/ \__,_/_/
Apache Karaf (4.3.0)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
Error executing command: Method
org/apache/karaf/shell/impl/console/JLineTerminal.getPalette()Lorg/jline/utils/ColorPalette;
is abstract
/Applications/Development/apache-karaf-4.3.0
It might have something to do with the jline upgrade performed
during the install.
Is this the right place or does this warrant a Jira?
Thanks,
Michael
Am 09.03.21 um 18:46 schrieb Jean-Baptiste Onofre:
Hi,
Feature:install -v -t will directly output on the terminal
(System.out).
When you do feature:install, the resolver output goes into
data/karaf.log (by default).
Regards
JB
Le 9 mars 2021 à 18:22, Michael Brohl <[email protected]> a écrit :
Thank you JB,
I was hoping there would be some general (and releatively easy)
approach or strategy to detect the requirements each feature needs
or maybe some compatibility list to study.
I will try with your suggestions and come back with more data if
this is not successful.
The resolver output would be the result of the feature:install
dry-run or ist it a specific logfile?
Thanks and regards,
Michael
Am 09.03.21 um 09:17 schrieb Jean-Baptiste Onofre:
Hi Michael,
It’s hard to say without the log messages. You can use
feature:install -t -v to "simulate" the installation and get some
details (like refresh) before actually installing a feature.
I bet you have a refresh on hawtio caused by ActiveMQ.
You can disable auto refresh to avoid such issue, or change the
installation "order" to avoid the refresh.
Can you please send the resolver output ?
Thanks,
Regards
JB
Le 9 mars 2021 à 09:10, Michael Brohl <[email protected]> a écrit :
Hi,
I am struggling with a fresh setup on Karaf 4.3.0, trying to
install Apache Camel, ActiveMQ and Hawt.io in current versions.
Depending on the order of installation, I get different errors
leaving me clueless what to do with errors like
Singleton conflict. Unresolved requirements: []
Installing latest Hawt.io for example works and I can login to
the web UI. After installing ActiveMQ and getting errors, I am
not able to login to Hawt.io anymore.
Before I start asking for help for specific errors: is there a
guide or strategy how to find out the correct versions of
features/bundles, necessary repos to add and features/bundles to
install as prerequisites of the feature/bundle to install?
Thanks for any hint,
Michael