I have created a sample.war file which I load onto the Red5 server in /opt/red5/webapps directory. After waiting for a minute (I've set the time as 60000) the sample.war file is deleted and instead I have a sample/ directory, which I need.
Now the challenge is, if I modify my sample.war file and put it again in /opt/red5/webapps directory, then red5 gives the message "Application sample already installed, please un-install before attempting another install"
If I delete the /opt/red5/webapps/sample directory, then the sample.war is extracted, but my flex front-end still refers to the old installation and follows the old methods. If I restart red5 then the issue is resolved and all is well.
I need to understand how to undeploy an application in Red5, or maybe "redeploy". I'm using Apache Ant and standalone version of Red5 server version 0.8. I'm not using an IDE such as Eclipse. Red5 v0.8 standalone probably uses Jetty.