A remote invocation of an EJB included in an application marked as singleton-deployment is not possible without knowlege which server is current running the application in EAP 7.0

Solution Verified - Updated -

Issue

  • Why the remote client needs to know which server in the cluster has the singleton-deployment active?
    I expect that remote clients are able to invoke a the EJB method even if the application is marked as a singleton-deployment.
  • If the client is configured with one server of a cluster neither the invocation nor the failover works seemlessly as expected.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0
    • 7.1 Alpha/Beta
  • JavaEE application in an EAP cluster marked as singleton-deployment with a deployment-descriptor like followed

    # META-INF/singleton-deployment.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <singleton-deployment xmlns="urn:jboss:singleton-deployment:1.0"/>
    

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.