« Return to Thread: Cannot adjust jetty timeout value.

Re: Cannot adjust jetty timeout value.

by Stephen Davidson-3 :: Rate this Message:

Reply to Author | View in Thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Colin Canfield wrote:
| Hello,
|    I am trying to adjust the amount of time that Jetty keeps a session
| alive before timing it out. For the application I am using I want to set
| it to around 30 seconds (it has a custom client that polls far more
| often than that). I have done what I think is the correct setting but
| the timeout still takes around 10 minutes.
|
|    sslConnect.setMaxIdleTime(30000);
|
|    I am using jetty6.1.7 as an embedded web server. Any help would be
| greatly appreciated!
|
| Colin
|
Hi Colin.

There is a session-timeout element in webdefault.xml that you might need
to have a look at.

- -Steve

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIKt21SphIUSiVzgYRAl6vAJ9/OD98VElVEfwMO8YRG+9Esv46YACg7AZM
m73p7gEVgOVtCJVmZXtEq6Q=
=BlaG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Cannot adjust jetty timeout value.