File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat manager "Expire sessions" button

 
Aaron Wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 6.0.20

I see Tomcat manager has the "Expire sessions" (with idle ≥) button for /docs, /examples, /host-manager and /manager, but that button is not available for my own app., what do I need to configure for it to show up for my app.?

Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is your app deployed?

Manager always show any new app I install.

Bill
 
Aaron Wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,

My app was deployed as a WAR file.

Tomcat manager does show my app., just doesn't show the "Expire sessions" button. Any idea how to get it to show up?
I read http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html, it's might be the way to do it but not sure the exact syntax, any examples?
2010-10-18_1524.png
tomcat manager
[Thumbnail for 2010-10-18_1524.png]
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your web.xml look like? Do you have a session-timeout configured in your web.xml?
 
Aaron Wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is in the application's web.xml:
 
Aaron Wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Turns out if I have the applicaton context defined in Tomcat's server.xml, that button won't show up.

If I move the context into tomcat6\conf\Catalina\localhost\jira.xml, then the button shows.

Mystery solved.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic