You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Abhijit Sharma <as...@amberpoint.com> on 2005/08/03 20:03:06 UTC
WSS4J Basic Error
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
Re: WSS4J Basic Error
Posted by Guy Rixon <gt...@ast.cam.ac.uk>.
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 gtr@ast.cam.ac.uk
Institute of Astronomy Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA Fax: +44-1223-337523
RE: WSS4J Basic Error
Posted by Abhijit Sharma <as...@amberpoint.com>.
Seems to have been something wrong with my JDK 1.4.2 installation. I
reinstalled that and it got sorted.
Regards,
Abhijit
_____
From: Abhijit Sharma [mailto:asharma@amberpoint.com]
Sent: Wed, August 03, 2005 11:03 AM
To: fx-dev@ws.apache.org
Subject: WSS4J Basic Error
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