This usually indicates that you need to install the unlimited strength policy files. Every update of the Java JDK and AFAIK the Java JRE overwrites previously installed policy files and thus resets to the "limited" variant of the JCE policy.
Regards, Werner > -----Original Message----- > From: ext Colm O hEigeartaigh [mailto:[email protected]] > Sent: Tuesday, March 03, 2009 11:13 AM > To: stlecho; [email protected] > Subject: RE: Test failures when building latest SVN version > > > The tests are fine for me. This error looks like you need to > install the > JCE: > > "Original Exception was java.security.InvalidKeyException: Illegal key > size > or default parameters" > > Colm. > > > > -----Original Message----- > From: stlecho [mailto:[email protected]] > Sent: 03 March 2009 10:05 > To: [email protected] > Subject: Test failures when building latest SVN version > > > Hi, > > When building latest SVN version of WSS4J I'm receiving test > failures. > If this is a known issue, when will it be solved ? > > Tests in error: > testEncryptionDecryptionRSA15(wssec.TestWSSecurityNew2) > testX509Signature(wssec.TestWSSecurityNew3) > testSAMLUnsignedSenderVouches(wssec.TestWSSecurityNewST1) > testSAMLSignedSenderVouches(wssec.TestWSSecurityNewST2) > testDefaultIssuerClass(wssec.TestWSSecurityNewST2) > testWSS62(wssec.TestWSSecurityNewST2) > testSAMLSignedKeyHolder(wssec.TestWSSecurityNewST3) > testX509Signature(wssec.TestWSSecurityCertError) > testEncryption(wssec.TestWSSecurityCertError) > > Stack Traces > > java.lang.NullPointerException > at > org.apache.ws.security.saml.SAMLIssuerImpl.newAssertion(SAMLIssuerImp > l.java:125) > at > wssec.TestWSSecurityNewST1.testSAMLUnsignedSenderVouches(TestWSSecuri > tyNewST1.java:140) > > org.apache.ws.security.WSSecurityException: Cannot encrypt > data; nested > exceptio > n is: > org.apache.xml.security.encryption.XMLEncryptionException: > Illegal > key s > ize or default parameters > Original Exception was java.security.InvalidKeyException: Illegal key > size > or de > fault parameters > at > org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt > .java:583) > -- > View this message in context: > http://www.nabble.com/Test-failures-when-building-latest-SVN-v > ersion-tp2 > 2305727p22305727.html > Sent from the WSS4J mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
