Skip to main content

Glassfish server writing to /tmp on Linux by default

3 replies [Last post]
pshekade
Offline
Joined: 2008-12-11

Hello,

We have recently started using Glassfish. We are running it on Linux.

I noticed that every time I deploy an application it creates an entry in a folder in /tmp (names something like 's1astempdomain1server').

Is there any setting in Glassfish that would allow me to change the location of this server write from /tmp to some other folder?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
driscoll
Offline
Joined: 2003-06-06

This isn't actually a webtier specific problem, so it's not likely that we'll know the answer here. Please try over in the GlassFish specific forum, or on that GlassFish users alias - you'll hopefully have better luck there.

evickroy
Offline
Joined: 2004-07-23

We are having a similar problem since the files do not appear to ever be cleaned up. We are running out of disk space in /tmp. Is there a setting for how long to keep those files?

jeanvega
Offline
Joined: 2009-03-01

This is actually a question, which also bothers me. I'm using glassfish-v2ur2 and when trying to remote deploy large .war (cca 70 MB) glassfish uploads this file to /tmp first. Then starts to move it and deploy, but deployment process starts before the archive is completly moved (copied?) from /tmp which is on different partition.
Deployment process fails and that's why I need to change /tmp partition for glassfish to different. But I don't know how :(