[
https://issues.jboss.org/browse/WFLY-7494?page=com.atlassian.jira.plugin....
]
Stuart Douglas moved JBEAP-6927 to WFLY-7494:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7494 (was: JBEAP-6927)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Web (Undertow)
(was: User Experience)
(was: Web (Undertow))
Affects Version/s: (was: 7.1.0.DR7)
Attribute max-connections has wrong error message
-------------------------------------------------
Key: WFLY-7494
URL:
https://issues.jboss.org/browse/WFLY-7494
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Error message max-connections is not saying what went wrong, other listeners will have
probably same issue
{noformat}
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-connections,
value=-20)
{noformat}
causes exception
{noformat}
08:54:13,387 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001:
Failed to start service jboss.undertow.listener.default:
org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Failed to
start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1919)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: High water must be greater than 0
at org.xnio.nio.QueuedNioTcpServer.badHighWater(QueuedNioTcpServer.java:236)
at org.xnio.nio.QueuedNioTcpServer.<init>(QueuedNioTcpServer.java:189)
at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:200)
at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
at
org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126)
at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:167)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896)
... 3 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)