Hi Dennis... my bad (once again :-( ) ... I had unlimited strength key
size tests included.

Just fixed it! [1] Please try now.

Thanks,
Ruchith

[1] http://svn.apache.org/viewvc?view=rev&rev=454084

On 10/8/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
More security stuff:

Testsuite: org.apache.rampart.RampartTest
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 26.55 sec

------------- Standard Output ---------------
Server started on port 5555.....Testing WS-Sec: custom scenario 1
Service invoked
Testing WS-Sec: custom scenario 2
Service invoked
Testing WS-Sec: custom scenario 3
[SimpleHTTPServer] Stop called
Server stopped .....[SimpleHTTPServer] Stop called
------------- ---------------- ---------------
------------- Standard Error -----------------
log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis2.AxisFault: Error during encryption; nested exception is:
    org.apache.rampart.RampartException: Error during encryption
    at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
    ...
Caused by: org.apache.rampart.RampartException: Error during encryption
    at
org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:415)
    at
org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:75)
    at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:128)
    at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:59)
    ... 22 more
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:459)
    at
org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:399)
    at
org.apache.ws.security.message.WSSecEncrypt.encryptForInternalRef(WSSecEncrypt.java:306)
    at
org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:407)
    ... 25 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.encryptElementContent(Unknown
Source)
    at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
    at
org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:457)
    ... 28 more

and:

Testsuite: org.apache.rahas.RahasSAMLTokenV1205Test
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 42.983 sec

------------- Standard Output ---------------
Server started on port 5555.....[SimpleHTTPServer] Stop called
Server stopped .....[SimpleHTTPServer] Stop called
------------- ---------------- ---------------
------------- Standard Error -----------------
log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis2.AxisFault: Read timed out; nested exception is:
    java.net.SocketTimeoutException: Read timed out; nested exception is:
    org.apache.axis2.AxisFault: Read timed out; nested exception is:
    java.net.SocketTimeoutException: Read timed out
    at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:642)
    at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:351)
    at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:281)
    at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:569)
    at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)

Tried the build twice, resyncing in between, with failures both times.

  - 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]




--
www.ruchith.org

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

Reply via email to