title: I want to get data from my own server instead of nasa servers in java worldwind
body: <p>In the worldwind java project, I wrote my own localhost server link instead of nasa server links in the layer.xml files. but the project still continues to pull data from nasa. What exactly should I do to pull the data from my own site?</p>
  <p>the code of the xml file I edited:</p>
  <pre><code>&lt;Layer version=&quot;1&quot; layerType=&quot;TiledImageLayer&quot;&gt;
      &lt;DisplayName&gt;Blue Marble (WMS) 2004&lt;/DisplayName&gt;
      &lt;Service serviceName=&quot;OGC:WMS&quot; version=&quot;1.3&quot;&gt;
          &lt;GetCapabilitiesURL&gt;http://localhost:8080/geoserver/www/explorer/index.html&lt;/GetCapabilitiesURL&gt;
          &lt;GetMapURL&gt;http://localhost:8080/geoserver/www/explorer/index.html&lt;/GetMapURL&gt;
          &lt;LayerNames&gt;bmng200405&lt;/LayerNames&gt;
      &lt;/Service&gt;
      &lt;RetrievePropertiesFromService&gt;true&lt;/RetrievePropertiesFromService&gt;
      &lt;!-- day month year hours:minutes:seconds timezone --&gt;
      &lt;LastUpdate&gt;26 03 2009 00:00:00 GMT&lt;/LastUpdate&gt;
      &lt;DataCacheName&gt;Earth/BMNGWMS/BMNG(Shaded + Bathymetry) Tiled - Version 1.1 - 5.2004&lt;/DataCacheName&gt;
      &lt;ImageFormat&gt;image/dds&lt;/ImageFormat&gt;
      &lt;AvailableImageFormats&gt;
          &lt;ImageFormat&gt;image/png&lt;/ImageFormat&gt;
          &lt;ImageFormat&gt;image/dds&lt;/ImageFormat&gt;
      &lt;/AvailableImageFormats&gt;
      &lt;FormatSuffix&gt;.dds&lt;/FormatSuffix&gt;
      &lt;NumLevels count=&quot;5&quot; numEmpty=&quot;0&quot;/&gt;
      &lt;TileOrigin&gt;
          &lt;LatLon units=&quot;degrees&quot; latitude=&quot;-90&quot; longitude=&quot;-180&quot;/&gt;
      &lt;/TileOrigin&gt;
      &lt;LevelZeroTileDelta&gt;
          &lt;LatLon units=&quot;degrees&quot; latitude=&quot;36&quot; longitude=&quot;36&quot;/&gt;
      &lt;/LevelZeroTileDelta&gt;
      &lt;TileSize&gt;
          &lt;Dimension width=&quot;512&quot; height=&quot;512&quot;/&gt;
      &lt;/TileSize&gt;
      &lt;Sector&gt;
          &lt;SouthWest&gt;
              &lt;LatLon units=&quot;degrees&quot; latitude=&quot;-90&quot; longitude=&quot;-180&quot;/&gt;
          &lt;/SouthWest&gt;
          &lt;NorthEast&gt;
              &lt;LatLon units=&quot;degrees&quot; latitude=&quot;90&quot; longitude=&quot;180&quot;/&gt;
          &lt;/NorthEast&gt;
      &lt;/Sector&gt;
      &lt;ForceLevelZeroLoads&gt;true&lt;/ForceLevelZeroLoads&gt;
      &lt;RetainLevelZeroTiles&gt;true&lt;/RetainLevelZeroTiles&gt;
      &lt;UseTransparentTextures&gt;false&lt;/UseTransparentTextures&gt;
      &lt;RetrievalTimeouts&gt;
          &lt;ReadTimeout&gt;
              &lt;Time units=&quot;milliseconds&quot; value=&quot;30000&quot;/&gt;
          &lt;/ReadTimeout&gt;
      &lt;/RetrievalTimeouts&gt;
      &lt;!-- The following lines are included just to show how to set the values to other than their defaults --&gt;
      &lt;MaxAbsentTileAttempts&gt;2&lt;/MaxAbsentTileAttempts&gt;
      &lt;MinAbsentTileCheckInterval&gt;1000&lt;/MinAbsentTileCheckInterval&gt;
  &lt;/Layer&gt;
  </code></pre>
  <p>I still see the timeout error I get when I run the project, trying to pull data from NASA's site.</p>
  <pre><code>Sep 09, 2021 2:44:50 PM gov.nasa.worldwind.util.SessionCacheRetrievalPostProcessor run
  SEVERE: Retrieval failed for https://worldwind26.arc.nasa.gov/elev?EXCEPTIONS=application/vnd.ogc.se_xml&amp;REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.3.0
  Sep 09, 2021 2:44:50 PM gov.nasa.worldwind.util.SessionCacheUtils retrieveSessionData
  SEVERE: Exception while retrieving resources for https://worldwind26.arc.nasa.gov/elev?EXCEPTIONS=application/vnd.ogc.se_xml&amp;REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.3.0
  java.net.SocketTimeoutException: Read timed out
  </code></pre>