From: andrew_lau <andrewlauw...@gmail.com>
Date: Tue, 23 Dec 2008 19:46:14 -0800 (PST)
Local: Tues, Dec 23 2008 10:46 pm
Subject: Re: same-origin security restriction
I got this worked out using apache's reverse proxy module.
Workstation --> apache proxy ---> (rpc call?)
Basically, you just need to set up mod_proxy like this:
===============
ProxyPass /mywebmodule/gwt-rpc-service http://ejbserver.com/mywebmodule/gwt-rpc-service
ProxyPass /com.mygwtapp.UIModule http://192.168.2.2:8888/com.mygwtapp.UIModule
================
Please note that 192.168.2.2 is my workstation where I develop the
This way, it is "clean", the proxy server separate the calls for you.
Here is my hosted mode batch file:
On Nov 25, 4:12 pm, Brian <hibr...@gmail.com> wrote:
> Created issue 3131: (and 13's my lucky number... so close sorta..)
> http://code.google.com/p/google-web-toolkit/issues/detail?id=3131
> Please star it :-)
> On Nov 24, 11:13 am, Brian <hibr...@gmail.com> wrote:
> > How did I miss this thread? Is there an issue open already for this,
> > I'm still using 1.5.2 for dev, as it's the fastest way to iterate on a
> > Anyway, no, it doesn't cause more problems when deploying. You find
> > On Nov 24, 11:02 am, Jason Essington <jason.essing...@gmail.com>
> > > Actually, allowing Hosted mode to violate SOP would lead to even more
> > > The idea with hosted mode is that it mirrors an actual browser as
> > > If you have a situation were you need to connect to a serve that is
> > > I have a JEE backend, and even I have to use -noserver. In fact, I
> > > -jason
> > > On Nov 21, 2008, at 2:23 PM, jpnet wrote:
> > > > This is not a feature! Please fix this. Allow us developers to
> > > > -JP
> > > > On Nov 19, 7:33 pm, Sumit Chandel <sumitchan...@google.com> wrote:
> > > >> The issue you ran into is not actually a bug but an improvement in
> > > >> Basically, the remote data you are fetching is indeed violating the
> > > >> The two ways to enable cross-site communication would be to use -
> > > >>http://groups.google.com/group/Google-Web-Toolkit/browse_thread/
> > > >> Hope that helps,
> > > >> On Thu, Nov 13, 2008 at 5:05 PM, Danny <da...@xrio.co.uk> wrote:
> > > >>> Just thought I'd post an update...
> > > >>> I downgraded from 1.5.3 to 1.5.2 and its now working so I guess this
> > > >>> Regards,
> > > >>> On Nov 14, 12:40 am, Danny <da...@xrio.co.uk> wrote:
> > > >>>> I finally got round to making my app run in 1.5 and all is looking
> > > >>>> I'm getting a weird error in 1.5, if I switch back to 1.4 it works
> > > >>>> The URLhttp://x.x.x.x/yyyy.zzzisinvalidorviolatesthe same-origin
> > > >>>> I've enabled cross-brower communication in Internet Explorer and
> > > >>>> Can anyone shed any light on this?
> > > >>>> Many thanks,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||