1 Reply Latest reply on Mar 20, 2003 6:51 AM by Adrian Brock

    access MBean JNDIMap service

    Wenpan Wu Newbie

      JBossBook_305 provide an example called JNDIMap, I packed it as a SAR file and deployed it in JBoss.

      I found I can only access the object contextMap inside JBoss (through a Session Bean in my example). When I tried to access it from another JVM, I found the object I got is not an instance of HashMap, when I print out the object I got from lookup("inmemory/maps/MapTest"), the result is:
      Reference Class Name: java.util.HashMap
      Type: nns
      Content: MapTest

      How I can access this MBean service outside JBoss?

      Thanks,