users@glassfish.java.net

Re: Web Service Wrapper over RMI call

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Dec 2008 03:27:01 PST

Just to add,

if any of the keys in application keystore have key passwords which are different from the keystore password then again you would see an initialization failure.

The recommended way to overwrite GlassFish keystores is to set the following properties inside domain.xml to correct values :

<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
        <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]

http://forums.java.net/jive/thread.jspa?messageID=319987