Wso2 Deployments

Backup the current version if the name matches:

for i in `ls *.car` ; do mv "/opt/wso2/esb/repository/deployment/server/carbonapps/"$i backups/ ; done

Now we can deploy all the car files:

for i in `ls *.car` ; do mv "/opt/wso2/esb/repository/deployment/server/carbonapps/"$i backups/ ; done

Watch deployment:

/opt/wso2/esb/repository/logs
[plataformasoa@wso2host logs]$ tail -f wso2carbon.log