[Celerity-users] celerity war file https - page not loaded
jason franklin-stokes
jasoninclass at googlemail.com
Thu Dec 17 13:49:03 EST 2009
Dear all,
I am having a slight issue here.
I have my project packed in a war file deploying from glassfish (NOTE this does not happen when just starting the app form the command line with Jruby -S myapp).
I am always getting a page not loaded exceptiion with the following:
browser = Celerity::Browser.new
browser.goto "https://secure.wittich.de/index.php?id=170"
browser.url
the glassfish server log file reports this error:
org.jruby.rack.RackInitializationException: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
from javax/net/ssl/SSLSocketFactory.java:212:in `createSocket'
from org/apache/commons/httpclient/protocol/SSLProtocolSocketFactory.java:82:in `createSocket'
from org/apache/commons/httpclient/protocol/SSLProtocolSocketFactory.java:127:in `createSocket'
from org/apache/commons/httpclient/HttpConnection.java:707:in `open'
from org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java:1361:in `open'
from org/apache/commons/httpclient/HttpMethodDirector.java:387:in `executeWithRetry'
from org/apache/commons/httpclient/HttpMethodDirector.java:171:in `executeMethod'
from org/apache/commons/httpclient/HttpClient.java:397:in `executeMethod'
I have the jruby-openssl gem which is being required correctly.
Has anyone got any great ideas on how I could resolve this.
Thanks a million.
Jason.
More information about the Celerity-users
mailing list