users@glassfish.java.net

Re: Including gf-client.jar on the classpath causes WS ...

From: <forums_at_java.net>
Date: Thu, 2 May 2013 15:35:59 -0500 (CDT)

Using JDK 7 instead gave a different error. It seems like the trust store
setting is not working as I am now getting
"*java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty.*" even though the code does:
System.setProperty("javax.net.ssl.trustStore",
"full-path-to-truststore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); Removing
the GlassFish jars from the classpath and the code works, however as said I
need to also be able to do EJB calls... :(

--
[Message sent by forum member 'netmackan']
View Post: http://forums.java.net/node/896209