GWT trunk with seam remoting
sandlee Aug 5, 2009 1:01 PMHi,
I'm using seam 2.2.0-SNAPSHOT and GWT. After an update from gwt 1.7.0 to gwt trunk the rpc-services stopped working.
With firebug I detected following changes in the request:
GWT 1.7
5|0|9|http://localhost:8080/app/|2594AA6F8ACFB5FFC873F691152D8CC4|com.app.rpcservice.AccountService|login|com.app.service.RequestData|java.lang.String|com.app.service.RequestData/1989346888|user@mail.com|password|1|2|3|4|3|5|6|6|7|8|9|
GWT 2.0-SNAPSHOT
5|0|8|http://localhost:8080/app/|1654D9B0A3B9AD20B92747282FCC1038|com.app.rpcservice.AccountService|login|com.app.service.RequestData/1989346888|java.lang.String/2004016611|user@mail.com|password|1|2|3|4|3|5|6|6|5|7|8|
The change at com.app.service.RequestData/1989346888 throws the following excecption in the AS:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'ch.pomop.app.service.model.RequestData/1989346888' at org.jboss.seam.remoting.gwt.GWTService.RPC_decodeRequest(GWTService.java:426) at org.jboss.seam.remoting.gwt.GWTService.processCall(GWTService.java:203) at org.jboss.seam.remoting.gwt.GWTService$1.process(GWTService.java:120) at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53) at org.jboss.seam.remoting.gwt.GWTService.getResource(GWTService.java:105) at org.jboss.seam.servlet.SeamResourceServlet.service(SeamResourceServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) --- skipped -- Caused by: java.lang.ClassNotFoundException: com.app.service.RequestData/1989346888 at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.jboss.seam.remoting.gwt.GWTService.RPC_getClassFromSerializedName(GWTService.java:479) at org.jboss.seam.remoting.gwt.GWTService.RPC_decodeRequest(GWTService.java:422)
should I report this to jira?
best regards,
Sand Lee