Category:Service
From ControlTier
A Service represents a long-running application service component.
The Service type defines a set of commands to manage startup and shutdown, including Start, Stop, Status, and Restart, and inherits the package deployment commands from its super type Deployment.
Contents |
Reference
Definition
Project XML
A Service can be registered in XML using the project.xml format. Here is an example.
File listing: service.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project PUBLIC "-//ControlTier Software Inc.//DTD Project Document 1.0//EN"
"project.dtd">
<project>
<!--
**
** Define the Service
**
-->
<deployment
type="Service"
name="tomcat1"
description="The Tomcat deployment."
installRoot="/opt/apache-tomcat-5.5.26"
basedir="/opt/apache-tomcat-5.5.26"
startuprank="1">
</deployment>
</project>
You can load this XML file using the ProjectBuilder load-objects command like so:
ctl -p project -m ProjectBuilder -c load-objects -- -filename service.xml
Querying
Use the ProjectBuilder find-objects command to list all "Service" instances:
$ ctl -p demo -m ProjectBuilder -c find-objects -- -type Service | |--(Service) tomcat1
For a graphical alternative, you can use the Graphical resource editor and view the services there.
Go to the Service list. You will see it list all services.
| |||||||||||||||||||||||
Pages in category "Service"
The following 12 pages are in this category, out of 12 total.
ACS |
S cont. |
S cont.T |

