GlassFish tip - Change the admin console timeout value

This blog has moved to alexismp.wordpress.com
Follow the link for the most up-to-date version of this blog entry.

The default timeout value for the Web Admin Console of GlassFish v2 is set to 60 minutes by default.
If you want to change this (some people find it annoying to be disconnect too often and other find one hour to be too long), you can either emit this asadmin command:

% asadmin set server.admin-service.das-config.admin-session-timeout-in-minutes= ...

...or modify the value of <das-config admin-session-timeout-in-minutes="60" ... in the domain.xml config file (editing XML by hand isn't a really good idea).
Make sure you restart your browser for this to take effect (thanks Kedar).
The documentation for this feature is here.

Previous GlassFish tips are here.

Comments:

Post a Comment:
Comments are closed for this entry.
About

This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected

Search

Archives
« août 2015
lun.mar.mer.jeu.ven.sam.dim.
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today
Blogroll

No bookmarks in folder

News

No bookmarks in folder