0 Replies Latest reply on Feb 1, 2006 1:21 PM by chetan aggarwal

    ConnectionFactory not found on 2nd instance

    chetan aggarwal Newbie


      I have 2 machines runing jboss 4.0.3 in cluster. Server1 is master node for JMS and server 2 is secondry.

      I have a servlet running on other separate machine and sending a HTTP request to Jboss Cluster. Jboss Cluster after handling HTTP request generates a topic message for client.

      All works fine if servlet sends request to server1 (master node). But if servlet sends request to server2 , server 2 always fails with

      javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: ConnectionFactory not bound]
      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1052)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:685)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at com.adp.ebs.flt.ejb.session.ClientManagerBean.setSessionContext(ClientManagerBean.java:6644)

      Have i missed something in configuration?

      Please suggest.