Index Changes
This is version 1. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Task: jbi-list-configuration

Description

This task prints the list of configuration parameters available for a jbi instance.

Example Output

========================================
    List of Configuration Parameters for Target="my-cluster"
========================================
Category: CommonService
  Name        : start-on-install
   Value      : false
   Description: starts any jbi component during install 
  Name        : default-log-level
   Value      : INFO
   Description: default log level for the system


Category: ManagementService Name : auto-clean Value : false Description: removes the component files after uninstall

- ---------------------------------------

Parameters

Attribute Description Required
host The machine name where the Domain Administration Server (DAS) is running. The default value is localhost. No
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. No
username The authorized DAS administrator user name. Yes
password Password for user authentication. Yes. Not required if passwordfile is set.
passwordfile This aplication server-specific attribute processes the password from a properties file with the property "AS_ADMIN_PASSWORD". If you set the password and passwordfile attribute, passwordfile takes precedence. No
failOnError Signal task failure to Ant. The default value is "true". No
xmlOutput Property name to save the list output in xml format. If set, the task will not output the formatted text output, but sets the property value with the list output in xml format. No
sharedLibraryName If supplied, only the named shared library is reported. If the shared library does not exist, an empty component-list report is given. No
componentName Lists the shared libraries that the component depends on.
Without this parameter, all the shared libraries in the JBI environment are displayed.
No
target Specifies where the JBI administration tasks are performed. The default value is 'server'. No

Target Attribute Values

Target Attribute 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.

Examples

<!--
Load JBI task definitions.
Note:  If you use the asant command, you do not need to load the JBI task defininitions
as they are already defined in the default task definitions in the asant environment.
-->
<taskdef resource="com/sun/jbi/ui/ant/antlib.xml" />
<!-- list all the shared libraries installed in the JBI environment -->
<jbi-list-shared-libraries host="localhost" port="7890" target="domain" />
<!-- list shared libraries that this component with name="my_comp_name" depends on -->
<jbi-list-shared-libraries  componentName="my_comp_name" />

Copyright 2007, Sun Microsystems, Inc.


Back to Glassfish9.1Ant or to GlassfishIntegration9.1

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This particular version was published on 23-Apr-07 18:41 PM, -0700 by srini_chikkala