axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh, Peter (CLAIMS, WIP)" <Peter.Raj...@TheHartford.com>
Subject org.apache.axis2.AxisFault: Error in key derivation
Date Wed, 14 Nov 2007 21:47:06 GMT
Hi,

When I execute the Axis2 java client which contacts a webservice running
in Weblogic 8.1 below error is thrown in the clientside.

Attached the request & response captured using tcpmon. 
 <<soap-request-response.txt>> 
Please advice and let me know if any workaround for this. 

[java] org.apache.axis2.AxisFault: Error in key derivation; nested
exception is:
[java]     org.apache.ws.security.conversation.ConversationException:
Error in key derivation
[java]     at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:8
8)
[java]     at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
[java]     at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
[java]     at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out
InAxisOperation.java:336)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:389)
[java]     at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
[java]     at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
[java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528
)
[java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508
)
[java]     at
org.apache.rampart.weblogic.sample.Client.main(Client.java:70)
[java] Caused by: org.apache.ws.security.WSSecurityException: Error in
key derivation; nested exception is:
[java]     org.apache.ws.security.conversation.ConversationException:
Error in key derivation
[java]     at
org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(Deri
vedKeyTokenProcessor.java:104)
[java]     at
org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(De
rivedKeyTokenProcessor.java:82)
[java]     at
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurity
Engine.java:284)
[java]     at
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurity
Engine.java:206)
[java]     at
org.apache.rampart.RampartEngine.process(RampartEngine.java:135)
[java]     at
org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:8
5)
[java]     ... 10 more
[java] Caused by:
org.apache.ws.security.conversation.ConversationException: Error in key
derivation
[java]     at
org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:
65)
[java]     at
org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(Deri
vedKeyTokenProcessor.java:101)
[java]     ... 15 more
[java] Caused by: java.lang.IllegalArgumentException: Missing argument
[java]     at javax.crypto.spec.SecretKeySpec.<init>(DashoA6275)
[java]     at
org.apache.ws.security.conversation.dkalgo.P_SHA1.P_hash(P_SHA1.java:86)
[java]     at
org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:
55)
[java]     ... 16 more

Thanks & Regards,

Peter Rajesh



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


Mime
View raw message