JBoss hangs when deployment uses remote management API during startup
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
