JBoss EAP 6.x
Edit standalone.xml.
<subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false" default-session-timeout="15">
...
</subsystem>
JBoss EAP 7.x
Edit standalone.xml.
<subsystem xmlns="urn:jboss:domain:undertow:4.0">
...
<servlet-container name="default" default-session-timeout="15">
...
</servlet-container>
...
</subsystem>
Note
You can set this in WEB-INF/web.xml also, but this is better to set globally.
No comments:
Post a Comment