Hi!

Tilmann Ludwig wrote:
> Thakns for your answer. I've tested your fix in CVS but i've got two
> problems:
> 
> 1.) a private variable of type SessionContext throws a
> javax.ejb.EJBException while passivating
> the bean. The ejb 1.1 specs on page 51 clearly states: possible Objects: A
> reference to the SessionContext object, even if it is not serializable.
> 2.) i removed the SessionContext, but then when i tried to use simple types
> like long i get the same exception.

I see. Hm, the problem is that the passivation/serialization of stateful
sessions is done manually and not by simply serializing the whole bean.
This complicates things. It would be easier to just serialize it, and
replace the non-serializable objects during that process.

I will look into it.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to