Quantcast

JNDI environment var Config.groovy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

JNDI environment var Config.groovy

jphiloon
I would like to read a jndi environment variable (a String) from inside Config.groovy.  How do I do this?

This is a production environment running a Tomcat war, pulling jndi defs from context.xml (i.e., not using grails.naming.entries as with run-app).  The jndi environment variable is optional, so I have to handle the case in which it is not defined.

Thanks.
Loading...