This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: [AbstractInstanceCache] failed to passivateadrian.brock May 7, 2004 2:34 AM (in response to afleet)You must remove nonserializable state in ejbPassivate. 
 See the spec for the full lifecycle.
- 
        2. Re: [AbstractInstanceCache] failed to passivateafleet May 7, 2004 12:23 PM (in response to afleet)Hi Adrian, 
 I thought this may be the issue, so I checked the spec prior to
 posting. On page 77, when listing the data types that are valid
 for passivation it says..
 • A reference to the environment naming context
 (that is, the java:comp/env JNDI context) or any of its subcontexts.
 Since my instance variable is set thus;
 myInitialContext = new InitialContext();
 myInitialContext =(Context)myInitialContext.lookup("java:comp/env");
 I thought I was OK - have I misunderstood?
 Thanks,
 Andy
 
    