I'm getting this exception running "ant jar" with the latest wss4j SVN.
Is the build broken or is it just me? :-)
Also was curious if there were plans to cut a 1.2 release anytime soon.
Thanks,
- Dan
unitTests:
[junit] Running components.PackageTests
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.828 sec
[junit] Running wssec.PackageTests
[junit] java.io.IOException: exception unwrapping private key -
java.security.InvalidKeyException: Illegal key size
[junit] at
org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(JDKPKCS12KeyStore.java:567)
[junit] at
org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12KeyStore.java:824)
[junit] at java.security.KeyStore.load(KeyStore.java:1150)
[junit] at
org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)
[junit] at
org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:121)
[junit] at
org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:62)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[junit] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:142)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
[junit] at wssec.TestWSSecurity.<clinit>(TestWSSecurity.java:54)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[junit] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[junit] at junit.framework.TestSuite.createTest(TestSuite.java:135)
[junit] at
junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
[junit] at junit.framework.TestSuite.<init>(TestSuite.java:75)
[junit] at
junit.framework.TestSuite.addTestSuite(TestSuite.java:101)
[junit] at wssec.PackageTests.suite(PackageTests.java:52)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:221)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] java.lang.reflect.InvocationTargetException
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[junit] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:142)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
[junit] at wssec.TestWSSecurity.<clinit>(TestWSSecurity.java:54)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[junit] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[junit] at junit.framework.TestSuite.createTest(TestSuite.java:135)
[junit] at
junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
[junit] at junit.framework.TestSuite.<init>(TestSuite.java:75)
[junit] at
junit.framework.TestSuite.addTestSuite(TestSuite.java:101)
[junit] at wssec.PackageTests.suite(PackageTests.java:52)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:221)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Caused by:
org.apache.ws.security.components.crypto.CredentialException: Failed to
load credentials. Inner E
xception: [exception unwrapping private key -
java.security.InvalidKeyException: Illegal key size]
[junit] at
org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:528)
[junit] at
org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:121)
[junit] at
org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:62)
[junit] ... 26 more
[junit] java.lang.InstantiationException:
org.apache.ws.security.components.crypto.Merlin
[junit] at java.lang.Class.newInstance0(Class.java:335)
[junit] at java.lang.Class.newInstance(Class.java:303)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:150)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
[junit] at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
--
Dan Diephouse
Envoi Solutions LLC
http://envoisolutions.com
http://netzooid.com/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]