Hi,

Please use the hibernate4gwt forum : you will receive more help there
than here ;-)
About your issue, I made some improvements on 'dynamic proxy' mode, so
can you test the latest version from SVN (branch '1.1') and tell me
(on h4gwt forum) if it solves your issue...

Regards
Bruno
author of hibernate4gwt

On 23 oct, 08:34, Akhil <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using hibernate4gwt to avoid serialization problems of hibernate
> generated sets and other collections .
>
> My code seems to work properly in hosted mode but when running on
> tomact i am getting the following exception when passing objects from
> server to client side
>
> com.google.gwt.user.client.rpc.SerializationException: Type
> 'com.bashpole.vo.Address_h4gwt15' was not included in the set of types
> which can be serialized by this SerializationPolicy or its Class
> object could not be loaded. For security purposes, this type will not
> be serialized.
>         at
> com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize(StandardSerializationPolicy.java:
> 83)
>         at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:
> 581)
>         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.RPCCopy_GWT15.encodeResponse(RPCCopy_GWT15.java:
> 597)
>         at
> com.google.gwt.user.server.rpc.RPCCopy_GWT15.encodeResponseForSuccess(RPCCopy_GWT15.java:
> 429)
>         at
> com.google.gwt.user.server.rpc.RPCCopy.encodeResponseForSuccess(RPCCopy.java:
> 156)
>         at
> net.sf.hibernate4gwt.gwt.HibernateRemoteService.processCall(HibernateRemoteService.java:
> 174)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:
> 86)
>         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:
> 269)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
> 188)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 174)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 117)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 108)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 174)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 874)
>         at org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
> 665)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
> 528)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
> 81)
>         at org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(ThreadPool.java:689)
>         at java.lang.Thread.run(Unknown Source)
>
> I am using GWT 1.5 and using the dynamic proxy mode of hibernate4gwt .
> Everything seems to work as expected in hosted mode.
> I am using GWT.create for all the Value objects on Client side . and
> on server side i am using setBeanManager for all RPC servlets as
> described in hibernate4gwt documentation
>
> Thanks
> Akhil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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