@Startup @Singleton EJBCLIENT000025 Exception when invoking EJB during startup after applying CP11 on EAP 6.4 and on EAP 7.0

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform [EAP]
    • 6.4.11
    • 7.0.4

Issue

  • @Startup @Singleton with @EJB injecting @Remote Interface
  • java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling ...

Resolution

Workaround: Use a @Local Interface.

Root Cause

This content is not included.BZ 1389428 @Startup @Singleton fails to invoke EJB via Remote interface in PostConstruct

Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.