Re: Formatting a date

Alex Twisleton-Wykeham-Fiennes <[email protected]> Tue, 28 Mar 2006 14:45:24 +0100
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
On Tue 28 March 2006 10:06, Endre St=F8lsvik wrote:
> | > How? (And how do I reload my webapp in Tomcat?)
> |
> | Same answer for both question:  same as you always did.
>
> It doesn't really work properly, due to the combination of third party
> libraries' use of ThreadLocals (incl. WM if I remember my testing
> correct), Tomcat's "reuse" of its Thread-pool, and this bug:
>   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=3D6254531
>
> Have you tried to reload webapps with Tomcat? It "works", but you'll leak
> memory: The ClassLoader isn't reaped, and all your caches' memory that
> can't be cleaned with some WM.shutdown() will _never_ be reclaimed.

not in the current CVS build.  My Class objects are getting cleanly unloade=
d=20
during reloading. Fixed that one with some of my recent patches.  If your=20
classes are not getting reloaded then it is not WebMacro's fault as far as =
I=20
can find out...

<snip>

> Re: the "lets not have discussions about proposed solutions" argument: I=
=20
> won't be using WebMacro much more from June on, I believe. Then that'll be
> good riddance for WebMacro! (.. and btw, I have actually tried to give
> some small pieces of code to WM, but it apparently wasn't accepted..)

coolio.  I'll not bother getting into a religious war with you about writin=
g=20
thread safe code and will get on with my job.  Enjoy whichever community yo=
u=20
move onto...

Alex


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642