Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it safe to empty the tmp folder from Jboss/Server/default?

Tags:

jboss

jboss5.x

I'm using JBoss 5.1.0.GA, I notticed the tmp folder at: server/default/tmp is mora than 1GB big.

Can I safely delete all the files in it?

like image 451
Hectoret Avatar asked Aug 27 '10 08:08

Hectoret


People also ask

Can we delete tmp folder in JBoss?

These folders can all be deleted without effecting the application deployed in deployments folder unless your application generated Data that's stored in those folders. In development, its ok to delete all these 3 new folders assuming you don't have any need for the logs and data stored in "data" directory.

Is it safe to delete everything in TMP?

You can remove the content from /tmp/ ; but the issue with doing so is that if you have a service that regularly writes to /tmp/ and you delete the files you may make the service crash or break until it's restarted. Save this answer. Show activity on this post.

Can I delete tmp folder?

The temp folder will open. You can also access it on your Windows 10 PC via the shortcut button below, then choose Temporary files. Press the CTRL + A keys at the same time to select all items. Press the DELETE key, and then click Yes when the User Account Control window appear to confirm.

Is tmp folder important?

All operating systems and apps create and store temporary files on your computer to help programs run faster and more smoothly. But temporary files can quickly clog up a hard drive, wasting valuable storage space and hindering performance.


2 Answers

Yes, it is safe to delete server/default/tmp, as well as server/default/work.


http://docs.jboss.org/jbossas/getting_started/v5/html/tour.html

Search for "run -c myconfig" on that page; the relevant info is immediately below. Unfortunately I can't get you a direct link to that section of the page, sorry!

like image 160
Matt Ball Avatar answered Nov 26 '22 04:11

Matt Ball


Yes, it's safe to delete the Temp Folder, work, as well as log folder from the location server/default/.

It ensures you are free of any shadow copy of your previous project.

like image 20
Punjan Sudhar Avatar answered Nov 26 '22 04:11

Punjan Sudhar