FAQ
We are migrating to 2.10.3 from 2.7.4. So far everything worked great just
changing the camel version, however I'm getting the following error trying
to use a jetty:https endpoint. What dependency am I missing?

java.lang.NoSuchMethodException:
org.eclipse.jetty.server.ssl.SslSelectChannelConnector.getSslContextFactory()



--
View this message in context: http://camel.465427.n5.nabble.com/camel-10-2-3-migration-SSL-error-tp5727162.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

  • Willem jiang at Feb 8, 2013 at 2:05 am
    Hi,

    Can you check which jetty version are using?
    You may need to down grade it.

    --
    Willem Jiang

    Red Hat, Inc.
    FuseSource is now part of Red Hat
    Web: http://www.fusesource.com | http://www.redhat.com
    Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
    http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
    Twitter: willemjiang
    Weibo: 姜宁willem




    On Friday, February 8, 2013 at 3:29 AM, gmdavidson62 wrote:

    We are migrating to 2.10.3 from 2.7.4. So far everything worked great just
    changing the camel version, however I'm getting the following error trying
    to use a jetty:https endpoint. What dependency am I missing?

    java.lang.NoSuchMethodException:
    org.eclipse.jetty.server.ssl.SslSelectChannelConnector.getSslContextFactory()



    --
    View this message in context: http://camel.465427.n5.nabble.com/camel-10-2-3-migration-SSL-error-tp5727162.html
    Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).
  • Gmdavidson62 at Feb 8, 2013 at 2:26 pm
    Jetty version we are trying to use: 7.5.4.v20111024We pull in our jetty api
    from the following:* org.apache.camel camel-jetty 2.10.3 *so maven
    dependency looks like this:[INFO] +-
    org.apache.camel:camel-jetty:jar:2.10.3:compile[INFO] | +-
    (org.apache.camel:camel-core:jar:2.10.3:compile - omitted for
    duplicate)[INFO] | +- (org.apache.camel:camel-http:jar:2.10.3:compile -
    omitted for duplicate)[INFO] | +-
    (org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1.2:compile -
    omitted for duplicate)[INFO] | +-
    org.eclipse.jetty:jetty-server:jar:7.5.4.v20111024:compile



    --
    View this message in context: http://camel.465427.n5.nabble.com/camel-10-2-3-migration-SSL-error-tp5727162p5727228.html
    Sent from the Camel - Users mailing list archive at Nabble.com.
  • Christian Müller at Feb 10, 2013 at 5:04 pm
    It's the right version [1].
    Did you recompile your application with Camel 2.10.3 or did you only update
    the dependencies in your runtime environment?
    Also make sure you do not have another Jetty version at compile or runtime
    in your classpath.

    [1] https://svn.apache.org/repos/asf/camel/tags/camel-2.10.3/parent/pom.xml

    Best,
    Christian
    On Fri, Feb 8, 2013 at 3:26 PM, gmdavidson62 wrote:

    Jetty version we are trying to use: 7.5.4.v20111024We pull in our jetty api
    from the following:* org.apache.camel
    camel-jetty 2.10.3 *so
    maven
    dependency looks like this:[INFO] +-
    org.apache.camel:camel-jetty:jar:2.10.3:compile[INFO] | +-
    (org.apache.camel:camel-core:jar:2.10.3:compile - omitted for
    duplicate)[INFO] | +- (org.apache.camel:camel-http:jar:2.10.3:compile -
    omitted for duplicate)[INFO] | +-
    (org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1.2:compile -
    omitted for duplicate)[INFO] | +-
    org.eclipse.jetty:jetty-server:jar:7.5.4.v20111024:compile



    --
    View this message in context:
    http://camel.465427.n5.nabble.com/camel-10-2-3-migration-SSL-error-tp5727162p5727228.html
    Sent from the Camel - Users mailing list archive at Nabble.com.



    --
  • Gmdavidson62 at Feb 10, 2013 at 5:10 pm
    Thanks Christian for your input! It was a jetty jar/dependency issue....just
    wasn't an obvious one

    I had another post pertaining to this, and I posted my resolution.
    http://camel.465427.n5.nabble.com/migrating-from-camel-2-7-4-to-10-2-3-error-with-slf4j-td5727303.html




    --
    View this message in context: http://camel.465427.n5.nabble.com/camel-10-2-3-migration-SSL-error-tp5727162p5727315.html
    Sent from the Camel - Users mailing list archive at Nabble.com.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedFeb 7, '13 at 7:30p
activeFeb 10, '13 at 5:10p
posts5
users3
websitecamel.apache.org

People

Translate

site design / logo © 2021 Grokbase