<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="create-resource-adapter-config-1">
<refmeta><refentrytitle>create-resource-adapter-config</refentrytitle><manvolnum>
1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="create-resource-adapter-config">create-resource-adapter-config &mdash;
creates the configuration information in <filename>domain.xml</filename> for
the connector module</primary></indexterm><indexterm><primary sortas="creates the configuration information in <filename>domain.xml</filename> for
the connector module">creates the configuration information in <filename>
domain.xml</filename> for the connector module &mdash; create-resource-adapter-config
</primary></indexterm><refname>create-resource-adapter-config</refname><refpurpose>
creates the configuration information in <filename>domain.xml</filename> for
the connector module</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>create-resource-adapter-config</command>&synopsis-common;
<arg choice="opt">&Dash;&Dash;threadpoolid <replaceable>threadpool</replaceable></arg>
<arg choice="opt">&Dash;&Dash;property (<replaceable>property name</replaceable>=<replaceable>
value</replaceable>)[:<replaceable>name</replaceable>=<replaceable>value</replaceable>]*
</arg><arg choice="plain"><replaceable>raname</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>The <command>create-resource-adapter-config</command> command creates
configuration information for the connector module. This command can be executed
prior to deploying a resource adapter, so that the configuration information
is available at the time of deployment. The resource adapter config can also
be created after the resource adapter is deployed. In this case, the resource
adapter is restarted with the new configuration. You must first create a threadpool,
using the <command>create-threadpool</command> command, and then identify
that threadpool value as the ID in the <option role="nodash">--threadpoolid
</option> option.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;target</option></term>
<listitem><para>This option has been deprecated.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;threadpoolid</option></term>
<listitem><para>The threadpool ID from which the work manager gets the thread.
This option takes only one threadpool ID.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;property</option></term>
<listitem><para>This option specifies the configuration properties of the
resource adapter java bean. The properties can be specified as name value
pairs separated by a colon (:).</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>raname</replaceable></term><listitem><para>
This operand indicates the connector module name. It is the value of the <classname>
resource-adapter-name</classname> in the <filename>domain.xml</filename> file.
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the <command>create-resource-adapter-config</command> command
</title>
<screen>asadmin> <userinput>create-resource-adapter-config --user admin 
<?Pub Caret>--passwordfile passwords.txt --property foo=bar --threadpoolid mycustomerthreadpool 
ra1</userinput>
Command create-resource-adapter-config executed successfully</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="create-threadpool-1"><citerefentry><refentrytitle>create-threadpool
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link linkend="delete-resource-adapter-config-1"><citerefentry>
<refentrytitle>delete-resource-adapter-config</refentrytitle><manvolnum>1
</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004844>
