This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cached JNDI lookup in AS Cluster  RSS feed

N Jain
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Forum,

I have 2 JBoss AS configured in a cluster (HA-JNDI incorporated). I have a service locator class that implements JNDI caching.

Code Snippet

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.

Please advice where I am going wrong.

Thank you,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!