• 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

REquest resubmit in 30 minutes - WSACE (websphere community edition )

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is:

My application is struts 1.2 web application working under webspehere appilcation server comunity edition2.1

my request has the process of 50 minutes but the duplicate request submit is happening in 30 minutes . I wanted to stop this. how to do ?

for example :

I have index.jsp used the code to run the application more than 30 minutes by adding thread.sleep(10000) inside for loop which executes more than 1000 times.

i made the loop such a way to execute the index.jsp more than 30 minutes.

but the server automatically reloads the index.jsp file after 30 minutes .. in my code level i dont have any code to reload the page.

is there any setting in server(WASCE) level
author & internet detective
Posts: 40035
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
30-50 minutes isn't a synchronous process. You should use a queue (and possibly a Timer depending on your requirements.) You should not call Thread.sleep() in a web application.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic