1 Reply Latest reply on May 22, 2014 2:30 AM by Freeman(Yue) Fang

    Can't install camel-netty, missing requirement (&(osgi.wiring.package=org.jboss.netty.bootstrap)(version>=3.8.0)(!(version>=4.0.0)))

    Allan Cheong Newbie

      Hi,

       

      I am playing with JBoss Fuse 6.1, trying to set up a route for socket connections. Initially I was using Mina, but this link mentioned that it is deprecated and suggested to use Netty instead. So I tried. But when I install camel-netty, the following error were printed when I try to start it.

       

      [ 238] [Active     ] [            ] [       ] [   50] camel-rmi (2.12.0.redhat-610379)

      [ 245] [Active     ] [            ] [       ] [   60] hawtio :: hawtio-osgi-jmx (1.2.0.redhat-379)

      [ 246] [Active     ] [            ] [       ] [   60] hawtio :: hawtio-web (1.2.0.redhat-379)

      [ 247] [Active     ] [Created     ] [       ] [   60] hawtio :: hawtio-json-schema-mbean (1.2.0.redhat-379)

      [ 248] [Active     ] [            ] [       ] [   60] JLine (2.11.0)

      [ 249] [Active     ] [Created     ] [       ] [   60] hawtio :: Karaf terminal plugin (1.2.0.redhat-379)

      [ 250] [Active     ] [Created     ] [       ] [   60] hawtio :: hawtio-maven-indexer (1.2.0.redhat-379)

      [ 269] [Active     ] [            ] [       ] [   60] camel-core (2.12.0.redhat-610379)

      [ 289] [Active     ] [            ] [       ] [   60] Jackson-JAXRS-JSON (2.3.3)

      [ 290] [Active     ] [            ] [       ] [   60] jackson-databind (2.3.3)

      [ 291] [Active     ] [            ] [       ] [   60] Jackson-JAXRS-base (2.3.3)

      [ 296] [Active     ] [            ] [       ] [   60] Jackson-annotations (2.3.3)

      [ 297] [Active     ] [            ] [       ] [   60] Jackson-core (2.3.3)

      [ 301] [Active     ] [GracePeriod ] [       ] [   60] JBoss Fuse :: Examples :: Enterprise Integration Patterns (6.1.0.redhat-379)

      [ 318] [Installed  ] [            ] [       ] [   60] camel-netty (2.12.0.redhat-610379)

      JBossFuse:karaf@root> start 318

      Error executing command: Error starting bundles:

              Unable to start bundle 318: Unresolved constraint in bundle org.apache.camel.camel-netty [318]: Unable to resolve 318.0: missing requirement [318.0] osg

      i.wiring.package; (&(osgi.wiring.package=org.jboss.netty.bootstrap)(version>=3.8.0)(!(version>=4.0.0)))

      JBossFuse:karaf@root>

       

      I can't find any solution for this. Appreciate if anyone can help.

       

      Regards,

      Allan

       

      EDIT: The issue was I didn't install netty. Everything works after netty is installed.