Target: upgrade-component

Description

Upgrades the specified component in the JBI runtime.

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.component.name Specifies the component to update. The component with this name must exist in the JBI runtime. Yes
jbi.install.file Fully qualified file path to an archive file that contains the updated component implementation. Yes

Example

# upgrades the "my-engine" with new code from the updated archive file my-updated-engine.zip
asant -f jbi-install-root/bin/jbi_admin.xml -Djbi.component.name="my-engine"
  -Djbi.install.file="/mydir/my-updated-engine.zip" upgrade-component    

Copyright 2007, Sun Microsystems, Inc.