![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
2.3.5 |
|
Assignee:
|
Andrea Aime
|
|
Components:
|
Control-flow |
|
Created:
|
13/Sep/13 9:56 AM
|
|
Description:
|
Adding the following parameter to the "controlflow.properties" file:
ip.blacklist=192.168.1.2,192.168.1.3
Geoserver log show the following error messages:
ERROR [flow.config] - Rules should be assigned just a queue size, instead ip.blacklist is associated to 192.168.1.2,192.168.1.3
ERROR [geoserver.flow] - Error occurerd during flow controllers reconfiguration
Analyzing the source code of buildFlowControllers method in DefaultControlFlowConfigurator class, the error seems caused by the conversion to integer (parseInt) of tokens obtained using the comma delimiter (IP address values).
int queueSize = 0;
StringTokenizer tokenizer = new StringTokenizer(value, ",");
try {
if (tokenizer.countTokens() == 1)
{
queueSize = Integer.parseInt(value);
}
else
{
queueSize = Integer.parseInt(tokenizer.nextToken());
}
} catch (NumberFormatException e)
{
LOGGER.severe("Rules should be assigned just a queue size, instead " + okey + " is associated to " + value);
continue;
}
|
|
Environment:
|
Red Hat 5.8 with Geoserver 2.3.5 and Control-Flow 2.3.5
|
|
Project:
|
GeoServer
|
|
Priority:
|
Major
|
|
Reporter:
|
CHRISTIAN PICONE
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel