Hi, What port of service do you suggest to use ? I am a complete newbie and please suggest on how to make a proxy.
currently authentication server runs on 6828. and GWT runs on 8888, so please suggest the change here. On Sun, Jun 28, 2009 at 12:29 PM, Marcelo Emanoel B. Diniz < marceloeman...@gmail.com> wrote: > > the problem is with the port that serves the authentication code... > SOP takes to account server and port.... you'll have to write a proxy > or change the port of the service... > > On Jun 27, 3:48 am, Surya <master...@gmail.com> wrote: > > I have tomcat server running on port 6828. I have GWT hosted mode > > running on jetty 8888. > > > > When i try to access tomcat on 6828 for spring authentication using > > the code ::::::: > > > > RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); > > builder.setHeader("Content-Type", > "application/x-www-form- > > urlencoded"); > > builder.setHeader("Expires","0"); > > > > try { > > > > builder.sendRequest(postData, this); > > } catch (RequestException e) { > > console.addMessage("Exception during > authentication " + e.getMessage > > ()); > > } > > > > I get the following exception on the builder.sendRequest > > (postData,this) line. > > > > com.google.gwt.http.client.RequestPermissionException: The > URLhttp://localhost:6828/xxxxxx/j_spring_security_checkis invalid or > > violates the same-origin security restriction > > Detailed Message : Access is denied. > > > > I am really running short of time. Some one please help me out. > > > --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@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 -~----------~----~----~----~------~----~------~--~---