WLS Console Timeout

Posted by john.graves(at)oracle.com on Oracle Blogs See other posts from Oracle Blogs or by john.graves(at)oracle.com
Published on Thu, 10 Mar 2011 08:51:16 +1100 Indexed on 2011/03/10 0:14 UTC
Read the original article Hit count: 323

Filed under:

The WebLogic console timeout is a great feature for security, yet a horrible feature during development.  Logging in over and over again gets to be annoying.  This is very easy to change, but I would never do this on a production system!

 

Find the WebLogic consoleapp weblogic.xml file.  This is typically in your WL_HOME/server/lib/consoleapp/webapp/WEB-INF/ directory.

Edit the weblogic.xml file:

Update the section shown and increase the timeout-secs.  I just throw an extra zero at the end giving me ten full hours of fun!!!:

  <session-descriptor>
    <timeout-secs>36000</timeout-secs>
    <invalidation-interval-secs>60</invalidation-interval-secs>
    <cookie-name>ADMINCONSOLESESSION</cookie-name>
    <cookie-max-age-secs>-1</cookie-max-age-secs>
    <cookie-http-only>false</cookie-http-only>
    <url-rewriting-enabled>false</url-rewriting-enabled>
  </session-descriptor>

© Oracle Blogs or respective owner