Bad XMLHTTP Incremental Refresh Response issue.

48 views
Skip to first unread message

Jerry Joy

unread,
Apr 26, 2013, 12:45:09 AM4/26/13
to AribaWeb (aribaweb.org)
Hi All,

I'm not using any client side script in my AW web application. But
sometime it shows "Bad XMLHTTP Incremental Refresh Response" error.

Can anyone help me to avoid this.


Thanks in advance,
Jerry

Thomas Abraham

unread,
Apr 26, 2013, 12:50:59 AM4/26/13
to arib...@googlegroups.com
It normally occurs when you have a connection problem with the server....



--
You received this message because you are subscribed to the Google Groups "AribaWeb (aribaweb.org)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aribaweb+u...@googlegroups.com.
To post to this group, send email to arib...@googlegroups.com.
Visit this group at http://groups.google.com/group/aribaweb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



James Sebastian

unread,
Apr 26, 2013, 12:48:01 AM4/26/13
to arib...@googlegroups.com
Dear Jerry,

Is your network in good shape ? If the network is congested (say due to virus infection or real busy network or bad wiring), the response from client side can be slow and can cause such problems.

I do not know if there is any way to improve them. May be more experienced in the list can comment on that.

Regards,
James



František Kolář

unread,
Apr 26, 2013, 2:00:08 AM4/26/13
to arib...@googlegroups.com
Hi Jerry, 

What you can do as a first thing:

1) go to AWComponentActionRequestHandler.AWResponse handleRequest (AWRequest request) and maybe put a breakpoint into the each exception in there . 
2) I think there is a exception in the rendering phase(maybe in others too). Cuz there is a javascript that is parsing incomming request and expecting specific tag from server side to come. When it missing you get this red popup. 

3) Then once you localize: Check out handleException(), handleExceptionPage in your web application class to override it and put in better exception handling and maybe show your own error page or popup. 

I hope it will help, 

Regards

František Kolář 

Jerry Joy

unread,
Apr 26, 2013, 6:31:20 AM4/26/13
to AribaWeb (aribaweb.org)
Thanks all for your Quick reply.

František, I have override 'handleException()' method in
Application.java and return the message to a ModalPageWrapper. It
works, but when I'm passing a map with clientPanel as true, message is
displayed in a white page, not in a Popup. Could you please check my
code.

Application.java
----------------------------
public AWComponent handleException(AWRequestContext requestContext,
Exception exception) {
Map pageMap =new HashMap();
pageMap.put("clientPanel",true);
pageMap.put("message", "Problem Found !");
return requestContext.pageWithName("app.MyErrorPage",pageMap);
}


MyErrorPage.awl
---------------------------
<w:ModalPageWrapper title="Error Message" preventBackTrack="$false">
<b>$message</b>
</w:ModalPageWrapper>



Regards,
Jerry





On Apr 26, 11:00 am, František Kolář <franti...@kolar.pro> wrote:
> Hi Jerry,
>
> What you can do as a first thing:
>
> 1) go to AWComponentActionRequestHandler.AWResponse handleRequest (AWRequest request) and maybe put a breakpoint into the each exception in there .
> 2) I think there is a exception in the rendering phase(maybe in others too). Cuz there is a javascript that is parsing incomming request and expecting specific tag from server side to come. When it missing you get this red popup.
>
> 3) Then once you localize: Check out handleException(), handleExceptionPage in your web application class to override it and put in better exception handling and maybe show your own error page or popup.
>
> I hope it will help,
>
> Regards
>
> František Kolář
>
> On Apr 26, 2013, at 6:48 AM, James Sebastian <james.sebast...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Dear Jerry,
>
> > Is your network in good shape ? If the network is congested (say due to virus infection or real busy network or bad wiring), the response from client side can be slow and can cause such problems.
>
> > I do not know if there is any way to improve them. May be more experienced in the list can comment on that.
>
> > Regards,
> > James
>
> > On 26 April 2013 10:15, Jerry Joy <jerryjo...@gmail.com> wrote:
> > Hi All,
>
> > I'm not using any client side script in my AW web application. But
> > sometime it shows "Bad XMLHTTP Incremental Refresh Response" error.
>
> > Can anyone help me to avoid this.
>
> > Thanks in advance,
> > Jerry
>
> > --
> > You received this message because you are subscribed to the Google Groups "AribaWeb (aribaweb.org)" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to aribaweb+u...@googlegroups.com.
> > To post to this group, send email to arib...@googlegroups.com.
> > Visit this group athttp://groups.google.com/group/aribaweb?hl=en.
> > For more options, visithttps://groups.google.com/groups/opt_out.

František Kolář

unread,
Apr 26, 2013, 9:29:01 AM4/26/13
to arib...@googlegroups.com
Hi Jerry,

So that solved the problem for the incremental refresh ?

Not talking about the popup now..

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages