JSSE provider in Eclipse (Expeditor) project [message #65071] |
Thu, 18 June 2009 13:09 |
Eclipse User |
|
|
|
Originally posted by: jochs.critical-masses.com
I'm working on a project using Eclipse and Lotus Expeditor (an Eclipse
framework) that calls on Google Application APIs to authenticate to the
Google cloud. The problem seems to arise when the Google classes try to
authenticate and the platform's JCE provider doesn't have the expected
SSL algorithm. Does anyone know how to fix this?
--BEGIN SYSOUT---
Jun 18, 2009 9:03:57 AM
com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory
createPlatformSSLContext()
WARNING: CWPST502W: The algorithm for recovering the key from the
keystore cannot be found.
Throwable occurred: java.security.NoSuchAlgorithmException: K00b3
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:57)
at
com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory.cr eatePlatformSSLContext(PlatformSSLProtocolSocketFactory.java :47)
at
com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory.ge tSSLContext(PlatformSSLProtocolSocketFactory.java:69)
at
com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory.cr eateSocket(PlatformSSLProtocolSocketFactory.java:96)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocke tFactory$1.doit(ControllerThreadSocketFactory.java:90)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocke tFactory$SocketTask.run(ControllerThreadSocketFactory.java:1 57)
at java.lang.Thread.run(Thread.java:816)
Exception in thread "Timeout guard" java.lang.NullPointerException
at
com.ibm.rcp.security.ssl.PlatformSSLProtocolSocketFactory.cr eateSocket(PlatformSSLProtocolSocketFactory.java:96)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocke tFactory$1.doit(ControllerThreadSocketFactory.java:90)
at
org.apache.commons.httpclient.protocol.ControllerThreadSocke tFactory$SocketTask.run(ControllerThreadSocketFactory.java:1 57)
at java.lang.Thread.run(Thread.java:816)
java.lang.NullPointerException
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnec tion.java:720)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionMan ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM anager.java:1321)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWith Retry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMeth od(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:401)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:323)
at
com.ibm.rcp.net.protocol.http.HttpURLConnection.execute(Http URLConnection.java:254)
at
com.ibm.rcp.net.protocol.http.HttpURLConnection.getResponseC ode(HttpURLConnection.java:702)
at
com.ibm.rcp.net.protocol.http.HttpsURLConnection.getResponse Code(HttpsURLConnection.java:134)
at
com.google.gdata.client.GoogleAuthTokenFactory.makePostReque st(GoogleAuthTokenFactory.java:550)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken( GoogleAuthTokenFactory.java:477)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCreden tials(GoogleAuthTokenFactory.java:336)
at
com.google.gdata.client.GoogleService.setUserCredentials(Goo gleService.java:362)
at
com.google.gdata.client.GoogleService.setUserCredentials(Goo gleService.java:317)
at
com.google.gdata.client.GoogleService.setUserCredentials(Goo gleService.java:301)
at com.cmti.gapps.GAppPref$1.widgetSelected(GAppPref.java:69)
--END SYSOUT---
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03124 seconds