camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micky Santomax <mickysanto...@tiscali.it>
Subject https support in routing ?
Date Wed, 26 Mar 2008 20:58:37 GMT

There's full support for https routing ?

After various test I've see that there's a the problem in routing because if
in RouteBuilder class I set this :

JettyHttpEndpoint jettyEndpoint =
context.getEndpoint("jetty:https://localhost:8196/SSLTest/",
JettyHttpEndpoint.class);

this.from(jettyEndpoint);

The endpoint was created and when I access to it with browser I receive a
request of accept the certificate. If I accept it I receive the following
error :

2008-03-26 18:56:14.933::WARN:  handle failed
java.lang.NullPointerException
        at
org.mortbay.thread.BoundedThreadPool.isLowOnThreads(BoundedThreadPool.java:216)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:218)
        at
org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:620)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Else if I set this :

JettyHttpEndpoint jettyEndpoint =
context.getEndpoint("jetty:https://localhost:8196/SSLTest/",
JettyHttpEndpoint.class);

this.from(jettyEndpoint).process(new
MyProcessor()).to("jetty:http://localhost:8195/SSLTest2/");

or

this.from(jettyEndpoint).to("jetty:http://localhost:8195/SSLTest2/");

I receive the error :

2008-03-18 20:05:42.998::WARN:  EXCEPTION
>  java.security.UnrecoverableKeyException: Password must not be null

Why this ?
-- 
View this message in context: http://www.nabble.com/https-support-in-routing---tp16316096s22882p16316096.html
Sent from the Camel - Development mailing list archive at Nabble.com.


Mime
View raw message