Friday, April 22, 2011

How to on "Weblogic Admin Console Timeout"

I was just going through the Oracle Weblogic documentation and I came across one interesting thing about WebLogic console where after a time interval on the Weblogic Admin Console will cause user session timeout and will fall back at the login screen. It is possible to short or increase this session timeout for a user session on Admin Console. And at-last I came to know about the location of WebLogic Admin Console application.
To short or increase the Admin Console session timeout, just go through the post.

You can find the console application at the below location
<WEBLOGIC_HOME>\server\lib\consoleapp

Now change your directory location to <WEBLOGIC_HOME>/server/lib/consoleapp/webapp/WEB-INF and you will find a weblogic.xml

Look for a session param tag with param-name as "
InvalidationIntervalSecs" & "TimeoutSecs"
Default Values   
    <session-param>
      <param-name>InvalidationIntervalSecs</param-name>
      <param-value>60</param-value>
    </session-param>
    <session-param>
      <param-name>TimeoutSecs</param-name>
      <param-value>3600</param-value>
    </session-param>
    <session-param>
      <param-name>CookieName</param-name>
      <param-value>ADMINCONSOLESESSION</param-value>
    </session-param>

Change the value for
TimeoutSecs and the InvalidationIntervalSecs as per your choice and restart the Weblogic Admin Server.

Wait for the configured time and you notice the user session on Admin console will be timedout and you will be forced to login again.

No comments: