Thursday, 30 July 2015

Jboss and Apache Useful Commands

1. ActiveMQ sever startup code will be found in the below directory
----------------------------------------------------------------------
[root@msi-vmqaismap bin]# pwd

   /opt/SP2_QA/apache-activemq-5.8.0/bin

2. START ActiveMQ Process
---------------------------
   ./activemq start

3. STOP ActiveMQ Process
---------------------------
   ./activemq stop

4. JBOSS sever startup code will be found in the below directory
--------------------------------------------------------------------
[root@msi- vmqaismap bin]# pwd

/opt/Jboss/jboss-eap-5.1/jboss-as/bin

5. To start  the JBOSS services:
----------------------------------
nohup ./run.sh –c default –b 0.0.0.0 &

6. To stop  the JBOSS services:
----------------------------------
./shutdown.sh –S

OR

kill -9 <PID>

7. ActiveMQ – Checking the status of the services
---------------------------------------------------
cd /opt/apache-activemq-5.8.0/bin

./activemq status

8. Jboss – Checking the status of the services
---------------------------------------------------------
cd /opt/JBOSS/jboss-eap-5.1/jboss-as/bin

ps –ef |grep jboss

9. To check the Web server (Apache) status, use below command:
------------------------------------------------------------------
cd /opt/JBOSS/jboss-eap-5.1/jboss-as/bin

  ps –ef |grep httpd
       
10. To start Apache server from Application Server (Jboss) use the below command:
-----------------------------------------------------------------------------------
/opt/SP2_QA/SYSTEMi/Apache/bin/httpd –f

/opt/SP2_QA/SYSTEMi/Apache/conf/httpd.conf –k start

No comments:

Post a Comment