Javierfdr
Javierfdr

Reputation: 1152

How to set access timeout for Web APP in WSO2?

Does anyone know how to configure the request timeout to a Web App served by WSO2 app server? I couldn't find yet how to set this timeout, or at least find out what's default. WSO2 is a great app server, but lacks good documentation.

I'm making specific calls to web services contained in a Java Web App (exported as .war), that is hosted by WSO2 app server.

Upvotes: 2

Views: 535

Answers (1)

Prabath Siriwardena
Prabath Siriwardena

Reputation: 5921

As per your question you are hosting a web app in WSO2 AS.

You can specify the timeout of a session in the deployment descriptor of your web application (web.xml):

<web-app>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>

  ...
</web-app>

The number within the session-timout element must be expressed in minutes.

Thanks...

Upvotes: 1

Related Questions