• 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

AJAX Call timout: code: 12002

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AJAX call fails and we receive http code 12002; even when session timeout is set to 0 on web.xml on following code:

We receive the the error inconsistently. i.e. somtimes within 20 minutes of accessing the JSP; sometimes 10 minutes.

We have code similar to following (part of a JSP); appreciate any pointers:


 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most people normally will have a setTimeout that is fired with an Ajax Request. If it is left open for X amount of time and it normally takes Y amount of time, then they cancel it with the abort9) method.

Eric
 
Prakas Subed
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can get the Y; that's 1000 ms as set on above code. Any pointers on how to get/set X?

Thanks,
 
reply
    Bookmark Topic Watch Topic
  • New Topic