Contents

Configuring SBW Database

The document tracking feature is configured as part of FES to track SBW events into H2 database running within Enterprise Server. This database can be changed for a profile in Profile Manager and database details are saved in the sbwdb.cfg file present in FIORANO_INSTALL_DIR\esb\server\profiles\<profilename>\FES\conf. To view or configure the database:

  1. Load the profile and right-click the node and select the Open SBW Config option. A dialog box is displayed with all the database properties along with their default values.

    Icon

    Property values are editable only for inactive profile nodes.



  2. In the Configure SBW Database dialog box, select the required database from the drop-down menu in 'Database Name' property which loads specific values for all the properties applicable for that database. Modify these values and click OK to save the configured database.

    Icon

    Values of the properties which are not applicable for that database selected are mentioned as '—NA—' and are non editable.


Configuration of database can be done simultaneously for more than one profile node. For doing this, select both the nodes by using CTRL or SHIFT button, right-click and select Open SBW Config menu option; configuration properties for the selected profiles appear on the dialog box. Make necessary changes and click OK to save the database details of the profile nodes.

Icon

1. After configuring a profile to use some database, other than default database, jdbc driver for that database needs to be added under <java.classpath> tag in server startup configuration file (either $FIORANO_HOME/esb/server/bin/server.conf or $FIORANO_HOME/esb/fes/bin/fes.conf, whichever is applicable) before starting Enterprise server.

2. The user has to use the same settings to connect to the DB when using a third party tool. All the database queries used for retrieving workflow related data is kept in sbwdml.sql file.

3. When using MS SQL for document tracking, mssql_jdbc.cfg may need to be configured according to the database driver being used. MSSql 2000 driver follows SQL 99 conventions which quote the SQLState string for table not found exception as 42S02. On the other hand, MSSQL 2005 driver follows XOPEN SQLState conventions which quote the same SQLState string as S0002. By default, all fes profiles are configured according to the standards followed by MSSql 2000 driver. If someone uses MSSql 2005 database, or uses MSSql 2005 driver for MSSql 2000 (2005 driver is backward compatible with 2000 driver, so it can be used), then the file has to be reconfigured accordingly.

Icon

It is strongly recommended that the user employ a commercial grade DB in a production system.

For file-based databases like apache and HSQL, the default location is in the ESB_USER_DIR (which is set in fiorano_vars script). The user has to give the complete path with these variables resolved when using the JDBC URL in a third party tool.

Example

Icon

The default H2 db JDBC URL is configured as ESB_DEFAULT_DB_DIR/doctracking_db;create=true which resolves to ESB_USER_DIR/EnterpriseServers/<profilename>/FES/doctracking_db and further into something like C:\Documents and Settings\All Users\runtimedata\esb\<BUILD_NUMBER>\EnterpriseServers\FES\doctracking_db depending on the actual settings.

Import / Export Profiles

Profiles can be exported as zip files. Profiles can be exported and imported by using the Export/Import options by the right-clicking the menu of a profile node.
To export a profile,

  1. Right-click on the profile node in Profile Manager view and select the Export option.
  2. Choose the destination directory to which the zip file is to be exported.

To import a profile,

  1. Select the Import option on the Profiles node and choose the zip file and the destination directory to which the profile needs to be imported. A confirmation dialog box is displayed enquiring if the User wishes to load the imported profile.
  2. On selecting the Yes option the imported profile is loaded.
  3. On selecting the No option, no further action is performed.

Working with Profiles

Validate Profile

A profile can be validated by clicking Validate by using the right-click menu of the profile node. Errors and warnings, if any, will be shown in the Profile Validation Messages view.

Reload Profile

The components of a profile can be reloaded from its original directory location by using the Reload option by the right-clicking the menu of the profile node. When the profile is reloaded, the components of the profile are refreshed and the component tree will be re-created.

Close a Profile

An opened profile can be closed by clicking the Close option bythe right-clicking the menu of the profile node. Closing a profile will delete the profile references from the workspace. The actual profile will remain unaffected. If the User wants to edit the profile again, the profile must be loaded into the workspace again.

Delete a Profile

A profile can be deleted from its location by clicking the Delete option by right-clicking the menu of the profile node. Deleting a profile deletes it from the Fiorano installation directory.

Points to note

  • Modifications to a profile cannot be performed from the Profile Editor when the profile is running. All the configuration options will be disabled. The User will not be able to save the profile.
  • Unless the profile is open, the actions Save, Save as, Export, Validate and Reload will be disabled and the right-clicking option the menu of the profile node in Profile Manager View will not be functional.
Adaptavist ThemeBuilder EngineAtlassian Confluence