Hi Searl,
       It seems that you have not installed JCE Unlimited key length
policy files. Please refere to [1].

thanks,
/nandana

[1] - 
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/release-docs/README.txt

On Tue, Apr 1, 2008 at 4:39 AM, searl <[EMAIL PROTECTED]> wrote:
> Hi Nandana,
>
>  I had 7 test failures when building from the source distribution. Any
>  suggestions?
>
>  My development environment:
>  Fedora 8, Sun JDK1.5_14, Axis2 1.4 RC2
>
>  Here is the whole output:
>
>  bash-3.2$ mvn -Drelease install
>  [INFO] Scanning for projects...
>  [INFO] Reactor build order:
>  [INFO]   Apache Rampart
>  [INFO]   Rampart - Policy
>  [INFO]   Rampart - Trust
>  [INFO]   Rampart - Core
>  [INFO]   Rampart - Test Suite
>  [INFO]   Rampart - Mar
>  [INFO]   Rampart - Trust-Mar
>  [INFO]   Rampart - Integration
>  [INFO]   Rampart - Documentation
>  [INFO]   Rampart - Distribution
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building Apache Rampart
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] [site:attach-descriptor]
>  [INFO] [install:install]
>  [INFO] Installing
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/pom.xml
>  to
>  
> /users/searl/.m2/repository/org/apache/rampart/rampart-project/642186/rampart-project-642186.pom
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building Rampart - Policy
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] [resources:resources]
>  [INFO] Using default encoding to copy filtered resources.
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/opensaml/opensaml/1.1/opensaml-1.1.pom
>  Downloading:
>  http://ws.zones.apache.org/repository2/opensaml/opensaml/1.1/opensaml-1.1.pom
>  Downloading:
>  http://repo1.maven.org/maven2/opensaml/opensaml/1.1/opensaml-1.1.pom
>  [INFO] snapshot org.apache.axis2:addressing:SNAPSHOT: checking for updates
>  from axis2-rc2
>  [INFO] snapshot org.apache.axis2:axis2-parent:SNAPSHOT: checking for
>  updates from axis2-rc2
>  [INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:SNAPSHOT: checking
>  for updates from axis2-rc2
>  [INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking
>  for updates from axis2-rc2
>  [INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking
>  for updates from axis2-rc2
>  [INFO] snapshot org.apache.ws.commons.axiom:axiom-dom:SNAPSHOT: checking
>  for updates from axis2-rc2
>  [INFO] snapshot org.apache.axis2:axis2-kernel:SNAPSHOT: checking for
>  updates from axis2-rc2
>  [INFO] snapshot org.apache.ws.commons.schema:XmlSchema:SNAPSHOT: checking
>  for updates from axis2-rc2
>  [INFO] snapshot org.apache.neethi:neethi:SNAPSHOT: checking for updates
>  from axis2-rc2
>  [INFO] snapshot org.apache.woden:woden-api:1.0-SNAPSHOT: checking for
>  updates from axis2-rc2
>  [INFO] snapshot org.apache.woden:woden:1.0-SNAPSHOT: checking for updates
>  from axis2-rc2
>  [INFO] snapshot org.apache.woden:woden-impl-dom:1.0-SNAPSHOT: checking for
>  updates from axis2-rc2
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>  Downloading:
>  
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>  Downloading:
>  
> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>  [INFO] snapshot org.apache.ws.security:wss4j:SNAPSHOT: checking for updates
>  from axis2-rc2
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/axis/axis-ant/1.4/axis-ant-1.4.pom
>  Downloading:
>  http://ws.zones.apache.org/repository2/axis/axis-ant/1.4/axis-ant-1.4.pom
>  Downloading:
>  http://repo1.maven.org/maven2/axis/axis-ant/1.4/axis-ant-1.4.pom
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>  Downloading:
>  
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>  Downloading:
>  
> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/bouncycastle/bcprov-jdk15/132/bcprov-jdk15-132.pom
>  Downloading:
>  
> http://ws.zones.apache.org/repository2/bouncycastle/bcprov-jdk15/132/bcprov-jdk15-132.pom
>  Downloading:
>  
> http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jdk15-132.pom
>  Downloading:
>  
> http://people.apache.org/~dims/axis2-1.4/RC2/m2-repo/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.jar
>  Downloading:
>  
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.jar
>  2/405K
>  4/405K
>  8/405K
>  11/405K
>  14/405K
>  18/405K
>  22/405K
>  26/405K
>  28/405K
>  29/405K
>  33/405K
>  37/405K
>  41/405K
>  45/405K
>  49/405K
>  53/405K
>  57/405K
>  61/405K
>  65/405K
>  69/405K
>  73/405K
>  77/405K
>  81/405K
>  85/405K
>  89/405K
>  93/405K
>  97/405K
>  101/405K
>  102/405K
>  105/405K
>  109/405K
>  112/405K
>  116/405K
>  120/405K
>  124/405K
>  128/405K
>  132/405K
>  136/405K
>  140/405K
>  143/405K
>  144/405K
>  148/405K
>  152/405K
>  156/405K
>  160/405K
>  164/405K
>  168/405K
>  172/405K
>  176/405K
>  180/405K
>  184/405K
>  188/405K
>  192/405K
>  196/405K
>  200/405K
>  204/405K
>  208/405K
>  210/405K
>  212/405K
>  216/405K
>  220/405K
>  224/405K
>  228/405K
>  232/405K
>  236/405K
>  240/405K
>  244/405K
>  248/405K
>  252/405K
>  256/405K
>  260/405K
>  263/405K
>  264/405K
>  268/405K
>  272/405K
>  274/405K
>  278/405K
>  282/405K
>  286/405K
>  290/405K
>  294/405K
>  298/405K
>  302/405K
>  306/405K
>  310/405K
>  314/405K
>  318/405K
>  322/405K
>  326/405K
>  330/405K
>  334/405K
>  338/405K
>  342/405K
>  346/405K
>  350/405K
>  354/405K
>  358/405K
>  362/405K
>  366/405K
>  370/405K
>  374/405K
>  378/405K
>  382/405K
>  386/405K
>  390/405K
>  394/405K
>  398/405K
>  402/405K
>  405/405K
>  405K downloaded
>  [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
>  org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.jar - IGNORING
>  [INFO] [compiler:compile]
>  Compiling 88 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-policy/target/classes
>  [INFO] [resources:testResources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:testCompile]
>  Compiling 88 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-policy/target/test-classes
>  [INFO] [surefire:test]
>  [INFO] Surefire report directory:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-policy/target/surefire-reports
>
>  -------------------------------------------------------
>   T E S T S
>  -------------------------------------------------------
>  There are no tests to run.
>
>  Results :
>
>  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
>  [INFO] [jar:jar]
>  [INFO] Building jar:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-policy/target/rampart-policy-642186.jar
>  [INFO] [install:install]
>  [INFO] Installing
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-policy/target/rampart-policy-642186.jar
>  to
>  
> /users/searl/.m2/repository/org/apache/rampart/rampart-policy/642186/rampart-policy-642186.jar
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building Rampart - Trust
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] [resources:resources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:compile]
>  Compiling 28 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-trust/target/classes
>  [INFO] [resources:testResources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:testCompile]
>  Compiling 28 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-trust/target/test-classes
>  [INFO] [surefire:test]
>  [INFO] Surefire report directory:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-trust/target/surefire-reports
>
>  -------------------------------------------------------
>   T E S T S
>  -------------------------------------------------------
>  There are no tests to run.
>
>  Results :
>
>  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
>  [INFO] [jar:jar]
>  [INFO] Building jar:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-trust/target/rampart-trust-642186.jar
>  [INFO] [install:install]
>  [INFO] Installing
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-trust/target/rampart-trust-642186.jar
>  to
>  
> /users/searl/.m2/repository/org/apache/rampart/rampart-trust/642186/rampart-trust-642186.jar
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building Rampart - Core
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] [resources:resources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:compile]
>  Compiling 37 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-core/target/classes
>  [INFO] [resources:testResources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:testCompile]
>  Compiling 37 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-core/target/test-classes
>  [INFO] [surefire:test]
>  [INFO] Surefire report directory:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-core/target/surefire-reports
>
>  -------------------------------------------------------
>   T E S T S
>  -------------------------------------------------------
>  There are no tests to run.
>
>  Results :
>
>  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
>  [INFO] [jar:jar]
>  [INFO] Building jar:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-core/target/rampart-core-642186.jar
>  [INFO] [install:install]
>  [INFO] Installing
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-core/target/rampart-core-642186.jar
>  to
>  
> /users/searl/.m2/repository/org/apache/rampart/rampart-core/642186/rampart-core-642186.jar
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building Rampart - Test Suite
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] [resources:resources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:compile]
>  Compiling 13 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-tests/target/classes
>  [INFO] [resources:testResources]
>  [INFO] Using default encoding to copy filtered resources.
>  [INFO] [compiler:testCompile]
>  Compiling 13 source files to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-tests/target/test-classes
>  [INFO] [surefire:test]
>  [INFO] Surefire report directory:
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-tests/target/surefire-reports
>
>  -------------------------------------------------------
>   T E S T S
>  -------------------------------------------------------
>  Running org.apache.rahas.SimpleTokenStoreTest
>  Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
>  Running org.apache.rampart.handler.config.OutflowConfigurationTest
>  Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
>  Running org.apache.rampart.SymmetricBindingBuilderTest
>  org.apache.rampart.RampartException: Error during encryption
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:674)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:90)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:135)
>         at
>  
> org.apache.rampart.SymmetricBindingBuilderTest.testSymmBinding(SymmetricBindingBuilderTest.java:43)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  Caused by: org.apache.ws.security.WSSecurityException: Cannot
>  encrypt/decrypt data; nested exception is:
>         org.apache.xml.security.encryption.XMLEncryptionException: Illegal key
>  size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:566)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:454)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.encryptForExternalRef(WSSecEncrypt.java:392)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:661)
>         ... 29 more
>  Caused by: org.apache.xml.security.encryption.XMLEncryptionException:
>  Illegal key size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at
>  org.apache.xml.security.encryption.XMLCipher.encryptElementContent(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown 
> Source)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:559)
>         ... 32 more
>  org.apache.rampart.RampartException: Error in encryption with a derived key
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:627)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:90)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:135)
>         at
>  
> org.apache.rampart.SymmetricBindingBuilderTest.testSymmBindingWithDK(SymmetricBindingBuilderTest.java:99)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  org.apache.rampart.RampartException: Error in encryption with a derived key
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doSignBeforeEncrypt(SymmetricBindingBuilder.java:627)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:90)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:135)
>         at
>  
> org.apache.rampart.SymmetricBindingBuilderTest.testSymmBindingWithDKEncrSig(SymmetricBindingBuilderTest.java:130)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  org.apache.rampart.RampartException: Error during encryption
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doEncryptBeforeSig(SymmetricBindingBuilder.java:234)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:88)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:135)
>         at
>  
> org.apache.rampart.SymmetricBindingBuilderTest.testSymmBindingEncrBeforeSig(SymmetricBindingBuilderTest.java:161)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  Caused by: org.apache.ws.security.WSSecurityException: Cannot
>  encrypt/decrypt data; nested exception is:
>         org.apache.xml.security.encryption.XMLEncryptionException: Illegal key
>  size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:566)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:454)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.encryptForExternalRef(WSSecEncrypt.java:392)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doEncryptBeforeSig(SymmetricBindingBuilder.java:232)
>         ... 29 more
>  Caused by: org.apache.xml.security.encryption.XMLEncryptionException:
>  Illegal key size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at
>  org.apache.xml.security.encryption.XMLCipher.encryptElementContent(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown 
> Source)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:559)
>         ... 32 more
>  org.apache.rampart.RampartException: Error in encryption with a derived key
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.doEncryptBeforeSig(SymmetricBindingBuilder.java:205)
>         at
>  
> org.apache.rampart.builder.SymmetricBindingBuilder.build(SymmetricBindingBuilder.java:88)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:135)
>         at
>  
> org.apache.rampart.SymmetricBindingBuilderTest.testSymmBindingWithDKEncrBeforeSig(SymmetricBindingBuilderTest.java:190)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 4.703 sec
>  <<< FAILURE!
>  Running org.apache.rampart.policy.model.RampartPolicyTest
>  Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
>  Running org.apache.rampart.handler.config.InflowConfigurationTest
>  Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
>  Running org.apache.rampart.TransportBindingBuilderTest
>  Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
>  Running org.apache.rampart.AsymmetricBindingBuilderTest
>  org.apache.rampart.RampartException: Error in creating an encrypted key
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.doEncryptBeforeSig(AsymmetricBindingBuilder.java:164)
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:91)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:138)
>         at
>  
> org.apache.rampart.AsymmetricBindingBuilderTest.testAsymmBindingWithDKEncrBeforeSig(AsymmetricBindingBuilderTest.java:148)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  Caused by: org.apache.ws.security.WSSecurityException: Cannot
>  encrypt/decrypt data; nested exception is:
>         org.apache.xml.security.encryption.XMLEncryptionException: Illegal key
>  size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at
>  
> org.apache.ws.security.message.WSSecDKEncrypt.doEncryption(WSSecDKEncrypt.java:149)
>         at
>  
> org.apache.ws.security.message.WSSecDKEncrypt.encryptForExternalRef(WSSecDKEncrypt.java:188)
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.doEncryptBeforeSig(AsymmetricBindingBuilder.java:161)
>         ... 29 more
>  Caused by: org.apache.xml.security.encryption.XMLEncryptionException:
>  Illegal key size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at
>  org.apache.xml.security.encryption.XMLCipher.encryptElementContent(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown 
> Source)
>         at
>  
> org.apache.ws.security.message.WSSecDKEncrypt.doEncryption(WSSecDKEncrypt.java:147)
>         ... 31 more
>  org.apache.rampart.RampartException: Error during encryption
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.doEncryptBeforeSig(AsymmetricBindingBuilder.java:192)
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:91)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:138)
>         at
>  
> org.apache.rampart.AsymmetricBindingBuilderTest.testAsymmBindingEncrBeforeSig(AsymmetricBindingBuilderTest.java:178)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:164)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:120)
>         at junit.framework.TestSuite.runTest(TestSuite.java:230)
>         at junit.framework.TestSuite.run(TestSuite.java:225)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at
>  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
>  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>         at
>  org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
>  Caused by: org.apache.ws.security.WSSecurityException: Cannot
>  encrypt/decrypt data; nested exception is:
>         org.apache.xml.security.encryption.XMLEncryptionException: Illegal key
>  size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:566)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:454)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.encryptForExternalRef(WSSecEncrypt.java:392)
>         at
>  
> org.apache.rampart.builder.AsymmetricBindingBuilder.doEncryptBeforeSig(AsymmetricBindingBuilder.java:189)
>         ... 29 more
>  Caused by: org.apache.xml.security.encryption.XMLEncryptionException:
>  Illegal key size or default parameters
>  Original Exception was java.security.InvalidKeyException: Illegal key size
>  or default parameters
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown
>  Source)
>         at
>  org.apache.xml.security.encryption.XMLCipher.encryptElementContent(Unknown
>  Source)
>         at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown 
> Source)
>         at
>  
> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:559)
>         ... 32 more
>  Tests run: 8, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.801 sec
>  <<< FAILURE!
>  Running org.apache.rampart.RampartEngineTest
>  Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
>  Running org.apache.rampart.TestCBHandler
>  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
>  Running org.apache.rahas.TokenRequestDispatcherConfigTest
>  Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
>  Running org.apache.ws.secpolicy.model.SecpolicyModelTest
>  Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
>
>  Results :
>
>  Failed tests:
>   testSymmBinding(org.apache.rampart.SymmetricBindingBuilderTest)
>   testSymmBindingWithDK(org.apache.rampart.SymmetricBindingBuilderTest)
>
>  testSymmBindingWithDKEncrSig(org.apache.rampart.SymmetricBindingBuilderTest)
>
>  testSymmBindingEncrBeforeSig(org.apache.rampart.SymmetricBindingBuilderTest)
>
>  
> testSymmBindingWithDKEncrBeforeSig(org.apache.rampart.SymmetricBindingBuilderTest)
>
>  
> testAsymmBindingWithDKEncrBeforeSig(org.apache.rampart.AsymmetricBindingBuilderTest)
>
>  
> testAsymmBindingEncrBeforeSig(org.apache.rampart.AsymmetricBindingBuilderTest)
>
>  Tests run: 32, Failures: 7, Errors: 0, Skipped: 0
>
>  [INFO]
>  ------------------------------------------------------------------------
>  [ERROR] BUILD FAILURE
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] There are test failures.
>
>  Please refer to
>  
> /users/searl/sensorNet/eclipse/workspace/ACE_SOA/third_party/rampart/rampart-642186/modules/rampart-tests/target/surefire-reports
>  for the individual test results.
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] For more information, run Maven with the -e switch
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Total time: 1 minute 40 seconds
>  [INFO] Finished at: Mon Mar 31 17:43:37 CDT 2008
>  [INFO] Final Memory: 18M/41M
>  [INFO]
>  ------------------------------------------------------------------------
>  bash-3.2$ ls
>  modules/  pom.xml  release-docs/
>  bash-3.2$ cd release-docs/
>  bash-3.2$ ls
>  bash-3.2$ cd ..
>  bash-3.2$ ls
>  modules/  pom.xml  release-docs/
>  bash-3.2$
>
>
>
>  On Fri, 28 Mar 2008 20:33:34 +0530, "Nandana Mihindukulasooriya"
>  <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  >    You can download  the RC1 for Rampart 1.4 from here.
>  >
>  > [1] - http://people.apache.org/~nandana/rampart-1.4/RC1/
>  >
>  >    SVN location
>  >
>  > [2] -
>  > https://svn.apache.org/repos/asf/webservices/rampart/branches/java/1_4/
>  >
>  >    You can test this with Axis2 RC2.
>  >
>  > thanks,
>  > /nandana
>
>

Reply via email to