Jakarta Enterprise Beans 3.2 spec, section 4.1 Spec violation

Solution Verified - Updated -

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.

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