This content has been marked as final.
Show 2 replies
-
1. Re: Deploy to remote Wildfly using jboss-cli non-interactive script
jaysensharma Dec 7, 2014 9:40 PM (in response to otinanism)The Correct command should be something like following:
Example:
./jboss-cli.sh -c controller=remoteIP:9990 --user=admin --password=admin@123 --command="deploy /PATH/TO/test.war"
If you get message like "'test.war' already exists in the deployment repository" which means your application was already deployed , this can be verified by looking at the jboss profile (like standalone.xml file there should be a tag <deployments> with your app info) So undeploy the app again and then deploy to verifiy the same or run the following command to list already existing deployed applications:
./jboss-cli.sh -c controller=remoteIP:9990 --user=admin --password=admin@123 --command="deployment-info"
-
2. Re: Deploy to remote Wildfly using jboss-cli non-interactive script
otinanism Dec 8, 2014 7:39 AM (in response to jaysensharma)Thank you that is correct! I am wondering if this is something that should be clearer on the documentation.