Is it possibe to overwrite jboss-ejb-client.properties via batch file ?

Solution Verified - Updated -

Issue

  • Prior to EAP 6 a jndi.properties file was required in the classpath of the remote client for remote communication.
  • In EAP 6, we are setting the client properties with jboss-ejb-client.properties.
  • The EJB jar file is started with a batch file that overwrites some of the properties of the jndi.properties like this:
java.exe -Djava.naming.provider.url=%java.naming.provider.url% -jar ABC.jar
  • Is it possible to overwrite the properties for the jboss-ejb-client.properties file as well ?

Environment

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