Microsystems Technology Laboratories > OpenCoral
 

Starting, Testing, and Stopping xReporter

Starting xReporter

xReporter is started by starting both the Tomcat and Phoenix packages. We have configured things so that both Tomcat and Phoenix should be automatically started if/when the machine reboots by the initialization scripts /etc/init.d/tomcat6 and /etc/init.d/phoenix, respectively. However, they can also be started by the root by issuing the following commands:

# /etc/init.d/tomcat6 start
# /etc/init.d/phoenix start

Alternatively, as the coral user, you can issue the following commands:

$ /usr/local/tomcat6/bin/startup.sh
$ /usr/local/phoenix/bin/phoenix.sh start

To check that these processes have been started, you can run the following "ps" commands. Each of them should return a single process.

ps -ef | grep [t]omcat
ps -ef | grep [p]hoenix

Stopping xReporter

While you will not normally stop xReporter once it is running, if you wish to install it for some reason you can issue the follwoing commands as the root user:

# /etc/init.d/tomcat6 stop
# /etc/init.d/phoenix stop

Alternatively, as the coral user you can issue the following commands:

$ /usr/local/tomcat6/bin/shutdown.sh
$ /usr/local/phoenix/bin/phoenix.sh stop