From: Marcelo G. S. <mar...@gm...> - 2008-07-18 16:05:54
|
Hi Developers, It would like to be thankful all for the aid, and to inform that I obtained to solve the problem. Reading logs of the Tomcat, I discovered that the temporary directory of the Intermap was not being found for the Tomcat. April the archive C:\geonetwork\web\intermap\WEB-INF\config.xml and I made the following modification: <param name="tempDir" value="../web/intermap/tmp/" /> <param name="httpCacheDir" value="../web/intermap/httpCache/" /> To: <param name="tempDir" value="C:/geonetwork/web/intermap/tmp/" /> <param name="httpCacheDir" value="C:/geonetwork/web/intermap/httpCache/" /> After this modification the Intermap it started to function in the GeoNetwork. Thanks, Marcelo. ---------- Forwarded message ---------- From: Marcelo G. Santana <mar...@gm...> Date: 2008/7/18 Subject: Re: [GeoNetwork-devel] Error: Run GeoServer in Tomcat [SEC=UNCLASSIFIED] To: geo...@li... 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 ma...@to... Topos Informática do Brasil Ltda. 2008/7/17 <Ste...@ga...>: > > 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: geo...@li... [mailto:geo...@li...] On Behalf Of Marcelo G. Santana > Sent: Friday, 18 July 2008 3:16 > To: geo...@li... > Subject: [GeoNetwork-devel] Error: Run GeoServer in Tomcat > > > > Hello, > > 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 > ma...@to... > Topos Informática do Brasil Ltda. -- Marcelo G. Santana ma...@to... Topos Informática do Brasil Ltda. |