Embedded Mode

Embedded mode allows you to run Streamlyne Research with a central Streamlyne platform server. This has the benefit of a central Doc Search, Action List, and identity management maintenance.

It also allows some processing to be offloaded to the Streamlyne platform server, which provides different scaling characteristics. Embedded mode is currently the preferred deployment model.

link.png

For a more detailed description of embedded mode, see the Streamlyne platform documentation [legacy external resource removed].

1) Create/Configure Streamlyne platform Server Database

2) Configure Stanalone Streamlyne platform Server (see example-config/Streamlyne platform-config.xml in the Streamlyne platform project)

3) Startup Streamlyne platform server

Before you begin:

1) Create/Configure Streamlyne Research Database (This will include the Streamlyne platform Client tables and Streamlyne Research's tables).

2) Setup Streamlyne Research database in Embedded Mode.

Run the Database setup script

Select EMBED for your Streamlyne platform mode

For Install/Upgrade Embedded Streamlyne platform Server Side

o Select Y if you need to cleanly install a new Streamlyne platform database along with Streamlyne Research data

o Select N if you need to upgrade an existing Streamlyne platform database with Streamlyne Research data

2) Configure Streamlyne Research.

To run Streamlyne Research in Embedded Mode:

Point Streamlyne Research to the client & server databases

Configure the Streamlyne platform URL

Turn off dev-mode

Set the run modes to embedded for the Streamlyne platform modules

Configure a valid keystore for secure communication with Streamlyne platform

Keystore Example (Embedded Mode Configuration File)

<!-- Streamlyne Research Client DB -->

<param name="datasource.url">jdbc:oracle:thin:@127.0.0.1:1521:XE</param>

<param name="datasource.username">KCDEV</param>

<param name="datasource.password">secret</param>

<param name="datasource.ojb.platform">Oracle9i</param>

<!-- For Embedded Mode -->

<param name="Streamlyne platform.app.url">http://127.0.0.1:8081/kr-dev</param>

<param name="identity.runmode">embedded</param>

<param name="communications.runmode">embedded</param>

<param name="workflow.runmode">embedded</param>

<param name="notification.runmode">embedded</param>

<param name="dev.mode">false</param>

<!-- Streamlyne platform Server DB -->

<param name="server.datasource.url">jdbc:oracle:thin:@127.0.0.1:1521:XE</param>

<param name="server.datasource.username">RICEDEV</param>

<param name="server.datasource.password">secret</param>

<param name="server.datasource.ojb.platform">Oracle9i</param>

<!-- Keystore Configuration -->

<param name="keystore.file">

${user.home}/Streamlyne/main/${environment}/Streamlyne platform.keystore

</param>

<param name="keystore.alias">Streamlyne platform</param>

<param name="keystore.password">r1c3pw</param>

3) Startup Streamlyne Research.

4) Verify the configuration.

To verify the configuration, try the following:

Create a proposal document. Save it. Close it. From the main portal page click on Action List -> Find the Proposal -> Log -> Future Action Requests

Go to System Admin Tab. Try Person Maintenance or Parameter Maintenance. These pages should work correctly and they should link to the central Streamlyne platform server.

End of activity.