[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: org.apache.axis2.AxisFault: Error in key derivation
From:       "Martin Gainty" <mgainty () hotmail ! com>
Date:       2000-11-14 23:30:42
Message-ID: BAY108-DAV6EBC5F29B818269D8CF5FAE810 () phx ! gbl
[Download RAW message or body]

org.apache.axis2.AxisFault: Error in key derivationPeter

you need to supply valid fields for
(String)Username
(String)Password
(String)Nonce
(Date/Time)Created

http://wso2.org/library/240#digest

M--
  ----- Original Message ----- 
  From: Rajesh, Peter (CLAIMS, WIP) 
  To: axis-dev@ws.apache.org 
  Cc: axis-user@ws.apache.org 
  Sent: Wednesday, November 14, 2007 4:47 PM
  Subject: org.apache.axis2.AxisFault: Error in key derivation


  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:88)   [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(OutInAxisOperation.java:336) \
  [java]     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389) \
  [java]     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.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(DerivedKeyTokenProcessor.java:104) \
  [java]     at org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(DerivedKeyTokenProcessor.java:82) \
  [java]     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:284) \
  [java]     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:206) \
  [java]     at org.apache.rampart.RampartEngine.process(RampartEngine.java:135) 
  [java]     at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85) \
  [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(DerivedKeyTokenProcessor.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.
  *************************************************************************



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
  For additional commands, e-mail: axis-user-help@ws.apache.org


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>org.apache.axis2.AxisFault: Error in key derivation</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Peter</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>you need to supply valid fields 
for<BR>(String)Username<BR>(String)Password<BR>(String)Nonce<BR>(Date/Time)Created</FONT></DIV>
 <DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="http://wso2.org/library/240#digest">http://wso2.org/library/240#digest</A><BR><BR>M--</FONT></DIV>
 <BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=Peter.Rajesh@thehartford.com 
  href="mailto:Peter.Rajesh@thehartford.com">Rajesh, Peter (CLAIMS, WIP)</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=axis-dev@ws.apache.org 
  href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=axis-user@ws.apache.org 
  href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 14, 2007 4:47 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> org.apache.axis2.AxisFault: 
  Error in key derivation</DIV>
  <DIV><BR></DIV><!-- Converted from text/rtf format -->
  <P><FONT face=Arial size=2>Hi,</FONT> </P>
  <P><FONT face=Arial size=2>When I execute the Axis2 java client which contacts 
  a webservice running in Weblogic 8.1 below error is thrown in the 
  clientside.</FONT></P>
  <P><FONT face=Arial size=2>Attached the request &amp; response captured using 
  tcpmon. </FONT><BR><FONT face=Arial color=#000000 
  size=2>&lt;&lt;soap-request-response.txt&gt;&gt; </FONT><BR><FONT face=Arial 
  size=2>Please advice and let me know if any workaround for this. </FONT></P>
  <P><FONT face=Arial size=2>[java]<B> org.apache.axis2.AxisFault: Error in key 
  derivation</B>; nested exception is:</FONT> <BR><FONT face=Arial 
  size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; 
  org.apache.ws.security.conversation.ConversationException: Error in key 
  derivation</FONT> <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:88)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.engine.Phase.invoke(Phase.java:292)</FONT> <BR><FONT 
  face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.rampart.weblogic.sample.Client.main(Client.java:70)</FONT> 
  <BR><FONT face=Arial size=2>[java]</FONT><B> <FONT face=Arial size=2>Caused 
  by: org.apache.ws.security.WSSecurityException: Error in key 
  derivation</FONT></B><FONT face=Arial size=2>; nested exception is:</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; 
  org.apache.ws.security.conversation.ConversationException: Error in key 
  derivation</FONT> <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(DerivedKeyTokenProcessor.java:104)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(DerivedKeyTokenProcessor.java:82)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:284)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:206)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.rampart.RampartEngine.process(RampartEngine.java:135)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; ... 10 more</FONT> 
  <BR><FONT face=Arial size=2>[java]</FONT><B> <FONT face=Arial size=2>Caused 
  by: org.apache.ws.security.conversation.ConversationException: Error in key 
  derivation</FONT></B> <BR><FONT face=Arial 
  size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:65)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.processor.DerivedKeyTokenProcessor.deriveKey(DerivedKeyTokenProcessor.java:101)</FONT> \
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; ... 15 more</FONT> 
  <BR><FONT face=Arial size=2>[java]</FONT><B> <FONT face=Arial size=2>Caused 
  by: java.lang.IllegalArgumentException: Missing argument</FONT></B> <BR><FONT 
  face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  javax.crypto.spec.SecretKeySpec.&lt;init&gt;(DashoA6275)</FONT> <BR><FONT 
  face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.conversation.dkalgo.P_SHA1.P_hash(P_SHA1.java:86)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.ws.security.conversation.dkalgo.P_SHA1.createKey(P_SHA1.java:55)</FONT> 
  <BR><FONT face=Arial size=2>[java]&nbsp;&nbsp;&nbsp;&nbsp; ... 16 more</FONT> 
  </P>
  <P><FONT face=Arial size=2>Thanks &amp; Regards,</FONT> </P>
  <P><FONT face=Arial size=2>Peter Rajesh</FONT> </P><FONT 
  size=3><BR><BR>*************************************************************************<BR>This \
  communication, including attachments, is<BR>for the exclusive use of addressee 
  and may contain proprietary,<BR>confidential and/or privileged information. If 
  you are not the intended<BR>recipient, any use, copying, disclosure, 
  dissemination or distribution is<BR>strictly prohibited. If you are not the 
  intended recipient, please notify<BR>the sender immediately by return e-mail, 
  delete this communication and<BR>destroy all 
  copies.<BR>*************************************************************************<BR></FONT>
  <P>
  <HR>

  <P></P>---------------------------------------------------------------------<BR>To 
  unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org<BR>For additional 
  commands, e-mail: axis-user-help@ws.apache.org</BLOCKQUOTE></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic