On Sep 10, 10:41 pm, Simon Eichenauer <[EMAIL PROTECTED]> wrote:
> Yes, I do, why?

Because I think you have a serialization problem. The *.rpc files are
needed for serialization and must be reachable by your servlets. Make
sure that the webapp's directory structure matches the one in Apache's
webroot.

Tomcat:
webapp/mymodule/*.rpc
webapp/WEB-INF/classes/here/be/servlets

Apache:
webroot/contextpath/mymodule/MyModule.nocache.js
webroot/contextpath/mymodule/*.cache.*

(I assume you're using Apache to serve the static files. You could
also put all files into your webapp and use Apache's mod_cache. This
is a bit cleaner, I think.)


> On 10 Sep., 21:17, Folke <[EMAIL PROTECTED]> wrote:
>
> > Do you have the *.rpc files in the webapp's directory?
>
> > On Sep 10, 4:26 pm, Simon Eichenauer <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I have a GWT application that is working fine when it can connect
> > > directly to tomcat.
> > > Now I wanted to put tomcat behind apache. I configured apache so that
> > > it sends messages
> > > via ajp to tomcat. Unfortunately this way most types of rpc calls from
> > > the GWT clients fail.
> > > I have one rpc call that receives a boolean from the server and it
> > > works well. But another one
> > > expects a class instance (simple bean with three string variables) and
> > > it just doesn't work.
>
> > > Since without apache + ajp everything works fine I'm suspecting ajp to
> > > fiddle somehow
> > > with the response data, but I can't imagine how.
>
> > > Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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