Singleton EJB is being started twice
Issue
We meet the below Signleton class issue during the initialization and guess it's due to the multithread of EAP 6.0.0. We have a singleton class with @Startup ananotation, and it will print the JVM parameters in log, which should only occur once, but now we have two with different threads displaying the same message.
Environment
- JBoss Enterprise Application Platform (EAP) 6
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.
