I need to deploy a WAR file in JBOSS using CLI and want to send a JVM command line parameter that is used in the application. The CLI command for the deployment is:
deploy --name=xxx-api.war --server-groups=server-group1 /war/locn/xxx-api-$rel_name.war
I need to pass the below a java command line parameter:
-Dspring.profiles.active=enableScheduler
How can it be done?