You are on page 1of 2

8/10/2019 How to increase the web timeout setting in rpweb.xml, ehcache.xml, and MOCA registry files?

JDA.com (https://www.jda.com?utm_source=portalnav) Site Help (/s/site-help) About Support (/s/support-plans?utm_content=topnav_supg)

Logout (/secur/logout.jsp)

(/s/) Cases & Support Products Community & SIGs Training & Events Reports & Dashboards My Company

Knowledgebase Article

How to increase the web timeout setting in rpweb.xml,


ehcache.xml, and MOCA registry files?
Need to know the maximum value that can be set for inactivityTimeoutMinutes parameter in rpweb.xml. Web users are automatically being
logged out after 5-10 minutes of inactivity. 

Jan 12, 2019 • Knowledge

Title
How to increase the web timeout setting in rpweb.xml, ehcache.xml, and MOCA registry files?

Summary
Need to know the maximum value that can be set for inactivityTimeoutMinutes parameter in rpweb.xml.
Web users are automatically being logged out after 5-10 minutes of inactivity. 

Product
JDA Warehouse Management

Module
REFS, MOCA

Cause
Timeout parameters needs to be adjusted in the settings.  

Additional Information

Version
9.1 and 2017

Error Message Code

Resolution
Description for the Parameter inactivityTimeoutMinutes - Maximum length of time (in minutes) the user is allowed to be inactive before being
prompted to reauthenticate with REFS.  If the session expires before this time period has elapsed, the user will be prompted to re-login the next
time they attempt to use Web UI.

In the application, we don't have a maximum, but there might be a maximum tied to the Java int datatype, but it would be fairly large, see
https://stackoverflow.com/questions/150 (https://stackoverflow.com/questions/150) of-integer. 

We don't believe that it would be a good idea to have an "all day" session or something even close to that. Ideally, you would only be logged
in when actively working in the system, but somewhere in between is probably the correct answer.

It's usually best to have these set up to be offset from each other. That gives the Dlx Client time to have the user re-enter their credentials before
the REFS server session expires, and the REFS server will have time to keep-alive the MOCA session. 

Recommendations are listed below. 

https://support.jda.com/s/article/How-to-increase-the-web-timeout-setting-in-rpweb-xml-ehcache-xml-and-MOCA-registry-files 1/3
8/10/2019 How to increase the web timeout setting in rpweb.xml, ehcache.xml, and MOCA registry files?
MOCA (session-idle-timeout integer=4200) - Stored in SERVER section of LES/data/registry file - This is set to 70 minutes. 

REFS (sessionCache timeToLive="3900") - Stored in $REFSDIR/settings/ehcache.xml - This is set to 65 minutes. 

CLIENT (<inactivityTimeoutMinutes>60</>) - Stored in Client Section $REFSDIR/settings/rpweb.xml - This is set to 60 minutes. 

Need to bounce MOCA and REFS Services for these changes to go into effect. 

Stop Services 

1.  Select Start, Control Panel, Services


2.  Highlight REFS Server; ex: REFS(WMWEB91)
3.  Select Stop. 
4.  Click OK. 
5.  Highlight MOCA Server; ex: MOCA(WM91)
6.  Select Stop. 
7.  Click OK.
8.  Check task manager for any REFS or MOCA processes; end tasks. 

Start Services

1.  From Control Panel OR Select Start, Control Panel, Services


2.  Highlight MOCA Server; ex: MOCA(WM91)
3.  Select Start. 
4.  Click OK.
5.  Wait 3 minutes. 
6.  Highlight REFS Server; ex: REFS(WMWEB91) 
7.  Select Start. 
8.  Click OK.
9.  Retry to login. 

URL Name
How-to-increase-the-web-timeout-setting-in-rpweb-xml-ehcache-xml-and-MOCA-registry-files

Attachment 1

Attachment 2

Attachment 3

Legacy Article Number


000037636

Legacy Article ID

Warehouse Management.
(/s/topic/0TO39000000KVRWGA4/...

Was this article helpful? 1 0

Related Articles

Page Builder Assistance (/s/article/500f200001R3BkzAAF1563378172613) 689

Registry MOCA/Connection/Session timeout settings (/s/article/Registry-MOCA-Connection-Session-timeout-settings) 3.99K

Why is the Active X certificate expired? (/s/article/Why-is-the-Active-X-certificate-expired) 88

https://support.jda.com/s/article/How-to-increase-the-web-timeout-setting-in-rpweb-xml-ehcache-xml-and-MOCA-registry-files 2/3

You might also like