Prints information about service engines.
Option | Description | Required |
jbi.host | The machine name where the Domain Administration Server (DAS) is running. The default value is "localhost". | No |
jbi.port | The HTTP/S port for DAS administration. The default value is "4848". | No |
secure | If set to true, uses SSL/TLS to communicate with the DAS. The default value is "false". | No |
jbi.username | The authorized DAS administrator user name. The default value is "admin". | No |
jbi.password | Password for the user authentication. The default value is "adminadmin". | No |
jbi.task.fail.on.error | Signal task failure to Ant. Defaults to "true". | No |
jbi.list.xml.output | If this property is set, the list output is in xml format. | No |
jbi.service.engine.name | If supplied, only the named service engine is reported. If the service engine doesn't exist, an empty list is reported. | No |
jbi.component.state |
Lists the engines that are in the specified state.
Without this parameter, service engines with any state will be listed. Valid states are : "started", "stopped" and "shutdown". |
No |
jbi.shared.library.name |
Lists the engines that are dependent on the specified shared library.
Without this parameter, shared library dependencies are not verified. |
No |
jbi.service.assembly.name |
Lists the engines that have service units deployed to them as part of the service assembly deployed in the JBI environment.
Without this parameter, service assembly dependencies are not verified. |
No |
jbi.target | Specifies where the JBI administration tasks are performed. The default value is 'server'. | No |
jbi.target Value | Behavior |
'server' | When the target option is not specified, or the literal string 'server' is specified, the task is executed against the embedded DAS server instance. |
'domain' | When the target option is the literal string 'domain', the task is executed against the domain itself, but not to any instances or clusters running on the domain. |
<cluster-name> | When a <cluster-name> is specified, the task is executed against all instances in the specified cluster. |
<instance-name> | When a <instance-name> is specified, the task is executed against the specific instance specified. |
asant -f jbi-install-root/bin/jbi_admin.xml -Djbi.port=7777 -Djbi.target="domain" list-service-engines
Copyright 2007, Sun Microsystems, Inc.