"JBREM000200: Remote connection failed: javax.security.sasl.SaslException" encountered when client connects EJB in EAP 6

Solution Verified - Updated -

Issue

  • The following issue occurred when remotely calling EJB from an EJBClient
JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed 
  • We have disabled the remoting security in the standalone configuration or for the domain profile but there is still a JBREM000200 error
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
    <connector name="remoting-connector" socket-binding="remoting"/>
</subsystem>
ERROR: JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
Exception in thread "main" java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:appone, moduleName:ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@22241a0d

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0.x
    • 6.1
    • 6.3

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