打印本文 打印本文 关闭窗口 关闭窗口
Tomcat环境下配置oracle数据源的方法
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3632  更新时间:2009/4/22 22:03:31  文章录入:mintao  责任编辑:mintao
ed on startup. Sessions past their expiration are

                 ignored in both cases.

               maxActiveSessions: If 0 or greater, having too many active

                 sessions will result in some being swapped out. minIdleSwap

                 limits this. -1 or 0 means unlimited sessions are allowed.

                 If it is not possible to swap sessions new sessions will

                 be rejected.

                 This avoids thrashing when the site is highly active.

               minIdleSwap: Sessions must be idle for at least this long

                 (in seconds) before they will be swapped out due to

                 activity.

                 0 means sessions will almost always be swapped out after

                 use - this will be noticeably slow for your users.

               maxIdleSwap: Sessions will be swapped out if idle for this

                 long (in seconds). If minIdleSwap is higher, then it will

                 override this. This isn''''t exact: it is checked periodically.

                 -1 means sessions won''''t be swapped out for this reason,

                 although they may be swapped out for maxActiveSessions.

                 If set to >= 0, guarantees that all sessions found in the

                 Store will be loaded on startup.

               maxIdleBackup: Sessions will be backed up (saved to the Store,

                 but left in active memory) if idle for this long (in seconds),

                 and all sessions found in the Store will be loaded on startup.

                 If set to -1 sessions will not be backed up, 0 means they

                 should be backed up shortly after being used.

 

 

               To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,

               and minIdleBackup all to -1, saveOnRestart to false, then restart

               Catalina.

          -->

          <!--

          <Manager className="org.apache.catalina.session.PersistentManager"

              debug="0"

              saveOnRestart="true"

              maxActiveSessions="-1"

              minIdleSwap="-1"

              maxIdleSwap="-1"

              maxIdleBackup="-1">

                <Store className="org.apache.catalina.session.FileStore"/>

          </Manager>

          -->

          <Environment name="maxExemptions" type="java.lang.Integer"

 

上一页  [1] [2] [3] [4] [5]  下一页

打印本文 打印本文 关闭窗口 关闭窗口