[GeoNetwork-users] Maps not displaying

Hi there,
I'm installed GNOS but unable to get the maps to display in v2.6.3.

If you load that page with firebug open, you'll see that it tries to
load an url ending in wms?FORMAT=..., example:

http://localhost:8080/geoserver/wms?FORMAT=image%2Fgif&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=gn%3Aworld

They all fail because they point at localhost:8080.

I'd be grateful for any help.

Thanks,
Richard
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maps-not-displaying-tp6012099p6012099.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Richard

The file geonetwork/WEB-INF/config-gui.xml contains the configuration of
layers to show by default in mapviewer, you can update that file with
correct url to access the layers. See mapSearch and mapViewer sections.

Regards,
Jose GarcĂ­a

On Thu, Feb 10, 2011 at 4:26 PM, RichC <richard@anonymised.com> wrote:

Hi there,
I'm installed GNOS but unable to get the maps to display in v2.6.3.

If you load that page with firebug open, you'll see that it tries to
load an url ending in wms?FORMAT=..., example:

http://localhost:8080/geoserver/wms?FORMAT=image%2Fgif&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=gn%3Aworld

They all fail because they point at localhost:8080.

I'd be grateful for any help.

Thanks,
Richard
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Maps-not-displaying-tp6012099p6012099.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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

Thanks.

I updated the URLs in /config-gui.xml replacing 'localhost' with the GNOS
domain.

I also modified the jetty port in jetty.xml

<Call name="addConnector">
      <Arg>
          <New class="org.mortbay.jetty.nio.SelectChannelConnector">
            <Set name="host"><SystemProperty name="jetty.host"
default="localhost"/></Set>
            <Set name="port"><SystemProperty name="jetty.port"
default="8113"/></Set>

Not sure if I need to do anything else if I change the jetty port?

Rich
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maps-not-displaying-tp6012099p6012677.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.