JBoss hangs when deployment uses remote management API during startup

Solution Unverified - Updated -

Issue

As a @Singleton EJB anotated with @Startup tries to access the programmatic CLI API in its @PostConstruct, the whole server freezes. If the call done in PostConstruct is done in a separate Thread, the server does not freeze.

Here is a reference to a community thread: https://community.jboss.org/thread/206739

Environment

  • JBoss Enterprise Application Platform 6.0.1

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