• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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,
 
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic