You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/04/26 11:37:15 UTC
[jira] [Resolved] (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:all-tabpanel ]
Claus Ibsen resolved CAMEL-7392.
--------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 2.14.0)
(was: 2.13.1)
Its Karaf 2.3.x that comes with http service out of the box only supporting servlet 2.x. eg pax-web
org.ops4j.pax.web.pax-web-runtime [75.0]
import: (&(osgi.wiring.package=javax.servlet.http)(version>=2.3.0)(!(version>=3.0.0)))
This would require pax-web that supports servlet 3.0 onwards. Which may require Karaf 3.0 onwards.
> 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
> Assignee: Claus Ibsen
>
> When loading features
> <repository>mvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features</repository>
> <repository>mvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features</repository>
> <repository>mvn:io.hawt/hawtio-karaf/1.2.3/xml/features</repository>
> <feature>activemq</feature>
> <feature>camel</feature>
> <feature>camel-jms</feature>
> <feature>camel-mvel</feature>
> <feature>camel-groovy</feature>
> <feature>hawtio-core</feature>
> <feature>camel-cache</feature>
> <feature>cxf</feature>
> <feature>camel-cxf</feature>
> <feature>camel-http</feature>
> <feature>camel-http4</feature>
> <feature>camel-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)