Skip to main content

GlassFish: temporary files

3 replies [Last post]
shourisha
Offline
Joined: 2008-01-24

When deploying a lot, GlassFish makes temporary files out of WAR's, EAR's etc in "/tmp" directory (Unix/Linux). However, it never gets to be deleted. Does anyone knows how to properly purge this space waste?..

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
shourisha
Offline
Joined: 2008-01-24

Nobody knows??...

writtmeyer
Offline
Joined: 2006-11-17

The folder that GlassFish creates for temporary files and all files in it get deleted when you stop the server - which for production systems is no ideal solution.

In the next version v3 any war file uploaded for deployment gets deleted immediately after the deployment.

T-Gergely
Offline
Joined: 2012-08-08

Alas, this still happens in 4.0 (build 89).