GWC does not work on a shared data directory
--------------------------------------------

                 Key: GEOS-3010
                 URL: http://jira.codehaus.org/browse/GEOS-3010
             Project: GeoServer
          Issue Type: Bug
          Components: GWC
    Affects Versions: 2.0-alpha2, 1.7.4
            Reporter: Arne Kepp
            Assignee: Arne Kepp
             Fix For: 2.0.x


The default configuration of GWC, which is hard to change since it's inside the 
jar, crashes due to H2 file locking if two instances try to access the same 
data directory. The H2 database is causing the crash, which we could fix by 
running in mixed mode, but the tiles would technically have to be locked as 
well. That would quadruple the I/O cost of accessing a tile, so we do not want 
to do this in the default case.

One (inefficient) workaround is to give each instance it's own cache directory. 
Another is to delete gwc.jar and use a separate servlet with the free-standing 
version of GeoWebCache.

Either way, GWC should fail gracefully, not with an exception.

-- 
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

        

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to