Oracle Blog

Moazam Rajas Sun hosted weblog

How to set JNDI properties the right way

I've found that some developers try to set JNDI properties via environment variables and then wonder why their settings don't seem to hold. For example, a developer might create a Hashmap (env) and set their JNDI property value using Hashmap.put(),

"Connection pooling is configured by a number of System properties at runtime startup time. Note that these are System properties, not environment properties and that they affect all connection pooling requests. "