Error trying to call an EJB2 SLSB remotely from a stand-alone client in JBoss EAP 5.1

Solution Verified - Updated -

Issue

  • Application getting the following error while trying to make a remote call to a stateless session bean (slsb) deployed in JBoss. The exception is - "java.lang.Exception: Can not make remoting client invocation due to not being connected to server."

  • The following jars are included in the ejb client classpath:

jboss-logging-spi.jar
jboss-security-spi.jar
jboss-serialization.jar
jboss-common-core.jar
jboss-remoting.jar
jbosssx-client.jar
jboss-javaee.jar

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.x

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