geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Weber <webe...@gmail.com>
Subject Semantics of application restart
Date Thu, 15 Jan 2009 12:39:05 GMT

Hi, what happens if you restart an application from the console? 

I tried to cache properties loaded from an LDAP server in a pojo singleton.
I expected that if you restart an application, the classloader of the
application is thrown away and all classes re-instantiated.
But, looks like this is not the case, the singleton is still there after
restart.

I changed my code to empty the cache from the @PostConstruct method, this
works.

Thanks,
Juergen

-- 
View this message in context: http://www.nabble.com/Semantics-of-application-restart-tp21476759s134p21476759.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message