Hi Niels,
do you think that the JIRA I have opened right now could be related to the Resources work you made?
If that’s not the case, sorry about that: my intention was not pointing finger against someone, just trying to figure out what is going wrong.
While checking the commits history I have also found this one:
https://github.com/geoserver/geoserver/commit/e39bea39be131abda937305e6f8ebd83edf87c8a
So I’m wondering if what I have reported could be similar to that.
Best Regards,
Daniele
···
On Tue, Dec 22, 2015 at 2:31 PM, Daniele Romagnoli (JIRA) <jira@anonymised.com247…> wrote:
Issue Type:
|
Bug
|
Affects Versions:
|
2.9-M0
|
Assignee:
|
Unassigned
|
Components:
|
GWC
|
Created:
|
22/Dec/15 2:30 PM
|
Priority:
|
Medium
|
Reporter:
|
Daniele Romagnoli
|
Trying to startup a clean Geoserver 2.9-trunk instance on top of a GEOSERVER_DATA_DIR based on “/data/release” geoserver’s source folder, I’m getting a DiskQuota configuration exception (see the attached log).
As far as I can see the GeoserverXMLResourceProvider.findOrCreateConfFile method has this code:
Resource xmlFile = findConfigFile();
if (Resources.exists(xmlFile))
{ log.info("Found configuration file in " + configDirectory.path()); }
else if (templateLocation != null) {
// grab template from classpath
try
{ IOUtils.copy(getClass().getResourceAsStream(templateLocation), xmlFile.out()); }
catch (IOException e)
{ throw new IOException("Error copying template config to " + xmlFile.path(), e); }
}
return xmlFile;
}
Therefore, if the file doesn’t exist and the templateLocation is null it will return that file anyway. Afterwards, the FileSystemResourceStore.in method will create an empty file and the parser will throw that exception.
|
This message was sent by Atlassian JIRA (v7.1.0-OD-02-030#71001-sha1:2ba8c0f)
|
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Geosolutions’ Winter Holidays from 24/12 to 6/1
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.