Deploys the service assembly.
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. The default value is "true". | No |
jbi.service.assembly.name | Cannot be set along with the jbi.deploy.file option. Service assembly name to deploy a service assembly from the domain to other targets specified using the target attribute. Target attribute value cannot be set to 'domain'. The valid values for the target attribute are 'server', <cluster-name>, and <instance- name>. | Yes to deploy service assembly from domain. |
jbi.deploy.file | Cannot be set along with jbi.service.assembly.name option. Fully qualified file path to an archive file that contains the service assembly implementation. | Yes to deploy the service assembly with a new archive file. |
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. |
# deploy service assembly from file. asant -f jbi-install-root/bin/jbi_admin.xml -Djbi.port=7777 -Djbi.deploy.file="/mydir/my_sa.zip" -Djbi.target="server" deploy-service-assembly # deploy service assembly from domain to other targets asant -f jbi-install-root/bin/jbi_admin.xml -Djbi.port=7777 -Djbi.service.assembly.name="my_service_assembly" -Djbi.target="instance1" deploy-service-assembly
Copyright 2007, Sun Microsystems, Inc.