Hi all,

 

I want to configure Geronimo to use non-Sun JNDI/RMI service provider.

But as I can see, the name of the initial context factory is hardcoded in the sources so it looks I can't customize it in any way.

Is there a way I can plug my provider, and if not, can we think about how this customization can be implemented?

The following is the list of sources containing hardcoded name of the provider:

 

modules/client/src/java/org/apache/geronimo/client/StaticJndiContextPlugin.java:56:        System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");

modules/naming/src/test/org/apache/geronimo/naming/geronimo/GeronimoRootContextTest.java:33:        System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");

modules/naming/src/test/org/apache/geronimo/naming/java/AbstractContextTest.java:48:        System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");

modules/naming/src/test/org/apache/geronimo/naming/java/ThreadContextTest.java:53:        System.setProperty("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory");

modules/system/src/test/org/apache/geronimo/system/properties/NamingPropertiesTest.java:11:    private static final String NAMING_FACTORY_INITIAL = "com.sun.jndi.rmi.registry.RegistryContextFactory";

 

 


Thanks

Andrey Pavlenko

Intel Middleware Products Division

Reply via email to