Hello,
I have a web module I am trying to deploy on Geronimo. The module uses JNDI extensively for its own purpose, including creation of sub-contexts, bounding objects, lookups, etc.
As I understand, RMI Registry is used as the JNDI provider in Geronimo, and it's a flat name space that does not support creating sub-contexts, so the application fails to initialize.
The web module creates javax.naming.InitialContext objects with no parameters all over the code, so it just uses whatever the default factory is set to, therefore I can not configure the module to use a separate JNDI tree for its purpose.
The question is if I can use CORBA CosNaming service provided with Geronimo
a) either as the overall JNDI naming provider for the whole server, thus replacing RMI Naming
b) or as a JNDI provider just for the web module, so that "new InitialContext()" would have CosNaming behind it.
The module works pretty much on it's own and is not connected to any outside EJBs or anything. Even the database is configured internally without using DataSources (it's a lousy way to configure a database, I know, but it's not my code).
Regards,
Fiodar Zboichyk
