[ 
https://issues.apache.org/jira/browse/RAMPART-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski resolved RAMPART-435.
-------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Robert Lazarski
>            Priority: Blocker
>             Fix For: 1.8.0
>
>
> 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
(v8.20.10#820010)

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

Reply via email to