ping2ravi I'm glad you came back to tell it's now working for you!
But think of all those people with the same problem you had... like
me.
Any idea?
My classes are implementing Serializable. It's working fine on my
development environment (Windows).
But now that I try an integration (Linux), I get the same exception.

Thanks,
JM


On 23 oct, 11:10, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi
>
> May we know what was causing the difference in file-names?  I am
> having a similar exception
>
> G.
>
> On Sep 22, 1:06 pm, ping2ravi <[EMAIL PROTECTED]> wrote:
>
> > i found the problem why file names were different.
> > Thanks
>
> > On Sep 22, 11:18 am, ping2ravi <[EMAIL PROTECTED]> wrote:
>
> > > Hi All,
> > > My application was working good till now and now i deployed it to
> > > other machine and it start giving me following exception. My DGUser
> > > class is implementing serializable interface.
>
> > > SEVERE: Exception while dispatching incoming RPC call
> > > com.google.gwt.user.client.rpc.SerializationException: Type
> > > 'com.dg.common.client.beans.DGUser' was not assignable to
> > > 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a
> > > custom field serializer.  For security purposes, this type will not be
> > > serialized.
> > >         at
> > > com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize(LegacySerializationPolicy.java:
> > > 140)
> > >         at
> > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
> > > 585)
> > >         at
> > > com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:
> > > 129)
> > >         at 
> > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter
> > > $ValueWriter$8.write(ServerSerializationStreamWriter.java:146)
> > >         at
> > > com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:
> > > 520)
> > >         at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573)
> > >         at
> > > com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:
> > > 441)
> > >         at
> > > com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> > > 529)
> > >         at
> > > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
> > > 163)
> > >         at
> > > com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
> > > 85)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> > >         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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> > > 233)
> > >         at
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> > > 175)
> > >         at
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> > > 128)
> > >         at
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> > > 102)
> > >         at
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> > > 109)
> > >         at
> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> > > 263)
> > >         at
> > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> > > 844)
> > >         at org.apache.coyote.http11.Http11Protocol
> > > $Http11ConnectionHandler.process(Http11Protocol.java:584)
> > >         at 
> > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> > > 447)
> > >         at java.lang.Thread.run(Thread.java:619)
>
> > > And also its giving following error in the log file, So i am guessing
> > > its because of this .gwt.rpc missing file,
> > > INFO: ERROR: The serialization policy file '/
> > > D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc' was not found; did you
> > > forget to include it in this deployment?
> > > INFO: WARNING: Failed to get the SerializationPolicy
> > > 'D96C005D9FEF0E3183DC3057D9F48727' for module 'http://localhost:8090/
> > > AdminMenu/'; a legacy, 1.3.3 compatible, serialization policy will be
> > > used.  You may experience SerializationExceptions as a result.
>
> > > I checked my deployed application directory there is only one .gwt.rpc
> > > file which is E8B2AED1667057CBC391B7AC2BFAA4E9.gwt.rpc but not
> > > D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc. I don't know how GWT is
> > > generating this file name and why its generating different names when
> > > its being actual generating the file and when its using it. And the
> > > file which is present in my deployed directory have all my beans
> > > including DgUser.
> > > There is something wrong, can any one please help me.
>
> > > Thanks in advance,
> > > Ravi

--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to