Jakarta Enterprise Beans 3.2 spec, section 4.1 Spec violation
Issue
Following ERROR is showing in JBoss EAP server log during application deployment:
ERROR [org.jboss.as.ejb3.deployment] (MSC service thread 1-3) WFLYEJB0517: [Jakarta Enterprise Beans 3.2 spec, section 4.1] Spec violation for class com.org.AbcServiceSessionBean. Session Jakarta Enterprise Beans should have only one of the following types : Stateful, Stateless, Singleton.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.