This is just a guess...

Have you mixed up, in your crypto.properties, the keys for the keystore type
and the keystore file-name? The error report looks like it's searching for a
store named pkcs12 which would be the type.

On Wed, 3 Aug 2005, Abhijit Sharma wrote:

> I have got the latest from cvs of ws-wss4j project. After building from
> scratch when I run the tests it gives the error. Can anyone guide me as to
> what the error is?
>
>
>
>
>
>     <error message="org.apache.ws.security.components.crypto.Merlin cannot
> create instance"
> type="java.lang.RuntimeException">java.lang.RuntimeException: org.ap
>
> ache.ws.security.components.crypto.Merlin cannot create instance^M
>
>         at
> org.apache.ws.security.components.crypto.CryptoFactory.loadClass(Cryp
>
> toFactory.java:130)^M
>
>         at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Cr
>
> yptoFactory.java:101)^M
>
>         at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(Cr
>
> yptoFactory.java:54)^M
>
>         at components.TestMerlin.testCrypto(TestMerlin.java:38)^M
>
> </error>^M
>
>   </testcase>^M
>
>   <system-out><![CDATA[]]></system-out>^M
>
>   <system-err><![CDATA[java.security.KeyStoreException: pkcs12 not found^M
>
>         at java.security.KeyStore.getInstance(KeyStore.java:161)^M
>
>         at
> org.apache.ws.security.components.crypto.Merlin.load(Merlin.java:516)
>
> ^M
>
>
>
>
>
> Regards,
>
> Abhijit
>
>

Guy Rixon                                       [EMAIL PROTECTED]
Institute of Astronomy                          Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA          Fax: +44-1223-337523

Reply via email to