i want to clean the jboss 7 tmp folder using java code
is there a way to do this? it should be use JMX? please help me i want to this code and thanks
i want to clean the jboss 7 tmp folder using java code
is there a way to do this? it should be use JMX? please help me i want to this code and thanks
I guess you need to get the file structure like this and have to clean/delete
internal files in that temp
folder.
JBoss AS 7: How to clean up tmp?
But please read the recommendation there.
This would give you the temp directory path which you can use in your java program create a file instance and carry out the operation.
System.getProperty("jboss.server.temp.dir");