Unable to use property substitution for remote.connection.default.password in jboss-ejb-client.properties in JBoss EAP 6

Solution Verified - Updated -

Issue

  • Unable to use property substitution for remote.connection.default.password in jboss-ejb-client.properties.
remote.connections=default
remote.connection.default.host=127.0.0.1
remote.connection.default.port=4447
remote.connection.default.username=test_user
remote.connection.default.password=${test_password}

and started the ejb client as below:

 java -Dtest_password=test@123 com.client.RemoteEJBClient

Environment

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