I have 2 JBoss AS configured in a cluster (HA-JNDI incorporated). I have a service locator class that implements JNDI caching.
As the application is accessed, n number of lookup's are cached that refer to either AS1 or AS2. Now when I shutdown AS1, and the application try to use any cached lookup that is referencing AS1, I get the following error.
I thought the lookup would be successful as AS2 is available.