A command containing the following code:
currently throws a NameNotFoundException, even though the same JNDI lookup succeeds on the caller that invoked the command.
A command executed with the command dispatcher should be able to perform JNDI lookup from the local application namespace.
In fact, the following application callbacks from the clustering API are all unable to read from the application's JNDI namespace:
- CommandDispatcher command execution
- CommandDispatcherFactory cluster membership listener
- Cache topology membership listener
- Registry listener
- ServiceProviderRegistry listener