This content has been marked as final.
Show 1 reply
-
1. Re: could not passivate ?
frito May 20, 2003 12:48 AM (in response to sdoer)Your bean must be properly serializable. If you are holding a connection, it isn't.
The resolution depends on what you are trying to do. Probably you don't have to hold the connection at all. Just look up a new one every time you need it. JBoss is doing the pooling. At least you should release the connection on ejbPassivate(). You can look up the new one on ejbActivate().
Greetings,
Frito