Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6916

Attribute max-connections has wrong error message

XMLWordPrintable

    • User Experience

      Error message max-connections is not saying what went wrong, other listeners will have probably same issue

      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-connections, value=-20)
      

      causes exception

      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
      

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              bsikora Bogdan Sikora (Inactive)
              Jan Stourac Jan Stourac
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: