Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Timeout in WAR file.

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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.
 
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!