Stephen,
I ask for excuses for having forgotten to postar the occurred error.
The error when having access site http://localhost:8080/geoserver/wms is:
GeoServer - Exception
The following exception was thrown:
java.lang.NullPointerException
It would like to reiterate that the site GeoNetwork that I installed
in my machine is functioning, but the InterMap map is not loading in
the screen.
I installed the Tomcat version 5.5.26, and is running in the port 8080.
Necessary to make with that intermap functions with the GeoNetwork in
the Tomcat.
Please they help me.
thanks
--
Marcelo G. Santana
marcelo@anonymised.com
Topos Informática do Brasil Ltda.
2008/7/17 <Stephen.Davies@anonymised.com>:
Marcelo,
Would love to help but you did not include the error message.
We use Tomcat 5.5.26 here at Geoscience Australia. Which Tomcat version are you using?
Your server.xml looks ok and should work but I would suggest that read the Tomcat configuration documentation for the <Context> element.
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Rather than change server.xml I would suggest you create files geonetwork.xml, geoserver.xml and intermap.xml in conf/Catalina/localhost and put the <Context> elements there.
Regards,
Stephen
-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net [mailto:geonetwork-devel-bounces@lists.sourceforge.net] On Behalf Of Marcelo G. Santana
Sent: Friday, 18 July 2008 3:16
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Error: Run GeoServer in TomcatHello,
I am trying to run the GeoServer in the Tomcat.
I installed the GeoNetwork as indicated in the site, and found in file
geonetwork\web\intermap\web-inf\mapservers.xml the code:<mapContexts>
<default name="World + Africa national boundaries -- DUMMY NAME:not used">
<server url="http://localhost:8080/geoserver/wms" type="2" >
<layer name="gn:world"></layer>
</server>
...I inserted in file tomcat\conf\server.xml the code:
<Context path="/geonetwork" docBase="C:/geonetwork/web/geonetwork" crossContext="false" debug="0" reloadable="false" />
<Context path="/geoserver" docBase="C:/geonetwork/web/geoserver" crossContext="false" debug="0" reloadable="false" />
<Context path="/intermap" docBase="C:/geonetwork/web/intermap" crossContext="false" debug="0" reloadable="false" />but, when I try to have access address http://localhost:8080/geoserver/wms occurs the following error:
Somebody can help me to solve this problem?
Many Thanks
--
Marcelo G. Santana
marcelo@anonymised.com
Topos Informática do Brasil Ltda.