1. Home
  2. Know how
  3. How to Start and Stop PCM?

How to Start and Stop PCM?

We have to log in to the server where the PCM is installed.

Goto peserver/bin directory to run wildfly in the background

To start wildfly server for PCM :

Run: nohup ./standalone.sh -b 0.0.0.0 & LAUNCH_JBOSS_IN_BACKGROUND=1
Run: ps -ef | grep standalone
Find the below entry to get the process id for the wildfly server that is currently running:
siunix 15859914 15007862 5 12:04:10 pts/1 1:14 /usr/java8_64/bin/java -D[Standalone] -server –
Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m –
Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headle
Run: nohup –p 15859914 (nohup –p )

To Stop the wildfly server:

Execute: ps –ef | grep standalone
Find the entry as below among the running process and get the process id:
siunix 15859914 15007862 5 12:04:10 pts/1 1:14 /usr/java8_64/bin/java -D[Standalone] -server -Xms64m –
Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true –
Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headle
and execute kill -9 15859914 (the process id of wildfly)

Updated on August 4, 2019

Was this article helpful?

Related Articles

Leave a Comment