Ajax request resubmitted every 3 mins on server side


EJB design: Ajax request resubmitted every 3 mins on server side

  1. Hi,
    We have a problem where an ajax request is re-submitted in the backgrounds, after 3 mins from the first request is processed, and it throws the below exception precisely after 3 mins:
    ####<Dec 5, 2011 11:24:41 PM GMT+00:00> <Error> <HTTP> <appServer> <trackit02> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1323127481320> <BEA-101020> <[ServletContext@486362301[app:track module:track.war path:/track spec-version:null]] Servlet failed with Exceptionjava.lang.IllegalArgumentException: Attribute name can NOT be null. at weblogic.servlet.internal.AttributesMap.checkNullName(AttributesMap.java:198) at weblogic.servlet.internal.AttributesMap.get(AttributesMap.java:94) at weblogic.servlet.internal.ServletRequestImpl.getAttribute(ServletRequestImpl.java:732) at jsp_servlet._pages._qpr.__ajaxresponse._jspService(__ajaxresponse.java:78) at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
    The processing of the requests still continue for 2-3 times, even 10 times as well, instead of executing the whole process of the request only once.
    The configuration of our app is:
    weblogic version: configurations: (Connection Pool) Initial Capacity: 1Maximum Capacity: 20Remove Infected Connections Enabled is set to true. 
    We have deployed the same app on different servers, but it works fine on some of the servers. (all have weblogic configurations).Only on some servers, it behaves in this way. Normally it takes 7 seconds to complete the request and return the response.
    We suspect this is related to server configurations,like params of JDBC/JNDI/whatsoever which specifies to retry the request exactly after 3 mins.Can any one let me know why the request is re-submitted and the whole process starts again exactly after 3 mins?
    Thanks in Advance....

  2. Hi, 

    It's under a wrong section here: EJB Design. Not sure how to edit the section heading. This can be under java/server side forum. Do let me know if any one has any solution/suggestion for this issue.