• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Timeout in WAR file.

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have developed a war file and deployed in IBM Websphere , its working fine now . Due to some huge file its taking more than 2 minutes without timeout , My client suggest us to set timeout after 15 seconds .
Kindly let i know where i need to set timeout after 15 seconds for a individual war file application .

Thanks for your understanding,
Subbu.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of timeout are you talking about? One that stops the deployment process if it takes more than a certain amount of time?
 
balaji subbu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:What kind of timeout are you talking about? One that stops the deployment process if it takes more than a certain amount of time?




Hi jai thanks for your repy,

I need to set session timeout (15 seconds) for individual application which have deployed in websphere as WAR file.
 
balaji subbu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Deployment have done successfully , My application get huge data's form third-party server on that time its taking more than 1 or 2 minutes to fetch data , Now here I need to set session timeout 15 seconds only to wait .
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

balaji subbu wrote:[

I need to set session timeout (15 seconds) for individual application which have deployed in websphere as WAR file.


Web application session timeout can be set in the web.xml of that application. Here's an example:



Take a look at the xsd/dtd of web.xml for more details.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By the way, I read your post again. Do you really want to set it to 15 seconds? That is a very low value and isn't allowed. The session-timeout value is expressed in minutes so a minimum of 1 minute is allowed.
 
balaji subbu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ho yes , thanks for your valuable information, i have update my web.xml session tag to one minutes . Will check with client for seconds.

Thanks jai
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

balaji subbu wrote: My application get huge data's form third-party server on that time its taking more than 1 or 2 minutes to fetch data , Now here I need to set session timeout 15 seconds only to wait .


You should also be aware that the session timeout value signifies the amount of time the session has been inactive/unused after which it will be destroyed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic