Standalone EJB client fails to connect javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? in JBoss EAP 6

Solution Verified - Updated -

Issue

  • Our standalone EJB client is failing to invoke an ejb with the following exception:
23:00:32,886 ERROR [org.jboss.remoting.remote.connection] JBREM000200: Remote connection failed: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
23:00:32,899 WARN  [org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector] Could not register a EJB receiver for connection to localhost:4447: java.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:91) [jboss-ejb-client-1.0.23.Final-redhat-1.jar:1.0.23.Final-redhat-1]
    at org.jboss.ejb.client.remoting.ConnectionPool.getConnection(ConnectionPool.java:77) [jboss-ejb-client-1.0.23.Final-redhat-1.jar:1.0.23.Final-redhat-1]
        ...
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
        ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.x
    • 6.0.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