12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring JDBC Datasources<br />

To add pool properties, click the Add button and select the property you want to add<br />

from the drop-down list under “Name.” Pool Properties are described in “Defining the<br />

Connection Pool Properties for a JDBC Datasource” on page 199. The same<br />

procedure is used for adding Driver Properties.<br />

Consult your database documentation for any properties you need to define.<br />

Once you're finished, save the module and dismiss the final modal window. The JNDI<br />

Definitions Module is automatically re-deployed to the Partition.<br />

Deploying Driver Libraries<br />

If a deployed application component contains a JNDI lookup of third party JDBC<br />

datasource, vendor libraries are required and must be deployed to the target Partition<br />

as a library archive before the lookup is performed. Note that these steps are not<br />

necessary if you are using the native all-Java database, JDataStore. When trying to<br />

connect to another database like Oracle or Sybase the respective JDBC driver must<br />

first be deployed to the target Partition. To deploy a library to multiple partitions do the<br />

following:<br />

1 From the Console, select Wizard->Deployment Wizard. This will open the<br />

Deployment Wizard.<br />

2 Click on the Add button and navigate to the library file in the resulting window and<br />

click OK. The library name should now appear in the selection box in the<br />

Deployment Wizard.<br />

3 Click on the Next button. The names of the partitions will appear in the Deployment<br />

Wizard window.<br />

4 Select the partitions to which you want to deploy the library and click on the Finish<br />

button. The deployment status will appear in a separate window.<br />

5 Click the Close button to close this window. You can verify that the libraries are<br />

deployed correctly by checking the partition's Deployed Modules node in the BES<br />

Console navigation pane. The name of the library should appear under the<br />

Deployed Modules node.<br />

198 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!