Too late for Nick I guess, but I have been experiencing the same problem and in my case was fixed by adding the following lines before I set up the connection
System.setPrope rty("javax.net. ssl.keyStoreTyp e", "JKS");
System.setPrope rty("javax.net. ssl.keyStore", "/usr/java/jre1.6.0_21/lib/security/cacerts");
System.setPrope rty("javax.net. ssl.keyStorePas sword",...
Leave a comment: