Hi all,
I am trying to install a fresh geonetwork version 2.10 on our test server running in tomcat 7. We already have previous installations running (version 1.4.2) in the same tomcat as well as our geoserver.
The installation seemed to run fine but when I visit the home page (widget mode) I cannot see the map in the "where" widget. Looking at the console in Chrome developer tools shows app-mini.js throws many not found errors when it tries to get something like
http://localhost:8080/geoserver/wms?SERVICE=WMS&LAYERS=gn%3Aworld&TRANSPARE…=GetMap&STYLES=&SRS=EPSG%3A4326&BBOX=\-180,\-90,180,270&WIDTH=256&HEIGHT=256
Why is it trying to look at localhost when I have deployed it on a server with a different name? (crow.niwa.co.nz) My geoserver works when I visit crow.niwa.co.nz:8080/geoserver (sorry this is behind the firewall so you cannot see it)
Where can I change this configuration? I have searched the forum and it mentioned somewhere like in config-gui.xml, but that didn't work either.
Thanks for your help.
Cheers.
Kind Regards,
Petula Lau
Software Developer
NIWA
--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
Hi,
if the map is configured with WMC (which is probably the case),
https://github.com/geonetwork/core-geonetwork/blob/develop/web-client/src/main/resources/apps/search/js/map/Settings.js#L61
then update it in the maps folder:
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/maps/geoserver_localhost.wmc
Cheers.
Francois
2013/8/5 Petula Lau <Petula.Lau@anonymised.com>:
Hi all,
I am trying to install a fresh geonetwork version 2.10 on our test server running in tomcat 7. We already have previous installations running (version 1.4.2) in the same tomcat as well as our geoserver.
The installation seemed to run fine but when I visit the home page (widget mode) I cannot see the map in the "where" widget. Looking at the console in Chrome developer tools shows app-mini.js throws many not found errors when it tries to get something like
http://localhost:8080/geoserver/wms?SERVICE=WMS&LAYERS=gn%3Aworld&TRANSPARE…=GetMap&STYLES=&SRS=EPSG%3A4326&BBOX=\-180,\-90,180,270&WIDTH=256&HEIGHT=256
Why is it trying to look at localhost when I have deployed it on a server with a different name? (crow.niwa.co.nz) My geoserver works when I visit crow.niwa.co.nz:8080/geoserver (sorry this is behind the firewall so you cannot see it)
Where can I change this configuration? I have searched the forum and it mentioned somewhere like in config-gui.xml, but that didn't work either.
Thanks for your help.
Cheers.
Kind Regards,
Petula Lau
Software Developer
NIWA
--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork