Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13266

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 19.0.0.Final
    • Naming
    • None

      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.

              ropalka Richard Opalka
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: