After the introduction of the new Jndi service only some
f the components have been changed to use an
InitialContextFactory component reference.
The configuration for the initail context should be
identical in the remote home factory, named datasource
and jndi-config components.
The RemoteHomeFactory let you configure both an
InitialContextFactory component and a ProviderUrl, but
what happen if you define providerUrl both in the
InitialContextFactory and directly in the
RemoteHomeFactory configuration? Which url is used?
(this should at least be documented)
If we are using the InitialContextFactory component
ProviderUrl should be removed... or the configuration for
the InitialContextFactory component should use a
different property (es.
InitialContextFactoryComponent) and retain full
compatibility with the 2.0 release