Jean-Louis, My cacerts file does not exist. Looks like this is broken in debian linux, because the openjdk in debian (Lenny), the cacerts file is a link to /etc/ssl/certs/java/cacerts, and that file does not exist . According to the openjdk documentation, it right now ships with an empty cacerts file (unlike the sun jdk). I guess, I will need to switch to sun jdk.
Thanks for the help. On Mon, Aug 17, 2009 at 3:46 PM, Jean-Louis MONTEIRO < [email protected]> wrote: > > > > KMalhi wrote: > > > > Caused by: java.io.FileNotFoundException: > > /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts (No such file or > > directory) > > at java.io.FileInputStream.open(Native Method) > > at java.io.FileInputStream.<init>(FileInputStream.java:137) > > at java.io.FileInputStream.<init>(FileInputStream.java:96) > > at > > > org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:109) > > > > WSS4J is trying to load default trust store from the JVM. > String cacertsPath = System.getProperty("java.home") + > "/lib/security/cacerts"; > > Jean-Louis > > > > -- > View this message in context: > http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25013001.html > Sent from the OpenEJB Dev mailing list archive at Nabble.com. > > -- Karan Singh Malhi
