Step 1: start the JBOSS using script OR Run standalone.sh file from JBOSS bin Directory
cd /JBOSS/jboss-eap-7.0/bin { In my case }
Screenshot 1:
Step 2: Run this script line from /JBOSS/jboss-eap-7.0/bin Directory.
to do the Deployment of Calendar Application.
./jboss-cli.sh -c controller=192.168.0.22:9990 --user=jboss --password=jboss123 --command="deploy /JBOSS/WAR_APP/Calendar.war"
Where,
deploy is for .war file deployment with proper path ,
Screenshot 2:
Step 3: Run this script line from /JBOSS/jboss-eap-7/bin Directory
to check the deployment status.
./jboss-cli.sh -c controller=192.168.0.22:9990 --user=jboss --password=jboss123 --command="deployment-info"
Screenshot 3:
Step 4; check the application from Console.
Screenshot 4:
Step 5: Check the deployed application from Console. [ at Default Port - 8080]
http://192.168.0.12:8080/Calendar
Where,
Calendar is Application Context root.
Screenshot 5:
Step 6: Run this script line from /JBOSS/jboss-eap-7/bin Directory
to undeploy the same application.
./jboss-cli.sh -c controller=192.168.0.22:9990 --user=jboss --password=jboss123 --command="undeploy Calendar.war"
Screenshot 6:
Step 7: Run this script line from /JBOSS/jboss-eap-7/bin Directory
to check the deployment status.
./jboss-cli.sh -c controller=192.168.0.22:9990 --user=jboss --password=jboss123 --command="deployment-info"
Screenshot 7:
No comments:
Post a Comment