[Jetty-support] ContextLoader in 5.1.11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Jetty-support] ContextLoader in 5.1.11

Tony Thompson
In Jetty 5, ContextLoader creates JAR files in the temp directory for resources it apparently extracts from a WAR file:
 
File jar= File.createTempFile("Jetty-", ".jar", lib);

jar.deleteOnExit();

Is there a reason why these JAR files can't be deleted when the context is shut down instead of when the JVM shuts down?  It seems like these JAR files hang around if the context is restarted a lot and they don't get deleted all the time when the JVM is shut down (for various reasons).  Or, could the contexts temp space be cleared when it is starting up?
 
Thanks.
Tony
 
This message (and any associated files) is intended only for the
use of the individual or entity to which it is addressed and may
contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient
you are hereby notified that any dissemination, copying or
distribution of this message, or files associated with this message,
is strictly prohibited. If you have received this message in error,
please notify us immediately by replying to the message and deleting
it from your computer. Messages sent to and from Stoneware, Inc.
may be monitored.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support