[Geoserver-devel] [jira] Created: (GEOS-856) externalGraphic symbols should be reloaded when changed

externalGraphic symbols should be reloaded when changed
-------------------------------------------------------

                 Key: GEOS-856
                 URL: http://jira.codehaus.org/browse/GEOS-856
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
         Environment: geoserver-trunk, deployed in tomcat-5.5 running on linux
            Reporter: Vincent Schut
         Assigned To: Gabriel Roldán

When referencing externalGraphics in an sld that refer to a file on the same server as geoserver runs on, and then changing that bitmap file doesn't make geoserver reload the graphic. Instead it keeps redering the old version until you restart tomcat.

Long problem description as I have first send to the mail list:

I'm styling a point layer with several bitmap symbols. The bitmaps (png)
reside on the same server and are referenced in the SLD with a 'file:'
url like in:

<ExternalGraphic>
  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink&quot;
xlink:type="simple"
xlink:href="file:/var/geoserver/styles/symbols/open_refugee_area.png"/>
  <Format>image/png</Format>
</ExternalGraphic>

I guess geoserver caches these images? Then it does so a bit
over-enthousiastic, because when I change these bitmaps on disk,
geoserver keeps displaying the old bitmaps, no matter how often I press
the 'load' button in the config interface. I would expect it to render
the new bitmap instead. Only restarting tomcat helps.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira