DataDirectoryUpdateSequence initializes GeoServerInfo if not present with a zero'ed updateSequence.
In doing so, it was loading the global.xml through Resource.in():InputStream, which in turn automatically acquires a lock on the resource, but it was not closing it, which releases the lock.
DataDirectoryUpdateSequence
initializesGeoServerInfo
if not present with a zero'edupdateSequence
.In doing so, it was loading the
global.xml
throughResource.in():InputStream
, which in turn automatically acquires a lock on the resource, but it was not closing it, which releases the lock.