3 Replies Latest reply on Jul 21, 2003 3:15 AM by frito

    How to see JNDIView ?

    kxk

      Hello,

      I installed JBoss 3.2.1 recently and installed a simple Stateless EJB. When I run my java client using the correct provider_url (jnp://localhost:1099) and the initial context factory, I get the error NameNotBoundException for my ejb name.

      So, I wanted to to view the JNDI tree to see if my EJB is bound in it. I tried http://localhost:8082 - the default port for JNDIView in JBoss according to some postings and documentation, I get the "page not found" error.

      Do I have to do anything else to enable the JNDI View in JBoss. Is the JNDIView listening on a different port ?Please let me know.

      Thanks,
      Krishnan Kannan

        • 1. Re: How to see JNDIView ?
          frito

          http://:8080/jmx-console
          ... since JBoss 3.x

          Greetings,
          Frito

          • 2. Re: How to see JNDIView ?
            kxk

            Ok. I tried http://localhost:8080/jmx-console and it shows me the JBOSS JMX Agent View.

            I selected "service=JNDIView" under the jboss section and that is showing me the "MBean View" information.

            I also tried invoking the "create", "start" and "listXML" methods.

            The listXML method shows me a listing but I am not sure if this is the JNDI tree.

            Let me if there is a way to see the JNDI tree.

            • 3. Re: How to see JNDIView ?
              frito

              You don't have to create and start the service since it is created and started with jboss. The list or listXML shows a snapshot of the actual JNDI view, all the objects registered with their scope (comp/env for every component, java: or global).

              Greetings,
              Frito