Check this out,
http://raibledesigns.com/rd/entry/how_to_do_cross_domain#proxyServlet
<http://raibledesigns.com/rd/entry/how_to_do_cross_domain#proxyServlet>hope
that this will help you.
you cannot cross domain AJAX calls ==> http/rpc requests, i wasn't pointing
to the static content like html/images/css

On Wed, Mar 10, 2010 at 4:43 PM, jbroquefere <
jeanbaptiste.roquef...@gmail.com> wrote:

> yes, but this step works fine i said :)
>
> in tomcat
> http://mydomain:8080/MyApp/
>
> with jkmount
> http://mydomain/MyApp/   -> this one works fine
>
> after this step, i want to ise apache url rewriting to access my site
> directly with
> http://mydomain/
>
> the Myapp.html is found, because widgets are displayed, but RPC
> failed.
>
>
> On Mar 10, 3:39 pm, rudolf michael <roud...@gmail.com> wrote:
> > http://mydomain:8080/MyApp/is NOT the same ashttp://mydomain/MyApp/
> > <http://mydomain/MyApp/>those are 2 different domains.
> >
> > On Wed, Mar 10, 2010 at 3:34 PM, jbroquefere <
> >
> >
> >
> > jeanbaptiste.roquef...@gmail.com> wrote:
> > > in my configuration, domain is the same
> >
> > > in tomcat
> > >http://mydomain:8080/MyApp/
> >
> > > with jkmount
> > >http://mydomain/MyApp/
> >
> > > and the last step which doesnt work
> > >http://mydomain/
> >
> > > the html file is found, but the first call to the service failed.
> >
> > > On Mar 10, 1:41 pm, rudolf michael <roud...@gmail.com> wrote:
> > > > you need to know that GWT/ajax does not allow cross domain
> communication.
> >
> > > > Apparently you have a security problem with cross domain
> communication.
> >
> > > > On Wed, Mar 10, 2010 at 2:34 PM, jbroquefere <
> >
> > > > jeanbaptiste.roquef...@gmail.com> wrote:
> > > > > Hello everybody,
> > > > > i have to publish my gwt app under jkmount + url rewriting.
> >
> > > > > Just under jkmount, everything works fine
> > > > > but when i use url rewriting, it does not work.
> > > > > I have thie error (on my tomcat console):
> > > > > com.google.gwt.user.client.rpc.SerializationException: Type
> > > > > 'com.my.comp.MyObject' 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.: instance = enterprise
> >
> > > > > MyObj is a simple enum, and i repeat everythings works fine under
> > > > > tomcat, then under apache+jkmount (which redirect to apache), but
> it
> > > > > doesnt work with url rewriting.
> >
> > > > > Is there a way to make it working fine?
> >
> > > > > Regards,
> >
> > > > > Jean-Baptiste Roquefère
> >
> > > > > --
> > > > > 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-tool...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com><google-web-toolkit%2Bunsubs
> > > cr...@googlegroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > > --
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@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