Hi all,
We have an application that makes the GWC RPC call to the Service to
get the needed values. It is working fine for 10 to 15 times and after
that it is throwing the following exception:

com.google.gwt.user.client.rpc.StatusCodeException:
        at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
192)
        at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
        at com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:393)
        at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
        at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
        at
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
1713)
        at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
165)
        at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
120)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
507)
        at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
264)
        at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
        at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
        at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
        at
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:
1668)
        at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
401)
        at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
        at java.lang.Thread.run(Thread.java:619)


When this exception happens, I see that it was never submitted to the
server. I see that the status code recieved at
RequestCallbackAdapter.onResponseReceived() method (at statement:  int
statusCode = response.getStatusCode();) is 413. I googled and found
the following information for this specific status code:


SC_REQUEST_ENTITY_TOO_LARGE     Status code (413) indicating that the
server is refusing to process the request because the request entity
is larger than the server is willing or able to process


The same call worked fine initially and after few calls it did throw
this exception.

any thoughts? is this a bug in GWT?

Thanks in advance.

-Shivender

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to