[jboss-jira] [JBoss JIRA] (WFLY-13266) Add wildfly-jndi.properties to load custom jndi properties without changing the global JVM properties

Brad Maxwell (Jira) issues at jboss.org
Sat Mar 21 19:45:23 EDT 2020


Brad Maxwell created WFLY-13266:
-----------------------------------

             Summary: Add wildfly-jndi.properties to load custom jndi properties without changing the global JVM properties
                 Key: WFLY-13266
                 URL: https://issues.redhat.com/browse/WFLY-13266
             Project: WildFly
          Issue Type: Feature Request
          Components: Naming
    Affects Versions: 19.0.0.Final
            Reporter: Brad Maxwell
            Assignee: Richard Opalka


Add wildfly-jndi.properties to load custom jndi properties without changing the global JVM properties

org.jboss.naming.remote.client.InitialContextFactory (Remote Naming) would look for jboss-naming-client.properties in the classpath of the client and load these properties into the InitialContext environment properties.  This is useful as it isolates the configuration change to the particular classloader that creates the InitialContext.  If a jndi.properties is in an application it will change the properties in the whole JVM which should not be done inside of an Application Server.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list