Bad news, apparently half of the patch I submitted never made it in. hessian 4.0.3 is broken on GAE - and even worse, it only shows up on the live server.
If you feel daring, apply this two-line patch to Resin trunk and run "ant". The hessian.jar built into /lib works for me. With any luck this will finally be working in hessian 4.0.4... Jeff Index: modules/hessian/src/com/caucho/hessian/io/ContextSerializerFactory.java =================================================================== --- modules/hessian/src/com/caucho/hessian/io/ContextSerializerFactory.java (revision 6698) +++ modules/hessian/src/com/caucho/hessian/io/ContextSerializerFactory.java (working copy) @@ -321,6 +321,10 @@ HashMap<Class,Class> classMap, Class type) { + // On GAE, the call to getSystemClassLoader() will fail and this will be null + if (getClassLoader() == null) + return; + try { Enumeration iter; On Fri, Jan 29, 2010 at 12:26 PM, Jeff Schnitzer <j...@infohazard.org> wrote: > The fix went into version 4.0.3, which is actually available for > download but the link is missing from the download page. I told > Caucho about the problem, but in the mean time here's a (manually > constructed) download link: > > http://caucho.com/download/hessian-4.0.3.jar > > I notice that the code has changed a bit since I submitted my patch > but my initial tests show that it works with appengine. I'm updating > the jar of my production system now and I'll scream if it doesn't > work. > > At any rate, this version should work according to the docs. Here's a > very simple appengine test project that makes a hessian call to a > hessian service: > > http://scratchmonkey.googlecode.com/svn/appengine/hessian > > Jeff > > On Fri, Jan 29, 2010 at 8:48 AM, Pravesh <pravesh.ve...@gmail.com> wrote: >> Hi Jeff, >> >> First of all thanks a lot for your reply. I tried looking into the >> Hessian but I am still confused on one point that how can I use the >> Hessian Client on Google App Engine. Is their any kind of document or >> pointer which can help me in understanding how I can use Hessian with >> Google Data Store. >> >> Please note that my basic and only requirement is to expose the data >> which is in Google data Store to a 3rd party tools. I tried creating a >> webservice but it gives me a build error saying that Google run time >> will give me error. >> >> Please let me know how I can use Hessian with Google App engine in >> that case. >> >> If you need any further information on this, please let me know. >> >> Thanks and Regards >> Pravesh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to google-appengine-j...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine-java+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.