• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
session timeouts in servlet deployment (true WAR)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

session timeouts in servlet deployment (true WAR)


  • Subject: session timeouts in servlet deployment (true WAR)
  • From: Benjamin J Doherty <email@hidden>
  • Date: Sun, 21 Nov 2004 11:52:42 -0600

Friends,

I am encountering a strange problem with session timeouts in a D2JC application that I have deployed as a servlet.

My Properties file for the application has this defined:

WOSessionTimeOut=86400

The web.xml file for the servlet contains this, which is part of the default set up by WebObjects and Xcode when you first tell it you want a servlet deployment:

  <!-- Session timeout in minutes. This is for both JSP/Servlet and
       WOSessions. Note this overrides the WebObjects session timeout.
       Uncomment the session-config block to use.
  -->
  <!--
  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>
  -->

But the point is that all this IS commented out in my deployed application. Shall I un-comment it and set my session-time out here instead? Do servlet deployments ignore the Properties file? I was under the belief that the Properties file was where these things should be set for deployed applications, because command line parameters don't necessarily mean anything in servlets, but maybe this is not true for servlet deployments.

My question is: WHERE and HOW do I set run-time properties for servlet deployed applications? Did I miss a chapter in some book that tells me the truth about this? Just tell me. I've done all this JBoss figuring-out through guess and success (which is a way of saying trial and error without so much trial).

FWIW: WebObjects 5.2.2 and JBoss 3.2.5 on FreeBSD

Cheers,

Benjamin J Doherty
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: session timeouts in servlet deployment (true WAR)
      • From: Hsu <email@hidden>
  • Prev by Date: Editing Context lock/unlock question
  • Next by Date: Re: Editing Context lock/unlock question
  • Previous by thread: Re: Editing Context lock/unlock question
  • Next by thread: Re: session timeouts in servlet deployment (true WAR)
  • Index(es):
    • Date
    • Thread