开发者

How to set access timeout for Web APP in WSO2?

开发者 https://www.devze.com 2023-04-01 17:03 出处:网络
Does anyone know how to configure the request timeout to a Web App served by WSO2 app 开发者_JS百科server?

Does anyone know how to configure the request timeout to a Web App served by WSO2 app 开发者_JS百科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.


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...

0

精彩评论

暂无评论...
验证码 换一张
取 消