[Geoserver-devel] [jira] (GEOS-5227) The coverage settings page does not validate the thread pool min and max size

Andrea Aime created BugGEOS-5227
The coverage settings page does not validate the thread pool min and max size

Issue Type:

BugBug

Assignee:

Daniele Romagnoli

Created:

17/Jul/12 4:05 AM

Description:

Setting the max size less than the core size is allowed and the save goes fine on the GUI, but in the logs we see this:

17 lug 11:04:27 ERROR [config.impl] - Error occurred processing a configuration change listener
java.lang.IllegalArgumentException
	at java.util.concurrent.ThreadPoolExecutor.setMaximumPoolSize(ThreadPoolExecutor.java:1620)
	at org.geoserver.coverage.CoverageAccessInitializer.initCoverage(CoverageAccessInitializer.java:94)
	at org.geoserver.coverage.CoverageAccessInitializer$1.handlePostGlobalChange(CoverageAccessInitializer.java:56)
	at org.geoserver.config.impl.GeoServerImpl.fireGlobalPostModified(GeoServerImpl.java:285)
	at org.geoserver.config.impl.GeoServerImpl.save(GeoServerImpl.java:272)
	at org.geoserver.config.UpdateSequenceListener.incrementSequence(UpdateSequenceListener.java:40)
	at org.geoserver.config.UpdateSequenceListener.handlePostGlobalChange(UpdateSequenceListener.java:99)
	at org.geoserver.config.impl.GeoServerImpl.fireGlobalPostModified(GeoServerImpl.java:285)
	at org.geoserver.config.impl.GeoServerImpl.save(GeoServerImpl.java:272)
	at org.geoserver.web.admin.CoverageAccessPage$1.onSubmit(CoverageAccessPage.java:62)

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)