On Wed, May 4, 2011 at 9:35 PM, Konstantin Kolinko
<knst.koli...@gmail.com> wrote:
> 2011/5/4 Jakub Królikowski <ja...@pakamera.com.pl>:
>> Chris,
>>
>> I checked sources, HTMLManagerServlet.java is the answer.
>> Button "expire" is showing only if application is deployed, it's
>> hidden when app is configured with servlet.xml.
>> Does anybody knows why?
>
> Just a bug. Please file it in Bugzilla.

Ok!

>
> There is no "Undeploy" button in this case, so maybe the expire one
> followed the suit, or maybe just oversight.
>
> Deploying an app by adding it to server.xml is a rare and
> non-recommended use case. Why you cannot put them into
> conf/www.myapp.pl/ROOT.xml
> conf/www.myapp.pl/manager.xml
> respectively ?

Thank you for that hint, you're right, it's better way of configuration.
And with this "expire" button show up!

>
>>
>> Why I want to expire sessions? Well, actually I need it only for
>> performance tests.
>
> The command is still there, if you know what URL to invoke. Though you
> might want to silence the CsrfPreventionFilter -- see its init-param
> named "entryPoints".
>
>> I'm testing application with JMeter, creating a lot
>> of sessions. When I want to stop test and run the next one - sessions
>> from first test are still there. I would like to expire them if
>> they're idle more than 10 minutes.
>
> Maybe you want to change the value for <session-timeout> in your
> web-app's web.xml (or the default one in conf/web.xml)?

No, better not.

>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to