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 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.