3 Replies Latest reply on Jul 8, 2002 10:43 PM by planet11

    Could not passivate..InitialContext

    planet11


      I use InitialContext in my stateful session bean and entity bean and I get this exception when running:

      java.rmi.ServerException: Could not passivate; nested exception is:
      java.io.NotSerializableException: javax.naming.InitialContext

      Should I do serialization of InitialContext by myself?
      or other ways?