StackOverflowError in JBoss EAP 7 with a custom worker pool stack-size

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7

Issue

  • We moved from JDK 8 to JDK 11 and our application is failing when trying to access a web jsp with a java.lang.StackOverflowError after modifying the worker-pool stack-size

        <subsystem xmlns="urn:jboss:domain:io:3.0">
            <worker name="default" io-threads="2" task-max-threads="10" stack-size="32"/>
            <buffer-pool name="default"/>
        </subsystem>
    

Resolution

Related Solutions

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.