[jira] [Commented] (CAMEL-7392) Unable to resolve bundle revision org.apache.camel.camel-servlet
[ https://issues.apache.org/jira/browse/CAMEL-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13981929#comment-13981929 ] Claus Ibsen commented on CAMEL-7392: This is not a hawtio problem, but camel-servlet that uses the war/http feature from karaf 2.3.x that exports Servlet 2.5 only. And Camel 2.13.x onwards uses Servlet 3.0. And then we get that osgi problem :( Unable to resolve bundle revision org.apache.camel.camel-servlet - Key: CAMEL-7392 URL: https://issues.apache.org/jira/browse/CAMEL-7392 Project: Camel Issue Type: Bug Components: karaf Affects Versions: 2.13.0 Environment: Karaf 2.3.4 Reporter: Martin Lichtin Fix For: 2.13.1, 2.14.0 When loading features repositorymvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features/repository repositorymvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features/repository repositorymvn:io.hawt/hawtio-karaf/1.2.3/xml/features/repository featureactivemq/feature featurecamel/feature featurecamel-jms/feature featurecamel-mvel/feature featurecamel-groovy/feature featurehawtio-core/feature featurecamel-cache/feature featurecxf/feature featurecamel-cxf/feature featurecamel-http/feature featurecamel-http4/feature featurecamel-servlet/feature the following issue occurs: Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] Chain 2: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=org.apache.camel.component.http)(version=2.13.0)(!(version=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [239.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CAMEL-7392) Unable to resolve bundle revision org.apache.camel.camel-servlet
[ https://issues.apache.org/jira/browse/CAMEL-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13980794#comment-13980794 ] Martin Lichtin commented on CAMEL-7392: --- Unfortunately that didn't make a difference. To reproduce, it's sufficient to first load hawtio-core, then load camel-servlet into a cleanly started Karaf: karaf@root features:addurl mvn:io.hawt/hawtio-karaf/1.3.1/xml/features karaf@root features:install hawtio karaf@root features:install camel-servlet Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [99.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [55.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [97.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [99.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [55.0] Chain 2: org.apache.camel.camel-servlet [99.0] import: ((osgi.wiring.package=org.apache.camel.component.http)(version=2.13.0)(!(version=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [98.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [97.0] karaf@root Unable to resolve bundle revision org.apache.camel.camel-servlet - Key: CAMEL-7392 URL: https://issues.apache.org/jira/browse/CAMEL-7392 Project: Camel Issue Type: Bug Affects Versions: 2.13.0 Environment: Karaf 2.3.4 Reporter: Martin Lichtin When loading features repositorymvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features/repository repositorymvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features/repository repositorymvn:io.hawt/hawtio-karaf/1.2.3/xml/features/repository featureactivemq/feature featurecamel/feature featurecamel-jms/feature featurecamel-mvel/feature featurecamel-groovy/feature featurehawtio-core/feature featurecamel-cache/feature featurecxf/feature featurecamel-cxf/feature featurecamel-http/feature featurecamel-http4/feature featurecamel-servlet/feature the following issue occurs: Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] Chain 2: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=org.apache.camel.component.http)(version=2.13.0)(!(version=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [239.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CAMEL-7392) Unable to resolve bundle revision org.apache.camel.camel-servlet
[ https://issues.apache.org/jira/browse/CAMEL-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13979780#comment-13979780 ] Claus Ibsen commented on CAMEL-7392: ActiveMQ 5.7 does not support Camel 2.13.0 Unable to resolve bundle revision org.apache.camel.camel-servlet - Key: CAMEL-7392 URL: https://issues.apache.org/jira/browse/CAMEL-7392 Project: Camel Issue Type: Bug Affects Versions: 2.13.0 Environment: Karaf 2.3.4 Reporter: Martin Lichtin When loading features repositorymvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features/repository repositorymvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features/repository repositorymvn:io.hawt/hawtio-karaf/1.2.3/xml/features/repository featureactivemq/feature featurecamel/feature featurecamel-jms/feature featurecamel-mvel/feature featurecamel-groovy/feature featurehawtio-core/feature featurecamel-cache/feature featurecxf/feature featurecamel-cxf/feature featurecamel-http/feature featurecamel-http4/feature featurecamel-servlet/feature the following issue occurs: Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] Chain 2: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=org.apache.camel.component.http)(version=2.13.0)(!(version=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [239.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (CAMEL-7392) Unable to resolve bundle revision org.apache.camel.camel-servlet
[ https://issues.apache.org/jira/browse/CAMEL-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13979820#comment-13979820 ] Martin Lichtin commented on CAMEL-7392: --- Thanks for the info. Actually we happily run with ActiveMQ 5.7 (client-side only) and Camel 2.13.0. What seems to be causing the problem here is hawtio. Camel and the camel-servlet feature come up fine when I do not load the hawtio-core feature. Unable to resolve bundle revision org.apache.camel.camel-servlet - Key: CAMEL-7392 URL: https://issues.apache.org/jira/browse/CAMEL-7392 Project: Camel Issue Type: Bug Affects Versions: 2.13.0 Environment: Karaf 2.3.4 Reporter: Martin Lichtin When loading features repositorymvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features/repository repositorymvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features/repository repositorymvn:io.hawt/hawtio-karaf/1.2.3/xml/features/repository featureactivemq/feature featurecamel/feature featurecamel-jms/feature featurecamel-mvel/feature featurecamel-groovy/feature featurehawtio-core/feature featurecamel-cache/feature featurecxf/feature featurecamel-cxf/feature featurecamel-http/feature featurecamel-http4/feature featurecamel-servlet/feature the following issue occurs: Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] Chain 2: org.apache.camel.camel-servlet [243.0] import: ((osgi.wiring.package=org.apache.camel.component.http)(version=2.13.0)(!(version=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [239.0] import: ((osgi.wiring.package=javax.servlet)(version=2.5.0)(!(version=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] -- This message was sent by Atlassian JIRA (v6.2#6252)