aspose file tools*
The moose likes Websphere and the fly likes Timeout in WAR file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Timeout in WAR file." Watch "Timeout in WAR file." New topic
Author

Timeout in WAR file.

balaji subbu
Greenhorn

Joined: Nov 14, 2011
Posts: 11
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.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

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

[My Blog] [JavaRanch Journal]
balaji subbu
Greenhorn

Joined: Nov 14, 2011
Posts: 11
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

Joined: Nov 14, 2011
Posts: 11
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
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

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
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

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

Joined: Nov 14, 2011
Posts: 11
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
Marshal

Joined: Jul 20, 2005
Posts: 9318
    
109

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timeout in WAR file.
 
Similar Threads
Sun Server, MDB and timer service: timeout always called in single thread?
How to catch EJB Transaction Timeout?
commandAction - newbie
Mainframe client
Error deserializing Object