EJB invocation from standalone java fails with NullPointerException in EAP 7.1

Solution Verified - Updated -

Issue

  • Invocation of an EJB from a standalone application via java -Xbootclasspath/p:$JBOSS_HOME/bin/client/jboss-client.jar -jar app.jar fails with a NullPointerException
  • Using Xbootclasspath leads to NullPointerException

Environment

  • Red Hat Enterprise Application Platform (EAP) 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.