Follow the instructions below to set up the OpenEdge.
...
Table of Contents | ||||
---|---|---|---|---|
|
...
|
...
Setup Database And The Database User
...
6. Now use the following commands to create a user and grant the permissions to the database.
Code Block |
---|
CREATE USER 'wso2carbon','wso2carbon';
GRANT dba,resource TO 'wso2carbon';
COMMIT;
|
...
Setup Configuration Files
1. Edit the registrydefault database configuration defined in the master-datasources.xml
file file located in the at $GREG_HOME/repository/conf
directory /datasources
directory of the deployed registry instance as shown below. Both the database configurations in registry.xml
and user-mgt.xml
refer this data source.
Info | ||
---|---|---|
| ||
You have to replace these settings with your custom values. |
Code Block |
---|
<currentDBConfig>OpenEdge</currentDBConfig> <datasource> <name>WSO2_CARBON_DB</name> <description>The datasource used for registry and user manager</description> <jndiConfig> <name>jdbc/WSO2CarbonDB</name> </jndiConfig> <dbConfig<definition nametype="OpenEdge">RDBMS"> <configuration> <url>jdbc:datadirect:openedge://localhost:6767;databaseName=CARBON_DB</url> <userName>wso2carbon<<userName>regadmin</userName> <password>wso2carbon< <password>regadmin</password> <driverName>com <driverClassName>com.ddtek.jdbc.openedge.OpenEdgeDriver</driverName>driverClassName> <maxActive>80</maxActive> <maxWait>60000</maxWait> <minIdle>5</minIdle> </dbConfig> <testOnBorrow>true</testOnBorrow> <validationQuery>SELECT 1</validationQuery> <validationInterval>30000</validationInterval> </configuration> </definition> </datasource> |
The database configuration options.
...
1. Next at the first time you start the registry, run with the -Dsetup option. It will create all the tables in a given OpenEdge database.
For Linux:
Code Block wso2server.sh -Dsetup
For Windows:
Code Block wso2server.bat -Dsetup
...
5. Start the WSO2 Registry instance.
For Linux:
Code Block wso2server.sh
For Windows:
Code Block wso2server.bat
Excerpt | ||
---|---|---|
| ||
Instructions on how to set up Governance Registry with OpenEdge database. |