Export to GitHub

struts2gwtplugin - issue #2

RPC Exception using Struts2 (2.0.8) and GWT 1.4 RC1


Posted on Jun 26, 2007 by Massive Dog

What steps will reproduce the problem? 1. Run the example using GWT 1.4 RC1 2. 3.

What is the expected output? What do you see instead?

Expected to see "Hi There!" but get RPC InvocationException instead

What version of the product are you using? On what operating system? .1 BETA1

Please provide any additional information below.

Using the following:

Tomcat 5.5.23 GWT 1.4.10 Struts 2.0.8

Comment #1

Posted on Jun 26, 2007 by Massive Dog

So after a quick glance at the source code my hypothesis is that this is an incompatibility with GWT 1.4.10. With the new RPC architecture GWTServlet (the modified RemoteServiceServlet)heh is no longer compatible.

Comment #2

Posted on Jun 29, 2007 by Massive Dog

The change in the RPC mechanism was the culprit, it had changed significantly from GWT 1.2 which was originally used. Code is updated to extend RemoteServiceServlet and override processCall() as Google intends now. Patch is attached.

Attachments

Status: Fixed

Labels:
Type-Defect Priority-Medium