0 Replies Latest reply on Jun 24, 2004 5:16 PM by davidchen

    Problem to run JNDIMap example

    davidchen Newbie

      Hi, there:

      I'm using JBoss2.4.8, deployed the jar file in lib/ext directory, changed jboss.jcml as indicated, everything runs fine. However, whenever the "unbind( )" method is called, jboss gives me NameNotFoundException like:
      javax.naming.NameNotFoundException: inmemory/maps/MapTest was not found in the NonSerializableFactory map
      [14:05:02,669,STDERR] at org.jboss.naming.NonSerializableFactory.unbind(NonSerializableFactory.java:114)

      it seems it can not find the jndiName when following sentence is called:
      NonSerializableFactory.unbind(jndiName);
      Could anyone please give me some clues on this exception? Thanks a lot in advance.

      David Chen