Have you looked at this thread? (Google for "Default SSL context init failed: null").
http://forum.java.sun.com/thread.jspa?threadID=647270&messageID=3810778 Use this command-line argument on your java process to find out more: -Djavax.net.debug=all >From the thread I linked to, looks like that error will occur if these are set as arguments to the java process, and happen to point to non-existant (or unreadable) files: -Djavax.net.ssl.trustStore=TRUSTSTORE -Djavax.net.ssl.keyStore=KEYSTORE But I'm just regurgitating what I read over on the forum.java.sun.com thread. I don't really know. Good luck! yours, Julius On 10/19/07, Kevin Tsoi <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am running into the following exception when using the http client > over ssl. What seems to be the problem? Thanks. > > > > Default SSL context init failed: null > > at > javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java > :176) > > at > org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSo > cket(Unknown Source) > > at > org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSo > cket(Unknown Source) > > at org.apache.commons.httpclient.HttpConnection.open(Unknown > Source) > > at > org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCon > nectionAdapter.open(Unknown Source) > > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknow > n Source) > > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown > Source) > > at > org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) > > at > org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source) > > > > -- yours, Julius Davies 250-592-2284 http://juliusdavies.ca/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
