camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huntc <hu...@mac.com>
Subject Jetty unit https test messages
Date Wed, 06 May 2009 08:17:23 GMT

Hi there,

I've made some local changes to the jetty unit tests so they are able to
support a key/trust store path that has spaces in it (such as on my
machine). The change is pretty simple - instead of passing the result of a
URL's getPath to the system property we convert to a URI and then use
getPath.

Anyhow I noticed the following output from HttpsRouteTest and wondered if it
was normal:


Running org.apache.camel.component.jetty.HttpsRouteTest
2009-05-06 18:10:17.264::INFO:  jetty-6.1.14
2009-05-06 18:10:17.530::INFO:  Started SslSocketConnector@localhost:9080
2009-05-06 18:10:17.869::INFO:  jetty-6.1.14
2009-05-06 18:10:17.871::INFO:  Started SslSocketConnector@localhost:9080
2009-05-06 18:10:18.06::WARN:  EXCEPTION 
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at
com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041)
	at
org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:631)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
2009-05-06 18:10:18.132::INFO:  jetty-6.1.14
2009-05-06 18:10:18.134::INFO:  Started SslSocketConnector@localhost:9080
2009-05-06 18:10:18.523::INFO:  jetty-6.1.14
2009-05-06 18:10:18.525::INFO:  Started SslSocketConnector@localhost:9080
2009-05-06 18:10:18.544::WARN:  EXCEPTION 
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
	at
com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057)
	at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041)
	at
org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:631)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.415 sec


Kind regards,
Christopher
-- 
View this message in context: http://www.nabble.com/Jetty-unit-https-test-messages-tp23402063p23402063.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message