Getting error: java.lang.ArrayIndexOutOfBoundsException: 32768 in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • User have configured max-connections="32768" for http executor as following:
<subsystem xmlns="urn:jboss:domain:web:1.2" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" max-connections="32768"/>
            <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" max-connections="2500"/>
            <virtual-server name="default-host" enable-welcome-root="false">
                <alias name="localhost"/>
                <alias name="example.com"/>
            </virtual-server>
        </subsystem>
  • and getting below error
Getting error: java.lang.ArrayIndexOutOfBoundsException: 32768

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.