I tried building 1.5 from source in order to get around the problem http://issues.apache.org/jira/browse/WSS-48 I get consistent build failures from wssec.PackageTests, though. The test report says:

<error type="java.lang.reflect.InvocationTargetException">java.lang.reflect.InvocationTargetException
Caused by: java.lang.ExceptionInInitializerError
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at wssec.PackageTests.suite(PackageTests.java:52)
   ... 7 more
Caused by: java.lang.RuntimeException: org.apache.ws.security.components.crypto.Merlin cannot create instance at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:155) at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119) at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101) at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
   at wssec.TestWSSecurityNew.&lt;clinit&gt;(TestWSSecurityNew.java:55)
   ... 16 more
</error>
 <system-out><![CDATA[]]></system-out>
<system-err><![CDATA[java.io.IOException: exception unwrapping private key - java.security.InvalidKeyException: Illegal key size at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(Unknown Source) at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)
   at java.security.KeyStore.load(KeyStore.java:1150)
at org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)
   ...

I unzipped the bin, src, and otherjars distributions before trying to build with Ant. Is there something else I need to do?

 - Dennis

--
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to