Dear Geonetwork users/developers,
I have recently installed a test version of Geonetwork (modified Beta5
version of GeoNetwork V2.2.0 for BlueNet project
in Australia) on our UNIX machine and I am having problems getting maps to
display in the map viewer.
I am running the same version of geonetwork on my windows PC and I have no
problems
so it could be something to do with my configuation on UNIX.
When I attempt to display map layers from other Web map servers I get the
message:
'The requested operation could not be performed'
When I attempt to display a map from a metadata record by clicking the
'Interactive map' button or a link in the
metadata record the message is:
'www.metoc.gov.auUnknownHostExceptionenmap.addServices.embedded'
Here is the log of errors in the from the file intermap.log:
2008-05-16 09:58:42,133 DEBUG [intermap.wms] - Sending getCapabilities
request tohttp://www.ngdc.noaa.gov/eog/maps/cgi-bin/public/ms/poster
2008-05-16 09:58:42,143 ERROR [jeeves.service] - Exception when executing
service
2008-05-16 09:58:42,143 ERROR [jeeves.service] - (C) Exc :
OperationAbortedEx : connect
2008-05-16 09:58:42,145 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="operation-aborted">
<message>connect</message>
<class>OperationAbortedEx</class>
<stack>
<at class="org.wfp.vam.intermap.services.mapServers.GetServices"
file="GetServices.java" line="116" method="exec" />
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java"
line="238" method="execService" />
<at class="jeeves.server.dispatchers.ServiceInfo" file="ServiceInfo.java"
line="141" method="execServices" />
<at class="jeeves.server.dispatchers.ServiceManager"
file="ServiceManager.java" line="376" method="dispatch" />
<at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" line="619"
method="dispatch" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="163" method="execute" />
<at class="jeeves.server.sources.http.JeevesServlet"
file="JeevesServlet.java" line="88" method="doGet" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="596" method="service" />
<at class="javax.servlet.http.HttpServlet" file="HttpServlet.java"
line="689" method="service" />
<at class="org.mortbay.jetty.servlet.ServletHolder"
file="ServletHolder.java" line="427" method="handle" />
</stack>
<request>
<language>en</language>
<service>mapServers.getServices.embedded</service>
</request>
</error>
2008-05-16 09:58:42,145 INFO [jeeves.service] - -> dispatching to error for
: mapServers.getServices.embedded
2008-05-16 09:58:42,156 INFO [jeeves.service] - -> transforming with
stylesheet : /usr/local/geonetwork/web/intermap/xsl/error-embedded.xsl
2008-05-16 09:58:42,175 INFO [jeeves.service] - -> end error transformation
for : mapServers.getServices.embedded
2008-05-16 09:58:42,175 INFO [jeeves.service] - -> error ended for :
mapServers.getServices.embedded
2008-05-16 09:58:52,851 INFO [jeeves.request] -
2008-05-16 09:58:52,851 INFO [jeeves.request] - HTML Request (from
59.154.117.69) : /intermap/srv/en/map.addServices.embedded
2008-05-16 09:58:52,852 DEBUG [jeeves.request] - Method : GET
2008-05-16 09:58:52,852 DEBUG [jeeves.request] - Content type : null
2008-05-16 09:58:52,852 DEBUG [jeeves.request] - Accept : text/javascript,
text/html, application/xml, text/xml, */*
2008-05-16 09:58:52,852 INFO [jeeves.service] - Dispatching :
map.addServices.embedded
2008-05-16 09:58:52,853 DEBUG [jeeves.service] - -> parameters are :
<request>
<service>2</service>
<type>2</type>
<clear>false</clear>
<url>http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?ServiceName=dom_xbt_a</url>
</request>
2008-05-16 09:58:52,853 DEBUG [intermap.wms] - Sending getCapabilities
request
tohttp://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?ServiceName=dom_xbt_a
2008-05-16 09:58:52,862 ERROR [jeeves.service] - Exception when executing
service
2008-05-16 09:58:52,863 ERROR [jeeves.service] - (C) Exc :
java.net.UnknownHostException: www.metoc.gov.au
2008-05-16 09:58:52,865 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>www.metoc.gov.au</message>
<class>UnknownHostException</class>
<stack>
<at class="java.net.PlainSocketImpl" file="PlainSocketImpl.java" line="177"
method="connect" />
<at class="java.net.Socket" file="Socket.java" line="507" method="connect"
/>
<at class="java.net.Socket" file="Socket.java" line="457" method="connect"
/>
<at class="sun.net.NetworkClient" file="NetworkClient.java" line="157"
method="doConnect" />
<at class="sun.net.www.http.HttpClient" file="HttpClient.java" line="365"
method="openServer" />
<at class="sun.net.www.http.HttpClient" file="HttpClient.java" line="477"
method="openServer" />
<at class="sun.net.www.http.HttpClient" file="HttpClient.java" line="214"
method="<init>" />
<at class="sun.net.www.http.HttpClient" file="HttpClient.java" line="287"
method="New" />
<at class="sun.net.www.http.HttpClient" file="HttpClient.java" line="299"
method="New" />
<at class="sun.net.www.protocol.http.HttpURLConnection"
file="HttpURLConnection.java" line="792" method="getNewHttpClient" />
</stack>
<request>
<language>en</language>
<service>map.addServices.embedded</service>
</request>
</error>
For your information the URL for our geonetwork is
www.metoc.gov.au:8080/geonetwork.
I did try setting Admin->System Config->Server->Host to www.metoc.gov.au but
this made
no difference so its back to default setting 'localhost'.
Any guidance to fix this would be greatly appreciated.
Andrew Walsh