I want to do post-deploy script using standalone wsadmin. It should delete all caches on profile (/profile/temp /profile/myCacheFolder). My question is, is it possible to do this with wsadmin? If so how? Can I somehow use AdminConfig.deleteDocument or something like this?
thank you
With
AntAgentMBean you can upload ant script and then invoke it on remote node:http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/mbeanDocs/AntAgent.html
fileContentvariable is you Ant script, you may have to tweak it a bit more, especially on Windows in order to deal with blocked files/directories.