<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Deploying+VDB+Dependencies">Deploying VDB Dependencies</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://docs.jboss.org/author/display/~shawkins">Steven Hawkins</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        updating warning<br />
    </div>
        <br/>
                         <h4>Changes (26)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-changed-lines" >Apart from deploying the VDB, the user is also responsible for providing all the necessary dependent libraries, configuration for creating the data sources that are needed by the models <span class="diff-changed-words"><span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>(schemas)</span> defined in <span class="diff-changed-words">&quot;META<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-INF/vdb.xml&quot;</span> file inside your VDB.  For example, if you are trying to integrate data from Oracle RDBMS and File sources in your VDB, then you are responsible for providing the JDBC driver for the Oracle source and any necessary documents and configuration that are needed by the File Translator. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >Data source instances may be used by single VDB, or may be shared with as other VDBs or other applications. Consider sharing connections to data sources that have <span class="diff-changed-words">heavy<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-weight</span> and resource constrained. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >With the exception of JDBC sources, other supported data sources have a corresponding JCA connector <span class="diff-changed-words"><span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>(.rar)</span> files in <span class="diff-changed-words">&quot;&lt;jboss<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-install&gt;/standalone/deployments&quot;&quot;</span> directory. Either directly edit the <span class="diff-changed-words">standalone<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-teiid.xml</span> or use CLI to create the required data sources by the VDB. Example configurations are provided for all the sources in  <span class="diff-changed-words">&quot;&lt;jboss<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-install&gt;/docs/teiid/datasources&quot;</span> directory. Note that in the _Domain_ mode, you must use CLI or <span class="diff-changed-words">admin<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-console</span> or AdminShell to configure the data sources. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >Some data sources may contain passwords or other sensitive information. See the WIKI article [EncryptingDataSourcePasswords|http://community.jboss.org/wiki/EncryptingDataSourcePasswords] to not store passwords in plain text. \[{color:red}This needs to verified on AS <span class="diff-changed-words">7.1{color}<span class="diff-added-chars"style="background-color: #dfd;">\</span>]</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >Once the VDB and its dependencies are deployed, then client applications can connect using the JDBC API. If there are any errors in the deployment, a connection attempt will not be successful and a message will be logged. You can use the <span class="diff-changed-words">admin<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-console</span> tool or check the log files for errors and correct them before proceeding. Check [Client Developer&#39;s Guide] on how to use JDBC to connect to your VDB. <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >The following is an example highlighting configuring an Oracle data source.  The process is nearly identical regardless of the database vendor. Typically the JDBC jar and the configuration like connection URL and user credentials change. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >There are configuration templates for all the data sources in the <span class="diff-changed-words">&quot;&lt;jboss<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-install&gt;/docs/teiid/datasources&quot;</span> directory. A complete description how a data source can be added into JBoss AS7.x is also described [here|http://community.jboss.org/docs/DOC-16657]. The below we present two different ways to create a datasource. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Deploying the JDBC Jar File <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{warning} <br></td></tr>
            <tr><td class="diff-changed-lines" >As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before <span class="diff-changed-words">7.<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">1</span><span class="diff-added-chars"style="background-color: #dfd;">2</span></span> Final. <br></td></tr>
            <tr><td class="diff-unchanged" >{warning} <br> <br>{tip:title=Developer&#39;s Tip} <br></td></tr>
            <tr><td class="diff-changed-lines" >If the JBoss AS 7.x is running in standalone mode, you can also manually edit the &quot;&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml&quot; file and add the XML configuration defined in &quot;&lt;jboss-install&gt;/docs/teiid/datasources/file&quot; directory under <span class="diff-changed-words">&quot;resource<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-adapters&quot;</span> subsystem. Shutdown the server before you edit this file, and restart after the modifications are done. <br></td></tr>
            <tr><td class="diff-unchanged" >{tip} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{warning} <br></td></tr>
            <tr><td class="diff-changed-lines" >As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before <span class="diff-changed-words">7.<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">1</span><span class="diff-added-chars"style="background-color: #dfd;">2</span></span> Final. <br></td></tr>
            <tr><td class="diff-unchanged" >{warning} <br> <br>{tip:title=Developer&#39;s Tip} <br></td></tr>
            <tr><td class="diff-changed-lines" >If the JBoss AS 7.x is running in standalone mode, you can also manually edit the &quot;&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml&quot; file and add the XML configuration defined in &quot;&lt;jboss-install&gt;/docs/teiid/datasources/web-service&quot; directory under <span class="diff-changed-words">&quot;resource<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-adapters&quot;</span> subsystem. Shutdown the server before you edit this file, and restart after the modifications are done. <br></td></tr>
            <tr><td class="diff-unchanged" >{tip} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >Each web service data source may choose a particular CXF config file and port configuration. The {{ConfigFile}} config property specifies the Spring XML configuration file for the CXF Bus and port configuration to be used by connections. If no config file is specified then the system default configuration will be used. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Only 1 port configuration can be used by this data source.  You may explicitly set the local name of the port QName to use via the {{ConfigName}} property.  The namespace URI for the QName in your config file should be <span class="diff-changed-words"><span class="diff-added-chars"style="background-color: #dfd;">[</span>http://teiid.org<span class="diff-added-chars"style="background-color: #dfd;">]</span>.</span> See the sections on <span class="diff-changed-words">WS<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-Security,</span> Logging, etc. for examples of using the CXF configuration file. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>{code:lang=xml|title=Sample Spring XML Configuration To Set Timeouts}&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot; <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >In the conduit name <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">\{http://teiid.org}configName.http\-conduit,</span> <span class="diff-added-words"style="background-color: #dfd;">\{[http://teiid.org]}configName.http-conduit,</span> the namespace, <span class="diff-changed-words"><span class="diff-added-chars"style="background-color: #dfd;">[</span>http://teiid.org<span class="diff-added-chars"style="background-color: #dfd;">]</span>,</span> is not configurable.  The local name is followed by <span class="diff-changed-words">.http<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-conduit.</span>  It will be based upon the configName setting, with a default value of teiid. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>See the [CXF documentation|http://cxf.apache.org/docs/] for all possible configuration options. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >{note}The CXF configuration is currently only applicable to <span class="diff-changed-words">non<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-binary</span> web service calls. <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;"> <br></td></tr>
            <tr><td class="diff-unchanged" >{note} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h3. <span class="diff-changed-words">WS<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-Security</span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">To enable the use of WS\-Security, the {{SecurityType}} should be set to WSSecurity. At this time Teiid does not expect a WSDL to describe the service being used. Thus a Spring XML configuration file is not only required, it must instead contain all of the relevant policy configuration. And just as with the general configuration, each data source is limited to specifying only a single port configuration to use. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">To enable the use of WS-Security, the {{SecurityType}} should be set to WSSecurity. At this time Teiid does not expect a WSDL to describe the service being used. Thus a Spring XML configuration file is not only required, it must instead contain all of the relevant policy configuration. And just as with the general configuration, each data source is limited to specifying only a single port configuration to use. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>batch <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Corresponding <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">xxx\-jbossws\-cxf.xml</span> <span class="diff-added-words"style="background-color: #dfd;">xxx-jbossws-cxf.xml</span> file that adds a timestamp to the SOAP header <br></td></tr>
            <tr><td class="diff-unchanged" > <br>{code:title=Example WS-Security enabled data source} <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Note that the client port configuration is matched to the data source instance by the QName <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">\{http://teiid.org}port\_x.</span> <span class="diff-added-words"style="background-color: #dfd;">\{[http://teiid.org]}port_x.</span> The configuration may contain other port configurations with different local names. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >For more information on configuring CXF interceptors, please consult the [CXF documentation|https://cwiki.apache.org/CXF20DOC/ws-security.html] or the <span class="diff-changed-words">[JBossWS<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-CXF</span> documentation|http://community.jboss.org/wiki/JBossWS-StackCXFUserGuide#WSSecurity]. <br></td></tr>
            <tr><td class="diff-unchanged" > <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >Corresponding <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">xxx\-jbossws\-cxf.xml</span> <span class="diff-added-words"style="background-color: #dfd;">xxx-jbossws-cxf.xml</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br>{code:title=Example logging data source}&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot; <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{warning} <br></td></tr>
            <tr><td class="diff-changed-lines" >As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before <span class="diff-changed-words">7.<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">1</span><span class="diff-added-chars"style="background-color: #dfd;">2</span></span> Final. <br></td></tr>
            <tr><td class="diff-unchanged" >{warning} <br> <br>{tip:title=Developer&#39;s Tip} <br></td></tr>
            <tr><td class="diff-changed-lines" >If the JBoss AS 7.x is running in standalone mode, you can also manually edit the &quot;&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml&quot; file and add the XML configuration defined in &quot;&lt;jboss-install&gt;/docs/teiid/datasources/salesforce&quot; directory under <span class="diff-changed-words">&quot;resource<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-adapters&quot;</span> subsystem. Shutdown the server before you edit this file, and restart after the modifications are done. <br></td></tr>
            <tr><td class="diff-unchanged" >{tip} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{note} <br></td></tr>
            <tr><td class="diff-changed-lines" >The CXF configuration in Salesforce data source is only used for http bus configuration not for purposes of <span class="diff-changed-words">ws<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-security,</span> Salesforce has its own security authentication. <br></td></tr>
            <tr><td class="diff-unchanged" >{note} <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>{warning} <br></td></tr>
            <tr><td class="diff-changed-lines" >As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before <span class="diff-changed-words">7.<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">1</span><span class="diff-added-chars"style="background-color: #dfd;">2</span></span> Final. <br></td></tr>
            <tr><td class="diff-unchanged" >{warning} <br> <br>{tip:title=Developer&#39;s Tip} <br></td></tr>
            <tr><td class="diff-changed-lines" >If the JBoss AS 7.x is running in standalone mode, you can also manually edit the &quot;&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml&quot; file and add the XML configuration defined in &quot;&lt;jboss-install&gt;/docs/teiid/datasources/ldap&quot; directory under <span class="diff-changed-words">&quot;resource<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">\</span>-adapters&quot;</span> subsystem. Shutdown the server before you edit this file, and restart after the modifications are done. <br></td></tr>
            <tr><td class="diff-unchanged" >{tip} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Apart from deploying the VDB, the user is also responsible for providing all the necessary dependent libraries, configuration for creating the data sources that are needed by the models (schemas) defined in "META-INF/vdb.xml" file inside your VDB.  For example, if you are trying to integrate data from Oracle RDBMS and File sources in your VDB, then you are responsible for providing the JDBC driver for the Oracle source and any necessary documents and configuration that are needed by the File Translator.</p>

<p>Data source instances may be used by single VDB, or may be shared with as other VDBs or other applications. Consider sharing connections to data sources that have heavy-weight and resource constrained.</p>

<p>With the exception of JDBC sources, other supported data sources have a corresponding JCA connector (.rar) files in "&lt;jboss-install&gt;/standalone/deployments"" directory. Either directly edit the standalone-teiid.xml or use CLI to create the required data sources by the VDB. Example configurations are provided for all the sources in  "&lt;jboss-install&gt;/docs/teiid/datasources" directory. Note that in the <em>Domain</em> mode, you must use CLI or admin-console or AdminShell to configure the data sources.</p>

<p>Some data sources may contain passwords or other sensitive information. See the WIKI article <a href="http://community.jboss.org/wiki/EncryptingDataSourcePasswords" class="external-link" rel="nofollow">EncryptingDataSourcePasswords</a> to not store passwords in plain text. [<font color="red">This needs to verified on AS 7.1</font>]</p>

<p>Once the VDB and its dependencies are deployed, then client applications can connect using the JDBC API. If there are any errors in the deployment, a connection attempt will not be successful and a message will be logged. You can use the admin-console tool or check the log files for errors and correct them before proceeding. Check <a href="/author/display/TEIID/Client+Developer%27s+Guide" title="Client Developer&#39;s Guide">Client Developer's Guide</a> on how to use JDBC to connect to your VDB.</p>


<h1><a name="DeployingVDBDependencies-JDBCDataSources"></a>JDBC Data Sources</h1>

<p>The following is an example highlighting configuring an Oracle data source.  The process is nearly identical regardless of the database vendor. Typically the JDBC jar and the configuration like connection URL and user credentials change.</p>

<p>There are configuration templates for all the data sources in the "&lt;jboss-install&gt;/docs/teiid/datasources" directory. A complete description how a data source can be added into JBoss AS7.x is also described <a href="http://community.jboss.org/docs/DOC-16657" class="external-link" rel="nofollow">here</a>. The below we present two different ways to create a datasource.</p>

<h3><a name="DeployingVDBDependencies-DeployingtheJDBCJarFile"></a>Deploying the JDBC Jar File</h3>

<p>First step in configuring the data source is deploying the required JDBC jar file. For example, if you are trying to create a Oracle data source, first you need to deploy the "ojdbc6.jar" file first. Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
   deploy /path/to/ojdbc6.jar
</pre>
</div></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually copy this 'ojdbc6.jar" to the "&lt;jboss-install&gt;/standalone/deployments" directory, to automatically deploy without using the CLI tool.</td></tr></table></div>

<h3><a name="DeployingVDBDependencies-CreateDataSource"></a>Create Data Source</h3>

<p>Now that you have the Oracle JDBC driver deployed, it is time to create a data source using this driver. There are many ways to create the datasource using CLI, <a href="/author/display/TEIID/AdminShell" title="AdminShell">AdminShell</a>, admin-console etc. The example shown below uses the CLI tool, as this works in both Standalone and Domain modes.</p>

<p>Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server. Make sure you provide the correct URL and user credentials and edit the JNDI name to match the JNDI name you used in VDB.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
/subsystem=datasources/data-source=oracel-ds:add(jndi-name=java:/OracleDS, driver-name=ojdbc6.jar, connection-url=jdbc:oracle:thin:{host}:1521:orcl,user-name={user}, password={password})

/subsystem=datasources/data-source=oracel-ds:enable
</pre>
</div></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually edit the "&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml" file and add the XML configuration defined in "&lt;jboss-install&gt;/docs/teiid/datasources/oracle" directory under "datasources" subsystem. Shutdown the server before you edit this file, and restart after the modifications are done.</td></tr></table></div>


<h1><a name="DeployingVDBDependencies-FileDataSources"></a>File Data Sources</h1>

<p>File data sources use a Teiid specific JCA connector "teiid-connector-file.rar", which is deployed into the AS7.x during installation. There are many ways to create the file data source, using CLI, <a href="/author/display/TEIID/AdminShell" title="AdminShell">AdminShell</a>, admin-console etc. The example shown below uses the CLI tool, as this works in both Standalone and Domain modes.</p>

<p>Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server. Make sure you provide the correct directory name and other properties below. Add any additional properties required by the connector by duplicating the "connection-definitions" command below. Edit the JNDI name to match the JNDI name you used in VDB.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=fileDS:add(archive=teiid-connector-file.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=fileDS/connection-definitions=fileDS:add(jndi-name=java:/fileDS, class-name=org.teiid.resource.adapter.file.FileManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=fileDS/connection-definitions=fileDS/config-properties=Parentdirectory:add(value=/home/rareddy/testing/)

/subsystem=resource-adapters/resource-adapter=fileDS/connection-definitions=fileDS/config-properties=AllowParentPaths:add(value=true)

/subsystem=resource-adapters/resource-adapter=fileDS/connection-definitions=fileDS:enable

runbatch
</pre>
</div></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>To find out all the properties that are supported by this File Connector execute the following command in the CLI.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">/subsystem=teiid:read-rar-description(rar-name=teiid-connector-file.rar)</pre>
</div></div></td></tr></table></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before 7.2 Final.</td></tr></table></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually edit the "&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml" file and add the XML configuration defined in "&lt;jboss-install&gt;/docs/teiid/datasources/file" directory under "resource-adapters" subsystem. Shutdown the server before you edit this file, and restart after the modifications are done.</td></tr></table></div>


<h1><a name="DeployingVDBDependencies-WebServiceDataSources"></a>Web Service Data Sources</h1>

<p>Web service data sources use a Teiid specific JCA connector "teiid-connector-ws.rar", which is deployed into the AS7.x during installation. There are many ways to create the file data source, using CLI, <a href="/author/display/TEIID/AdminShell" title="AdminShell">AdminShell</a>, admin-console etc. The example shown below uses the CLI tool, as this works in both Standalone and Domain modes.</p>

<p>Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server. Make sure you provide the correct endpoint and other properties below. Add any additional properties required by the connector by duplicating the "connection-definitions" command below. Edit the JNDI name to match the JNDI name you used in VDB.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=wsDS:add(archive=teiid-connector-ws.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=EndPoint:add(value={end_point})

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:enable

runbatch
</pre>
</div></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>To find out all the properties that are supported by this Web Service Connector execute the following command in the CLI.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">/subsystem=teiid:read-rar-description(rar-name=teiid-connector-ws.rar)</pre>
</div></div></td></tr></table></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before 7.2 Final.</td></tr></table></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually edit the "&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml" file and add the XML configuration defined in "&lt;jboss-install&gt;/docs/teiid/datasources/web-service" directory under "resource-adapters" subsystem. Shutdown the server before you edit this file, and restart after the modifications are done.</td></tr></table></div>


<h3><a name="DeployingVDBDependencies-CXFConfiguration"></a>CXF Configuration</h3>

<p>Each web service data source may choose a particular CXF config file and port configuration. The <tt>ConfigFile</tt> config property specifies the Spring XML configuration file for the CXF Bus and port configuration to be used by connections. If no config file is specified then the system default configuration will be used.</p>

<p>Only 1 port configuration can be used by this data source.  You may explicitly set the local name of the port QName to use via the <tt>ConfigName</tt> property.  The namespace URI for the QName in your config file should be <a href="http://teiid.org" class="external-link" rel="nofollow">http://teiid.org</a>. See the sections on WS-Security, Logging, etc. for examples of using the CXF configuration file.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Sample Spring XML Configuration To Set Timeouts</b></div><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: xml; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">&lt;beans xmlns="http://www.springframework.org/schema/beans"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
                xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
                http://cxf.apache.org/schemas/configuration/http-conf.xsd
                http://www.springframework.org/schema/beans
                http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;

        &lt;http-conf:conduit name="{http://teiid.org}configName.http-conduit"&gt;
                &lt;http-conf:client ConnectionTimeout="120000" ReceiveTimeout="240000"/&gt;
        &lt;/http-conf:conduit&gt;
&lt;/beans&gt;
</pre>
</div></div>

<p>In the conduit name {<a href="http://teiid.org" class="external-link" rel="nofollow">http://teiid.org</a>}configName.http-conduit, the namespace, <a href="http://teiid.org" class="external-link" rel="nofollow">http://teiid.org</a>, is not configurable.  The local name is followed by .http-conduit.  It will be based upon the configName setting, with a default value of teiid.</p>

<p>See the <a href="http://cxf.apache.org/docs/" class="external-link" rel="nofollow">CXF documentation</a> for all possible configuration options.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>The CXF configuration is currently only applicable to non-binary web service calls.</td></tr></table></div>

<h3><a name="DeployingVDBDependencies-WSSecurity"></a>WS-Security</h3>

<p>To enable the use of WS-Security, the <tt>SecurityType</tt> should be set to WSSecurity. At this time Teiid does not expect a WSDL to describe the service being used. Thus a Spring XML configuration file is not only required, it must instead contain all of the relevant policy configuration. And just as with the general configuration, each data source is limited to specifying only a single port configuration to use.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=wsDS:add(archive=teiid-connector-ws.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=ConfigFile:add(value=${jboss.server.home.dir}/standalone/configuration/xxx-jbossws-cxf.xml)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=ConfigName:add(value=port_x)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=SecurityType:add(value=WSSecurity)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:enable

runbatch
</pre>
</div></div>


<p>Corresponding xxx-jbossws-cxf.xml file that adds a timestamp to the SOAP header</p>

<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example WS-Security enabled data source</b></div><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws
          http://cxf.apache.org/schemas/jaxws.xsd"&gt;

    &lt;jaxws:client name="{http://teiid.org}port_x"
        createdFromAPI="true"&gt;
        &lt;jaxws:outInterceptors&gt;
            &lt;bean class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor"/&gt;
            &lt;ref bean="Timestamp_Request"/&gt;
        &lt;/jaxws:outInterceptors&gt;
    &lt;/jaxws:client&gt;

    &lt;bean
        class="org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor"
        id="Timestamp_Request"&gt;
        &lt;constructor-arg&gt;
            &lt;map&gt;
                &lt;entry key="action" value="Timestamp"/&gt;
            &lt;map&gt;
        &lt;/constructor-arg&gt;
    &lt;/bean&gt;

&lt;/beans&gt;
</pre>
</div></div>

<p>Note that the client port configuration is matched to the data source instance by the QName {<a href="http://teiid.org" class="external-link" rel="nofollow">http://teiid.org</a>}port_x. The configuration may contain other port configurations with different local names.</p>

<p>For more information on configuring CXF interceptors, please consult the <a href="https://cwiki.apache.org/CXF20DOC/ws-security.html" class="external-link" rel="nofollow">CXF documentation</a> or the <a href="http://community.jboss.org/wiki/JBossWS-StackCXFUserGuide#WSSecurity" class="external-link" rel="nofollow">JBossWS-CXF documentation</a>.</p>


<h3><a name="DeployingVDBDependencies-Logging"></a>Logging</h3>

<p>The CXF config property may also be used to control the logging of requests and responses for specific or all ports.  Logging, when enabled, will be performed at an INFO level to the org.apache.cxf.interceptor context.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example logging data source</b></div><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=wsDS:add(archive=teiid-connector-ws.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:add(jndi-name=java:/wsDS, class-name=org.teiid.resource.adapter.ws.WSManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=ConfigFile:add(value=${jboss.server.home.dir}/standalone/configuration/xxx-jbossws-cxf.xml)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS/config-properties=ConfigName:add(value=port_x)

/subsystem=resource-adapters/resource-adapter=wsDS/connection-definitions=wsDS:enable

runbatch
</pre>
</div></div>

<p>Corresponding xxx-jbossws-cxf.xml</p>

<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example logging data source</b></div><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd
          http://cxf.apache.org/jaxws
          http://cxf.apache.org/schemas/jaxws.xsd"&gt;

    &lt;jaxws:client name="{http://teiid.org}port_y"
        createdFromAPI="true"&gt;
        &lt;jaxws:features&gt;
            &lt;bean class="org.apache.cxf.feature.LoggingFeature"/&gt;
        &lt;/jaxws:features&gt;
    &lt;/jaxws:client&gt;

&lt;/beans&gt;</pre>
</div></div>

<h3><a name="DeployingVDBDependencies-TransportSettings"></a>Transport Settings</h3>

<p>The CXF config property may also be used to control low level aspects of the HTTP transport.  See the <a href="http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html" class="external-link" rel="nofollow">CXF documentation</a> for all possible options.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Example Disabling Hostname Verification</b></div><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
       xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
                           http://cxf.apache.org/schemas/configuration/http-conf.xsd
                           http://www.springframework.org/schema/beans
                             http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;

  &lt;http-conf:conduit name="{http://teiid.org}port_z.http-conduit"&gt;
     &lt;!-- WARNING ! disableCNcheck=true should NOT be used in production --&gt;
     &lt;http-conf:tlsClientParameters disableCNcheck="true" /&gt;

  &lt;/http-conf:conduit&gt;
&lt;/beans&gt;
</pre>
</div></div>

<h1><a name="DeployingVDBDependencies-SalesforceDataSources"></a>Salesforce Data Sources</h1>

<p>Salesforce data sources use a Teiid specific JCA connector "teiid-connector-salesforce.rar", which is deployed into the AS7.x during installation. There are many ways to create the salesforce data source, using CLI, <a href="/author/display/TEIID/AdminShell" title="AdminShell">AdminShell</a>, admin-console etc. The example shown below uses the CLI tool, as this works in both Standalone and Domain modes.</p>

<p>Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server. Make sure you provide the correct URL and user credentials. Add any additional properties required by the connector by duplicating the "connection-definitions" command below. Edit the JNDI name to match the JNDI name you used in VDB.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=sfDS:add(archive=teiid-connector-salesforce.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=sfDS/connection-definitions=sfDS:add(jndi-name=java:/sfDS, class-name=org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=sfDS/connection-definitions=sfDS/config-properties=URL:add(value=https://www.salesforce.com/services/Soap/u/22.0)

/subsystem=resource-adapters/resource-adapter=sfDS/connection-definitions=sfDS/config-properties=username:add(value={user})

/subsystem=resource-adapters/resource-adapter=sfDS/connection-definitions=sfDS/config-properties=password:add(value={password})

/subsystem=resource-adapters/resource-adapter=sfDS/connection-definitions=sfDS:enable

runbatch
</pre>
</div></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>To find out all the properties that are supported by this Salesforce Connector execute the following command in the CLI.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">/subsystem=teiid:read-rar-description(rar-name=teiid-connector-salesforce.rar)</pre>
</div></div></td></tr></table></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before 7.2 Final.</td></tr></table></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually edit the "&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml" file and add the XML configuration defined in "&lt;jboss-install&gt;/docs/teiid/datasources/salesforce" directory under "resource-adapters" subsystem. Shutdown the server before you edit this file, and restart after the modifications are done.</td></tr></table></div>

<h3><a name="DeployingVDBDependencies-CXFConfiguration"></a>CXF Configuration</h3>

<p>Salesforce service data source may choose a particular CXF config file and port configuration. The <tt>ConfigFile</tt> config property specifies the Spring XML configuration file for the CXF Bus and port configuration to be used by connections. If no config file is specified then the system default configuration will be used.</p>

<p>Only 1 port configuration can be used by this data source.  The namespace URI for the QName in your config file should be "urn:partner.soap.sforce.com", with configuration name "Soap". For sample cxf configuration file and details on configuration see <a href="/author/pages/createpage.action?spaceKey=TEIID&amp;title=Web+Service+Data+Sources&amp;linkCreation=true&amp;fromPageId=18646055" class="createlink">Web Service Data Sources</a></p>


<p>See the <a href="http://cxf.apache.org/docs/" class="external-link" rel="nofollow">CXF documentation</a> for all possible configuration options.</p>

<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>The CXF configuration in Salesforce data source is only used for http bus configuration not for purposes of ws-security, Salesforce has its own security authentication.</td></tr></table></div>

<h1><a name="DeployingVDBDependencies-LDAPDataSources"></a>LDAP Data Sources</h1>

<p>LDAP data sources use a Teiid specific JCA connector "teiid-connector-ldap.rar", which is deployed into the AS7.x during installation. There are many ways to create the ldap data source, using CLI, <a href="/author/display/TEIID/AdminShell" title="AdminShell">AdminShell</a>, admin-console etc. The example shown below uses the CLI tool, as this works in both Standalone and Domain modes.</p>

<p>Execute following command using <a href="https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-RunningtheCLI" class="external-link" rel="nofollow">CLI</a> once you connected to the Server. Make sure you provide the correct URL and user credentials. Add any additional properties required by the connector by duplicating the "connection-definitions" command below. Edit the JNDI name to match the JNDI name you used in VDB.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
batch

/subsystem=resource-adapters/resource-adapter=ldapDS:add(archive=teiid-connector-ldap.rar, transaction-support=NoTransaction)

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS:add(jndi-name=java:/ldapDS, class-name=org.teiid.resource.adapter.ldap.LDAPManagedConnectionFactory, enabled=true, use-java-context=true)

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS/config-properties=LdapUrl:add(value=ldap://ldapServer:389)

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS/config-properties=LdapAdminUserDN:add(value={cn=???,ou=???,dc=???})

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS/config-properties=LdapAdminUserPassword:add(value={pass})

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS/config-properties=LdapTxnTimeoutInMillis:add(value=-1)

/subsystem=resource-adapters/resource-adapter=ldapDS/connection-definitions=ldapDS:enable

runbatch
</pre>
</div></div>

<div class='panelMacro'><table class='infoMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/information.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>To find out all the properties that are supported by this Salesforce Connector execute the following command in the CLI.
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">/subsystem=teiid:read-rar-description(rar-name=teiid-connector-ldap.rar)</pre>
</div></div></td></tr></table></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>As of AS 7.1 CR1b release the above does not work without restarting the Server. This issue will be fixed before 7.2 Final.</td></tr></table></div>

<div class='panelMacro'><table class='tipMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>Developer's Tip</b><br />If the JBoss AS 7.x is running in standalone mode, you can also manually edit the "&lt;jboss-install&gt;/standalone/configuration/standalone-teiid.xml" file and add the XML configuration defined in "&lt;jboss-install&gt;/docs/teiid/datasources/ldap" directory under "resource-adapters" subsystem. Shutdown the server before you edit this file, and restart after the modifications are done.</td></tr></table></div>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://docs.jboss.org/author/display/TEIID/Deploying+VDB+Dependencies">View Online</a>
        |
        <a href="https://docs.jboss.org/author/pages/diffpagesbyversion.action?pageId=18646055&revisedVersion=5&originalVersion=4">View Changes</a>
                |
        <a href="https://docs.jboss.org/author/display/TEIID/Deploying+VDB+Dependencies?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>