camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micky Santomax <mickysanto...@tiscali.it>
Subject Re: Password error for https endpoint connection
Date Wed, 26 Mar 2008 17:59:12 GMT

Thanks for reply

I've follow all step of jetty ssl configuration but the problem isn't
changed
After various test I've see that the problem is 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 previous error :

2008-03-18 20:05:42.998::WARN:  EXCEPTION
>  java.security.UnrecoverableKeyException: Password must not be null
-- 
View this message in context: http://www.nabble.com/Password-error-for-https-endpoint-connection-tp16128569s22882p16309438.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message