From: VeeAnn A. C. <va...@us...> - 2011-10-24 13:53:50
|
I was finally able to solve the problem, although I'm not exactly sure what was causing the problem to begin with. I need to thank Byron and Aklilu for being so patient and willing to help me. As a reminder, I'm trying to install geonetwork 2.6.4 on a Windows machine running XP. What I ended up doing was uninstalling geonetwork and all Java. Instead of installing JRE, I installed JDK - following the instructions in "geoss_in_practice_tutorial" that I was able to find online. The geonetwork installation instructions start on page 88. Once I did all this, I was able to run geonetwork. However, the world map did not appear. Although geonetwork is working, the local install of geoserver is not. So instead of pointing locally for the BlueMarble map, I edited the config-gui.xml and replaced the local host URI with the actual WMS. The configu-gui.xml is location in geonetwork/web/geonetwork/WEB-INF folder. In the mapSearch section I used: <layers> <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble " tocName="Map" params="{layers: 'Earth Image,Borders,Coastlines', format: 'image/jpeg'}" options="{isBaseLayer: true}" /> </layers> and in the MapViewer section I used: <layers> <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble" tocName="Borders" params="{layers: 'Borders,Coastlines', transparent: 'true', format: 'image/png'}" options="{}" /> <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble" tocName="Ortophoto" params="{layers: 'Earth Image', format: 'image/jpeg'}" options="{isBaseLayer: true}" /> </layers> <scales values="[7500000, 5000000, 2500000, 1000000, 750000, 500000, 250000, 100000, 75000, 50000, 25000, 10000, 7500, 5000, 2500, 1000]" /> <!--scales values="[]" /--> <proj> <crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" /> </proj> <servers> <server name="NASA JPL OneEarth Web Mapping Server (WMS)" url=" http://wms.jpl.nasa.gov/wms.cgi?" /> <server name="NASA Earth Observations (NEO) WMS" url=" http://neowms.sci.gsfc.nasa.gov/wms/wms?" /> <server name="DEMIS World Map Server" url=" http://www2.demis.nl/mapserver/wms.asp?" /> <server name="Geoserver" url="http://localhost:8080/geoserver/wms?" /> </servers> What still befuddles me is that while I was struggling with my desktop computer, I successfully installed geonetwork 2.6.4 on my laptop. Everything worked right away. My problem has to be related to Java and some other software or something that I've installed on my desktop that is not on my laptop, but I have yet to figure out exactly what that is yet. But at least now I'm able to use the software on my desktop - many thanks to those that helped me. cheers, VeeAnn |