geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the666pack <mario.kof...@gmail.com>
Subject Re: Geronimo 2.0.2 - OpenEJB "Passivation Failed"
Date Sun, 24 Feb 2008 20:31:11 GMT



Jacek Laskowski wrote:
> 
> 
> Hi,
> 
> You should be concerned although the message level is too low I guess.
> It happens when openejb attempts to passivate an instance so that
> particular instance is in fact destroyed (the @PreDestroy method may
> have been called). I think you may not have seen any troubles yet as
> you didn't reuse the sfsbs and hence you didn't notice these
> passivated instances were no longer active. Let's find out why the
> bean is not capable of being passivated. How does it look like? I
> guess it uses a logger instance or such with no transient keyword
> specified, doesn't it?
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> http://www.JacekLaskowski.pl
> 
> 

 hello jacek,

the only thing i do in the @PreDestroy method is to explicitly close the
entity manager via em.close() and then print a line to stdout that the
entitymanager was closed. am i not supposed to close the em?

thanks,

mario
-- 
View this message in context: http://www.nabble.com/Geronimo-2.0.2---OpenEJB-%22Passivation-Failed%22-tp15663519s134p15668868.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message