Fix memory leak

Desktops and sessions must expire, otherwise all ever instantiations
of pages are kept in memory.

FEA: ItEr74S08DeployFramework
This commit is contained in:
Óscar González Fernández 2011-05-23 01:01:35 +02:00
parent dfc53a1ce0
commit 21d1bd129f
2 changed files with 4 additions and 4 deletions

View file

@ -134,8 +134,8 @@
</servlet-mapping>
<session-config>
<!-- -1 means session doesn't timeout -->
<session-timeout>-1</session-timeout>
<!-- The session timeout is an hour -->
<session-timeout>60</session-timeout>
</session-config>
<welcome-file-list>

View file

@ -4,8 +4,8 @@
</log>
<session-config>
<!-- -1 value means session should never timeout -->
<session-timeout>-1</session-timeout>
<!-- 1 hour for timeout-->
<session-timeout>3600</session-timeout>
</session-config>
<error-page>
<exception-type>java.lang.Throwable