Brief Installation details of JBoss
-
wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz
-
Rename jboss-as-7.1.1.Final.tar.gz to jboss (# mv jboss-as-7.1.1.Final.tar.gz jboss). and the folder structure looks like this. /home/app/jboss
-
Copy the war file webapp.war to /home/app/jboss/
standalone/deployments -
To start jboss first remove nohup.out– /home/app/jboss/bin–
rm nohup.out -
Start using following command–nohup sh ./standalone.sh -b 0.0.0.0 &
-
To see the LOG– tail -f nohup.out
-
After start we need to run the command at /home/app/jboss/
current/standalone/ deployments: -
rm webapp.war.dodedploy
-
touch webapp.war.dodeploy
-
To see the Logs run–tail -f server.log at /home/app/jboss/
standalone/log -
To kill JBOSS:- check the process id of jboss with the command #PS -ef |grep jboss or #pgrep -f jboss
-
kill -9 processID