JBoss as a windows service won't shut down. "Press any key to continue"

Solution Verified - Updated -

Issue

When stopping the JBoss Windows Service, the service does not stop cleanly and the process must be manually killed.

In the stdout log, the message "Press any key to continue" is shown.

Environment

JBoss Enterprise Application Platform

Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content