<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<!--Arbortext, Inc., 1988-2007, v.4002-->
<?Pub UDT _bookmark _target>
<?Pub EntList bull rArr sect>
<refentry id="create-resource-adapter-config-1">
<!-- @(#)create-resource-adapter-config.1 1.10 07/04/25 SMI; -->
<refmeta><refentrytitle>create-resource-adapter-config</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">30 Jan 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary><command>create-resource-adapter-config</command> command</primary></indexterm><indexterm><primary><filename>domain.xml</filename> file</primary></indexterm><indexterm><primary>connector module</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></title>
<synopsis><command>create-resource-adapter-config</command> &synopsis-common;
 [<option role="double-dash">threadpoolid</option> <replaceable>threadpool</replaceable>] [<option role="double-dash">property</option> (<replaceable>property name</replaceable>=<replaceable>value</replaceable>)[:<replaceable>name</replaceable>=<replaceable>value</replaceable>]*]
 <replaceable>raname</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></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>--threadpoolid
</option> option.</para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="double-dash">target</option></term>
<listitem><para>This option has been deprecated.</para>
</listitem>
</varlistentry>
<varlistentry><term><option role="double-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="double-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 role="operands"><title></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 role="examples"><title></title>
<example><title>Using the <command>create-resource-adapter-config</command> command</title>
<screen>asadmin> <userinput>create-resource-adapter-config --user admin 
--passwordfile passwords.txt --property foo=bar --threadpoolid mycustomerthreadpool 
ra1</userinput>
Command create-resource-adapter-config executed successfully</screen>
</example>
</refsect1>
<refsect1 role="exit-status"><title></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 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="create-threadpool-1">create-threadpool(1)</olink>, <olink targetdoc="asrefman" targetptr="delete-resource-adapter-config-1">delete-resource-adapter-config(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000004741 0>
