1

Hy,

I want delete the tmp folder when I restart the Wildfly service. Do I modify the standalone.xml or another file ?

Sam

Samuel_
  • 177
  • 3
  • 16

2 Answers2

0

I have solved this problem with modifying the standalone.conf.bat file.

I added : rmdir %JBOSS_HOME%\standalone\tmp /s /q

It's a temporary solving. If someone have a better idea ?

Samuel_
  • 177
  • 3
  • 16
0

we basically do the same thing as your answer. I searched and found that jboss7 had some flags you could use for vfs lifecycle, maybe they still exist for WFLY?

see JBoss AS 7: How to clean up tmp?

Community
  • 1
  • 1
sprockets
  • 981
  • 1
  • 6
  • 16