4 Replies Latest reply on Mar 14, 2002 3:07 PM by cepage

    JNDI View not running with 2.4.4

    srouil

      Hi,

      I've moved from JBoss 2.2.1 to 2.4.4 and I've now a problem running JNDIView. The list method fails with a javax.management.RuntimeMBeanException.

      Actually, list works fine until I deploy my ear.

      Does anybody get the same thing? any solution?

      Thanks for your help,
      Samuel

        • 1. Re: JNDI View not running with 2.4.4

          Do you have a more detailed error in jboss/log/server.log?

          Regards,
          Adrian

          • 2. Re: JNDI View not running with 2.4.4
            srouil

            Hi,

            No I don't see anything in server.log. I think that the JMX HTML Adapter is catching the runtime exception and does not output any log.

            Samuel

            • 3. Re: JNDI View not running with 2.4.4

              The only thing I can suggest is debugging.
              If you have the source, you could wrap the whole
              method in an exception handler then
              log.error() any unhandled exception.

              What jndi bindings do you have specified in the ear?

              Regards,
              Adrian

              • 4. Re: JNDI View not running with 2.4.4
                cepage

                Samuel,

                You are encountering a known bug in the JNDIView MBean. The bug was patched in December, but the patch was not incorporated into the 2.4.4 release.

                Do what I did: fetch the latest copy of JNDIView.java and JNDIViewMBean.java from Sourceforge. Change the package name to com.mycompany.*, then build and deploy onto your server.

                Now, edit your jboss.jcml file so that the JNDIViewMBean is instantiated from com.mycompany...JNDIView instead of org.jboss...JNDIView, and you have a working JNDIView under 2.4.4.

                Corby