You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Xilai Dai (JIRA)" <ji...@apache.org> on 2018/03/09 05:40:00 UTC
[jira] [Commented] (CAMEL-9689) Websocket Component Failing to
Install in Karaf 4
[ https://issues.apache.org/jira/browse/CAMEL-9689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392447#comment-16392447 ]
Xilai Dai commented on CAMEL-9689:
----------------------------------
This ERROR still happening on Camel 2.17.x (including the latest 2.17.7) when installing the camel-websocket feature on to Karaf 4.x
{code:java}
(osgi.wiring.package=javax.servlet)(version>=2.6.0)() not found.(version>=3.0.0)))
{code}
Camel-websocket bundle ask for javax.servlet [2.6,3), but actually there is no any existing servlet-api match this version range, means no quick workaround for it.
In case of there is a plan release a new 2.17.8 in the future, this commit should be backport into 2.17 branch.
[https://github.com/apache/camel/commit/e42ef725cd2d6dd09ebfaf24b0ead6b2fa393174#diff-1d6685bb3f3fa3de309de0d7419f7393]
> Websocket Component Failing to Install in Karaf 4
> -------------------------------------------------
>
> Key: CAMEL-9689
> URL: https://issues.apache.org/jira/browse/CAMEL-9689
> Project: Camel
> Issue Type: Bug
> Components: camel-websocket, karaf
> Affects Versions: 2.16.2
> Environment: Oracle Java 8, Apache Karaf 4.0.4
> Reporter: Trey Sargent
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.17.0
>
>
> When installing the camel-websocket component in Karaf 4.0.4 the process hangs.
> When I try to install via Karaf's hot deploy I get:
> karaf@root()> ERROR: Bundle org.apache.camel.camel-websocket [94] Error starting file:/opt/apache-karaf-4.0.4/deploy/camel-websocket-2.16.2.jar (org.osgi.framework.BundleException: Unable to resolve org.apache.camel.camel-websocket [94](R 94.0): missing requirement [org.apache.camel.camel-websocket [94](R 94.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.servlet)(version>=2.6.0)(!(version>=3.0.0))) Unresolved requirements: [[org.apache.camel.camel-websocket [94](R 94.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.servlet)(version>=2.6.0)(!(version>=3.0.0)))]) org.osgi.framework.BundleException: Unable to resolve org.apache.camel.camel-websocket [94](R 94.0): missing requirement [org.apache.camel.camel-websocket [94](R 94.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.servlet)(version>=2.6.0)(!(version>=3.0.0))) Unresolved requirements: [[org.apache.camel.camel-websocket [94](R 94.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.servlet)(version>=2.6.0)(!(version>=3.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111) at org.apache.felix.framework.Felix.startBundle(Felix.java:2117) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)