• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JNDI Lookup in JBoss Cluster

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Forum,

I am in the process of deploying an application in a clustered environment. I have the war file deployed on 2 separate
machine running Apache Tomcat servers. The load balancing is achieved using Apache HTTP Server using mod_jk.
I have another set of 2 machines (Windows Servers) that run JBoss5.1.0 which, are just used for EJB and JMS. A Windows NLB
is used to provide load balancing for the two AS.

The JBoss servers are started using the following parameters.
JBoss Node 1 192.168.0.1

JBoss Node 2 192.168.0.2

NLB VIP 192.168.0.3

If I set java.naming.provider.url to jnp://192.168.0.1:1099/ or jnp://192.168.0.2:1099/
JNDI lookup is successful. However, if I set java.naming.provider.url to jnp://192.168.0.3, the following error is thrown.


Please advice.

Regards
Nitin
 
reply
    Bookmark Topic Watch Topic
  • New Topic