JSSE provider in Eclipse (Expeditor) project [message #65071] |
Thu, 18 June 2009 09: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---
|
|
|
Re: JSSE provider in Eclipse (Expeditor) project [message #65140 is a reply to message #65071] |
Sat, 20 June 2009 10:02  |
Eclipse User |
|
|
|
Jake Ochs wrote:
> 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?
If you're building on top of Lotus XPD, I would use IBM's support
channels for help. Especially when you see 'com.ibm.rcp*' in the
stacktraces...
If it's a general Eclipse problem, we'd love to help.
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
|
|
|
Re: JSSE provider in Eclipse (Expeditor) project [message #598422 is a reply to message #65071] |
Sat, 20 June 2009 10:02  |
Eclipse User |
|
|
|
Jake Ochs wrote:
> 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?
If you're building on top of Lotus XPD, I would use IBM's support
channels for help. Especially when you see 'com.ibm.rcp*' in the
stacktraces...
If it's a general Eclipse problem, we'd love to help.
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
|
|
|
Powered by
FUDForum. Page generated in 0.04060 seconds