You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "swayam prakash behera (JIRA)" <ji...@apache.org> on 2016/07/07 09:55:11 UTC

[jira] [Created] (RAMPART-435) Unable to set timestampTTLand timestampMaxSkew values through a rampart callbackorg.apache.axis2.AxisFault: The message has expired

swayam prakash behera created RAMPART-435:
---------------------------------------------

             Summary: Unable to set timestampTTLand timestampMaxSkew values through a rampart callbackorg.apache.axis2.AxisFault: The message has expired 
                 Key: RAMPART-435
                 URL: https://issues.apache.org/jira/browse/RAMPART-435
             Project: Rampart
          Issue Type: Bug
          Components: rampart-policy
    Affects Versions: 1.6.4
         Environment: JDK 1.8.51,axis2-1.6.4,apache-tomcat-7.0.54,Rampart module (rampart-1.6.4.mar),wss4j-1.6.16.jar
            Reporter: swayam prakash behera
            Priority: Blocker


I am getting an exception as "The message has expired"  while my webservice is invoked by client having  more than  5 minute time difference .Client is sending time in UTC and my service is expecting time in UTC format.If there is a time lag of 5 or more than to that of client request to that of server timing (webservice deployed) I am getting an exception as The message has expired .

Thus I am trying to increase the timestamp by adding an entry.
But it didn't work is always used to take 5 minute. Kindly let me know how can I increase the  timestampTTL and timestampMaxSkew,

<ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy">
        <ramp:timestampTTL>600000</ramp:timestampTTL>	                   <ramp:timestampMaxSkew> 600000</ramp:timestampMaxSkew>	
</ramp:RampartConfig>

Environment Details:

JDK 1.8.51,axis2-1.6.4,apache-tomcat-7.0.54,Rampart module (rampart-1.6.4.mar),wss4j-1.6.16.jar

Exception Details:
Find below the exception detail
[ERROR] The message has expired
org.apache.axis2.AxisFault: The message has expired
	at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
	at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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