How to override the default HttpSession timeout on a per-webapp basis

Reply
Occasional Contributor
Posts: 10

How to override the default HttpSession timeout on a per-webapp basis

Hi,


I need to setup STP session timeout to override jboss session timeout using steps below provided by sas at this link http://support.sas.com/documentation/cdl/en/bimtag/65708/HTML/default/viewer.htm#p12gmxy6s5hazln1kog...


Per the instructions,  i just need to modify and paste the code in step 2  in appropriate file, save and redeploy. But the entry below does not match other entries in the web.xml file.

Example of an entry in this web.xml file.


<context-param>
        <param-name>log4j-config-name-prefix</param-name>
        <param-value>@webapp.storedprocess.contextroot@</param-value>
     </context-param>


I need help to place 'context-name' and 'context-value' in the correct place of the code am modifying below



  • Modify the following
    code in the appropriate files:



    <session-config>
    <session-timeout>5</session-timeout>
    </session-config>


    Replace time-out-interval with
    the time-out interval in minutes. As a recommendation, the number
    should be no smaller than 5.



    When you are finished,
    save and close the file.

  • Use the SAS Deployment
    Manager to rebuild the EAR files that contain the SAS Web applications.







  • Redeploy the Web applications
    whose files you modified.


StoredProcess file location:

SAS-install-dir\SASWebInfrastructurePlatform\9.3\Configurable\wars\sas.storedprocess\WEB-INF\web.xml.orig



1The session-config element
described in Step 2 must be added to the web.xml.orig file for this
application


Thanks,

aMOs


Occasional Contributor
Posts: 10

Re: How to override the default HttpSession timeout on a per-webapp basis

I apologize i just released that i did not paste the error am getting when i start jboss. I deleted the log and reverted the changes. I still think that i need to write that code in web.xml for it to work.

Thanks,

aMOs

Ask a Question
Discussion stats
  • 1 reply
  • 363 views
  • 0 likes
  • 1 in conversation