1 Reply Latest reply on Apr 12, 2002 12:46 AM by Guy Rouillier

    MBean unbind error

    Christian Bourque Newbie

      Hi !

      I'm trying the JNDIMap MBean example and it works ok except when I shutdown JBoss :

      [ERROR,JNDIMap] Failed to unbind map
      javax.naming.NameNotFoundException: inmemory/maps/MapTest was not found in the NonSerializableFactory map

      What could it be ?

      Regards
      Christian

        • 1. Re: MBean unbind error
          Guy Rouillier Newbie

          I have my own customer MBeans (which of course I started from the sample.) I also am getting this same exception whenever unbind is called. Note this error occurs by doing an Apply in the MBean viewer (8082); I think that is because setJNDIName is being called. My MBeans otherwise work fine; strangely, the Apply successfully makes the changes, in spite of the exception. My EJBs can find the MBean, so the name must be right.