HomeIndex > Global JNDI Plugin

Setup

Build the global jndi module in the sandbox.
$ svn co https://svn.apache.org/repos/asf/geronimo/sandbox/plugins/global-jndi

$ cd global-jndi

$ mvn install
Add namingLib dir
$ cd $GERONIMO_HOME

$ mkdir namingLib

$ cp ~/.m2/repository/org/apache/geronimo/sandbox/geronimo-global-jndi/1.2-SNAPSHOT/geronimo-global-jndi-1.2-SNAPSHOT.jar namingLib/

$ cp ~/.m2/repository/org/apache/xbean/xbean-naming/COL-SNAPSHOT/xbean-naming-COL-SNAPSHOT.jar namingLib/
Modify naming properties in config.xml

Add the following GBean to the rmi-naming module.

Add the namingFactoryUrlPkgs property to the NamingProperties GBean which makes the JNDI check the new gjndi packages for the java: provider.