4 Replies Latest reply on Jun 25, 2009 5:01 AM by allen_lei

    Jboss Cluster: JNDI Cluster error

    kalakonda1986

      Hi,

      I am a new to JBOSS and we are clustering our application on Windows 2003 server(2) and i was able to cluster the jboss server but it throws an error while trying to look up through JNDI. It works fine in default mode though. It is not displaying JNDI tree in clustered mode.

      Error message:

      javax.naming.NameNotFoundException: IZIS_VAL not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)


      Thanks in Advance...

        • 1. Re: Jboss Cluster: JNDI Cluster error
          allen_lei

          Can you find the exploded jndi in jmx-console ?

          You can do this by the following steps:
          1.Enter to the jmx-console(i.e. http://localhost:8080/jmx-console).
          2.Click the "service=JNDIView" link.
          3.Locate the "java.lang.String list()",and click the "Invoke" button.
          4.In the next page,you will see all of the jndi which haved deployed.
          5.Find if there exists the IZIZ_VAL jndi and bounded to where.
          6.Check the jndi name using in your app matchs the accurate prefix which bounded to the jndi tree.

          • 2. Re: Jboss Cluster: JNDI Cluster error
            kalakonda1986

            I did that and i am unable to view that in clustered mode. whereas i can view the jndi in default mode though so the problem is it is not binding to beans in clustered mode id follow the guide provided by jboss but no luck..

            • 3. Re: Jboss Cluster: JNDI Cluster error
              kalakonda1986

              In clustered mode it is not even showing IZIS_VAL in jndiview but in default mode i was able to view this:

              IZIS_VAL (class: org.jnp.interfaces.NamingContext)
              | +- OnlineCasePackagingManagerBean (class: org.jnp.interfaces.NamingContext)
              | | +- local (proxy: $Proxy242 implements interface com.OnlineCasePackaging.bll.ejb.OnlineCasePackagingManagerLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject)
              | +- ZCWorkFlowFacadeManagerBean (class: org.jnp.interfaces.NamingContext)
              | | +- local (proxy: $Proxy327 implements interface
              .........................

              • 4. Re: Jboss Cluster: JNDI Cluster error
                allen_lei

                Is this IZIS_VAL the EJB service you deploy?

                Can you provide more details about your clustering? i.e. how man nodes of the clustering,the services you deploy in the clustering,how you start your JBoss instances and so on.