From: Jon B. <jon...@go...> - 2011-06-28 12:56:37
|
Never mind, I've found the problem. In hosted mode I had to point OpenLayers to my proxy at "../gwtOpenLayersProxy" which doesn't work when compiled. I've switched to using GWT.getModuleBaseURL() instead. Thanks, Jon On Jun 27, 2011 4:23 PM, "Weber, Stefan Hagen" < ste...@si...> wrote: > Hi Jon, > > add the the following line to catalina.bat (or .sh), it is in the bin folder, > > set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxyHost=yourproxyhost -Dhttp.proxyPort=yourproxyport" > > But you only need this if you're behind a firewall. That's why I said 'maybe ...'. Otherwise I'm afraid more details are needed. > > Stefan > > ________________________________ > Von: man...@go... [mailto: man...@go...] Im Auftrag von Jon Britton > Gesendet: Montag, 27. Juni 2011 16:27 > An: Weber, Stefan Hagen > Cc: gwt-openlayers-users > Betreff: Re: [Gwt-openlayers-users] WFS layers not working in compiled app > > Hi Stefan, > > Sorry if this is a silly request - but could you suggest where I might find these settings? I've never had to mess around with this stuff before! > > Thanks! > > Jon > > On 27 June 2011 15:12, Weber, Stefan Hagen <ste...@si... <mailto:ste...@si...>> wrote: > Hi Jon, > > maybe you have to set some proxy settings in Tomcat? > > Stefan > > ________________________________ > Von: Jon Britton [mailto:jon...@go...<mailto: jon...@go...>] > Gesendet: Montag, 27. Juni 2011 16:05 > An: gwt-openlayers-users > Betreff: [Gwt-openlayers-users] WFS layers not working in compiled app > > Hi, > > I'm having trouble displaying WFS layers in my gwt-openlayers app. Everything works fine in DevMode, but when I compile and deploy in Tomcat the layers don't display. > > Has anybody come across this problem before? > > Thanks, > > Jon > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li...<mailto: Gwt...@li...> > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |