Need some clarification on a issue I am facing.
When EJB client is deployed to a JBoss instance using "wildfly-config.xml" (placed under META-INF) it's not fetching connection URI value from the config file, it dosen't seems to load below configuration details from wildfly-config.xml.
<connection uri="remote+http://localhost:8080" />
It works fine if we pass URI programmatically as shown below.
But if we run EJB client as standalone Java application, it picks the configuration correctly from "wildfly-config.xml".
It seems like ConfigurationBasedEJBClientContextSelector.loadConfiguration of jboss-ejb-client.jar is not triggered.
It's not issue with loading wildfly-config.xml, this file is loaded correctly but EJB client configuration is not read from this file.