EAP 7 shutdown hangs on CLOSING org.jboss.remoting3.EndpointImpl

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x

Issue

  • Our EAP 7 instance sometimes will not fully shutdown with unclosed remoting connections present

Resolution

  • Upgrade to EAP 7.4.3+

Root Cause

Diagnostic Steps

  • Capture a heap dump and check for a stuck remoting endpoint in a REMOVE state with an OQL like below:
SELECT state.toString(), mode.toString(), service FROM org.jboss.msc.service.ServiceControllerImpl:
state.toString()|mode.toString()|service
---------------------------------------------------------------------------------------
STOPPING |REMOVE |org.jboss.as.remoting.EndpointService [id=0x73843bc30]
---------------------------------------------------------------------------------------
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.