• 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

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic