Timed logout

Hey gang

I am keen to change the duration of the timed logout  -  is this possible?  I have searched the site for topics or references and can not find any  :(

Mark

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Timed logout

Hi Mark,

This is actually a setting in Tomcat the web application sofwtar ethat OpenVPMS runs in so no direct way to change in OpenVPMS itself.

The technical solution is to edit the Tomcat server.xml file (found in Tomcat conf folder) and change

	    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
/>

to

 
	    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="0" disableUploadTimeout="true"
/>

i.e change the connectionTimeout attribute to 0.

Possibly best if your I.T. company or OpenVPMS softwar eimplementer do this. :-)

Cheers

Tony

Re: Timed logout

Actually, you need to change the session-timeout in:

$TOMCAT_HOME/webapps/openvpms/WEB-INF/web.xml

Its currently configured as:

    <session-config>
        <session-timeout>120</session-timeout>
        <!-- 2 hours -->
    </session-config>

You'll need to stop and restart the app for the change to be seen.

Syndicate content