change to GenericDrugNameDto implements Serializable or
GenericDrugNameDto implements IsSerializable

I believe that will work fine... try ;)

On 17 set, 06:20, Sanju <sanjeev...@gmail.com> wrote:
> Hi, my application works fine in hosted mode but when deployed on the
> web giving following errors. Can any one please suggest on how to
> overcome the same?
>
> Sep 17, 2009 2:39:13 PM org.apache.catalina.core.ApplicationContext
> log
> SEVERE: drugsServiceImpl: An IncompatibleRemoteServiceException was
> thrown while processing this call.
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Type 'com.aadhyah.base.client.dto.GenericDrugNameDto' 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 deserialized.
>         at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:298)
>         at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
> (RemoteServiceServlet.java:164)
>         at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
> (RemoteServiceServlet.java:86)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         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:191)
>         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:286)
>         at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:845)
>         at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> 447)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
> 'com.aadhyah.base.client.dto.GenericDrugNameDto' 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
> deserialized.
>         at
> com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateDeserialize
> (LegacySerializationPolicy.java:123)
>         at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize
> (ServerSerializationStreamReader.java:490)
>         at
> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject
> (AbstractSerializationStreamReader.java:61)
>         at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader
> $ValueReader$8.readValue(ServerSerializationStreamReader.java:131)
>         at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue
> (ServerSerializationStreamReader.java:372)
>         at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:287)
>         ... 16 more
--~--~---------~--~----~------------~-------~--~----~
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 
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