Index Changes
Return To Previous Page

update-jbi-application-variable

Update application variables for the specified component. Application variables are set using the following format name=typevalue. If the type is not specified, the default type "String" will be used. The valid types are "String", "Number", "Boolean" and "Password". When updating a variable, the type of the variable specified must match the type of the variable when it was created.
OperandOperand DescriptionRequired
(name=[type]value)[,name=[type]value]* | filepath Contains name=value pairs separated by a comma, or a name of a file that contains the name=value pairs for the application variables that will be updated. (i.e. properties file). If the operand contains spaces or contains the square brackets specifying the type, the operand must be in cased within double quotes. The type specified must match what was originally specified in the create commandYes

OptionValueOption DescriptionRequired Option
--echo | -e true | false If true the command specified on the command line will be echoed to system output. No
--interactive| -I true | false If set to true (default), only the required password options are prompted. No
--terse | -t true | false If true, the output will be reduced to the minimal amount. No
--port | -p port number The HTTP/S port for administration. Default port for PE: 4848, default port for EE: 4849 No
--secure | -s true | false If set to true, uses SSL/TLS to communicate with the domain administration server. No
--host | -H localhost The machine name where the JBI application is running. The default value is localhost. No
--user | -u admin user The authorized domain administration server administrative username. Yes
--passwordfile filename The name of a file containing the password entries. Yes
--component component nameThe name of the component that contains the application configuration which will be updated.Yes
--target target name | 'server' The name of the target to install the component on. See Target Option Behavior for more information. No
--help-Displays the help text for the command.No

Examples

Example 1:

update-jbi-application-variable --component=cli-config-binding FirstName=[String]Fred,LastName=Smith,t=[BOOLEAN]true,f=[BOOLEAN]false
Command update-jbi-application-variable executed successfully.


Example 2:

update-jbi-application-variable --component=cli-config-binding some-property-file.properties
Command update-jbi-application-variable executed successfully.

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-17) was last changed on 15-Feb-08 09:27 AM, -0800 by Mark Saunders