[Geoserver-users] Connecting with OpenLayers

Hey there Phil,
Thanks for this advice, much appreciated:
On 31/07/2014 17:07 PM, Phil Scadden <p.scadden@anonymised.com> wrote:

The geoserver install brings in its own version of OL.
data_dir/www/openlayers I think.
You can always open the preview, show source and track down where it is
loading stuff. The browser console should any errors.

Yep, so I can see that the preview page is calling for the inclusion of assets from localhost: http://127.0.0.1:8080/geoserver/openlayers/theme/default/style.css

Which is never going to work.
Problem is...where is this configured? Where would I go to tell GeoServer how to find the OpenLayers assets?
My grepping is atrocious...guess I'll start pecking through the config files to see if I can find it.
Thanks in advance for any clues!

--
John Brisbin
Managing Director, BoaB interactive Pty Ltd
POB 248, MT Molloy QLD 4871

E: john@anonymised.com
M: 0407 471 565 | P: 07 4094 2172
Skype: boabjohn | Twitter: @boabjohn

Which is never going to work.
Problem is...where is this configured? Where would I go to tell
GeoServer how to find the OpenLayers assets?

The OL that comes with Geoserver is really just there to support Layer preview. It isnt used for anything else. For your own applications, you would point to your own version of OL on your application server (which would typically be a completely different server to the one geoserver is running on). In my opinion, you want your own version of OL, where you use the OL custom build tools to bring in only what you need and where you can patch as required.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.