Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This document describes the steps for creating an OpenEdge database for use with Actional. The
Actional product components use an underlying database for different purposes. OpenEdge
version 10.2A Service Pack 1 and beyond is required to perform this function. The steps for
creating the database have been extracted from developer’s notes as of July 27, 2009. Please
see the Actional and OpenEdge documentation for more information on performing these steps.
set PROSQL_LOCKWAIT_TIMEOUT=30
1. Since the database should not be located in the proenv home, create a database
directory somewhere. From a command prompt type the following:
2. Start proenv and set the environment. You can start proenv from the Start menu.
Once started type the following from the proenv prompt:
proenv> <OpenEdgeRoot>\Progress\OpenEdge\bin\sql_env.bat
3. Create a file with the name ACTIONAL.st in the ACTIONAL directory that was created in
step 1 that contains the following content:
#
b C:\OpenEdgeDB\ACTIONAL\ACTIONAL.b1 f 1572864
b C:\OpenEdgeDB\ACTIONAL\ACTIONAL.b2
#
d "Schema Area":6,32;1 C:\OpenEdgeDB\ACTIONAL\ACTIONAL.d1
#
d "LargeBusyArea":7,16;512 C:\OpenEdgeDB\ACTIONAL\ACTIONAL_7.d1 f
1572864
d "LargeBusyArea":7,16;512 C:\OpenEdgeDB\ACTIONAL\ACTIONAL_7.d2
NOTE: The first line “d” above should be all on one line and not split as shown. The end
of the line should read “f 1572864”.
Page 1 of 3
Creating an OpenEdge Database for use with Actional
4. Create the database by running the following commands in the proenv tool:
proenv> cd \OpenEdgeDB\ACTIONAL
proenv> prostrct create ACTIONAL ACTIONAL.st -blocksize 4096
proenv> procopy <OpenEdgeRoot>\Progress\OpenEdge\empty4 ACTIONAL
5. Using proenv, start the database. This example uses port 5555 but any free port can be
used:
NOTE: The command should be on one line and not split between lines as shown.
6. Use SQLExplorer inside proenv to create a user with the following commands:
7. Locate and run the appropriate SQL script that creates the Actional schema. The scripts
are found in the
<ActionalRoot>\Actional\<Component>\config\SQL\OpenEdge directory.
NOTE: The command should be on one line and not split between lines as shown. The
above command creates the schema for the Actional Management Server.
The OpenEdge database is now created and running for use with Actional.
To start the OpenEdge database run these commands from the proenv prompt:
proenv> <OpenEdgeRoot>\Progress\OpenEdge\bin\sql_env.bat
proenv> cd \OpenEdgeDB\ACTIONAL
proenv> _mprosrv ACTIONAL -S 5555 -SQLStmtCache 1000 -B 20000 -spin
8000 -L 5000000 -n 50 -bibufs 50 -Mxs 32
NOTE: Each command should be on one line and not split between lines as shown.
To stop the OpenEdge database run these commands from the proenv prompt:
proenv> cd \OpenEdgeDB\ACTIONAL
proenv> proshut ACTIONAL
Page 2 of 3
Creating an OpenEdge Database for use with Actional
Use the following External JDBC Driver settings when configuring the Actional Management
Server to use an OpenEdge database on the Database Configuration page:
Browse to and upload the JAR files listed on the Classpath. The files are located in the
<OpenEdgeRoot>\Progress\OpenEdge\java directory.
Click on the “Verify Database” button to verify that the necessary tables exist. If the test
connection to the database and tables do not complete successfully, fix the problem then verify
again. A successful verification should have a status string similar to this: Test connection
to database and table verification completed successfully.
Page 3 of 3