10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9: Configuring BPEL Services<br />

■ Embedded Storage — This option sets the persistence mode to persistent, using<br />

the embedded Hypersonic database. Optionally, you can specify a storage<br />

directory for the persistent processes. If you do not specify a storage directory, the<br />

default is the staging directory. The database is created as needed in the specified<br />

storage directory when the service starts. If you move or delete the database, a<br />

new database is created the next time the service starts. Existing databases in the<br />

staging directory are deleted (on service restart) when you specify a new storage<br />

location.<br />

When you select Embedded Storage, the Persistence field in the Init Parameters<br />

section of the SMC will display the value Embedded Storage.<br />

(This is the default mode.)<br />

■ Other Database — This option sets the persistence mode to persistent, using a<br />

database other than the embedded database. When this option is selected, you<br />

must provide additional details required to connect to the database. Only Oracle<br />

<strong>and</strong> MySQL database types are supported (see Step 3). When you select this<br />

option, the Persistence field in the Init Parameters section of the SMC will<br />

display a value for the selected database type:<br />

❑ Oracle:<br />

type=”oracle” username=”username” host=”localhost” port=”1521”<br />

❑ MySQL:<br />

type=”mysql” name=”dbname” username=”username” host=”localhost”<br />

port=”1521”<br />

Important When using an external database, each BPEL service instance must be<br />

configured with its own database.<br />

3. If you selected Other Database as the data source type, enter the following Database<br />

Options:<br />

■ Database Type — Select either Oracle or MySQL<br />

■ Database Name — Optional<br />

■ Machine Name — Optional<br />

■ Database Port — Optional<br />

■ Username — Optional<br />

■ Password — Optional<br />

Important When using an Oracle or MySQL database, you must add the JDBC driver JAR file<br />

to the container classpath (see “Adding JAR files to an <strong>ESB</strong> Container” on page 69<br />

for instructions).<br />

241 <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5

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

Saved successfully!

Ooh no, something went wrong!