The moose likes JBoss and the fly likes how can I specify no session timeout? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "how can I specify no session timeout?" Watch "how can I specify no session timeout?" New topic
Author

how can I specify no session timeout?

Aaron Ehrensberger
Greenhorn

Joined: Jun 22, 2004
Posts: 7
Hi,

I'd like to create a little application that does not support any timeout whatsoever. I've already changed the web.xml file in the http-invoker.sar/WEB-INF directory to show a session-timeout value of -1. I've also changed the web.xml file in jbossweb-tomcat41.sar to show a session-timeout value of -1.

My app will eventually throw me back a session timeout page, which makes me think that the app is still accepting requests from my page, but the page times out. Could a EJB be timing out somewhere? Servlet? Still the web server part?

Thoughts? What do I set to have the app never time out?

Thanks in advance.

Aaron
Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
My understanding is that it needs too be in the web.xml of the actual war you are deploying, not in the services.

This should help. (http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017275)

Let me know how if that helps, and have an excellent day!

--Jeff


It's almost Friday
Aaron Ehrensberger
Greenhorn

Joined: Jun 22, 2004
Posts: 7
Thanks for the lead. Unfortunately, that article referred to weblogic and I'm using jboss in this instance. Any ideas for jboss? I'll keep looking to try to map this article to jboss's config.

Aaron
Jeff Shelley
Ranch Hand

Joined: May 21, 2003
Posts: 70
Sorry. I should have disclaimered that. that url is for any web.xml. It's just a dtd reference that I found useful from time to time, even though I too use jboss.
I guess the point I was trying to make is that the configuration you're needint to make is in web.xml of the app you are deploying, not the services that come with jboss.
Aaron Ehrensberger
Greenhorn

Joined: Jun 22, 2004
Posts: 7
Thanks a lot Jeff. It did the trick!

Aaron
 
IntelliJ Java IDE
 
subject: how can I specify no session timeout?
 
Threads others viewed
Session timeout problem
Handling session timeout
Tomcat Session Timeout
session timeout not working
how can I specify no session timeout
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture