Redhat JBoss EAP: Defining default schemas
Define the default schemas in the configuration file that you use to configure your application server. The specific configuration file name depends on your environment.
-
standalone.xml
-
standalone-full.xml
-
standalone-full-ha.xml
-
domain.xml
-
Open the configuration file, for example:
standalone.xml
. -
Locate the
domain:naming
subsystem element:xmlns="urn:jboss:domain:naming:x.x">
-
Insert the following entries in the
<bindings>
tag of the domain:naming subsystem element:-
Insert the following entry to specify the rules schema name:
<simple name="java:/prconfig/database/databases/PegaRULES/defaultSchema" value="pegarules"/>
Your finished bindings section for a split-schema configuration will be similar to the following:
<bindings> <simple name="java:/prconfig/database/databases/PegaRULES/defaultSchema" value="pegarules"/> <simple name="java:/prconfig/database/databases/PegaDATA/defaultSchema" value=" pegadata"/> <simple name="java:/url/pega/none" value="file:/nul"/><simple name="java:/prconfig/database/databases/PegaRULES/dataSourceAdmin" value="java:/jdbc/AdminPegaRULES"/> <simple name="java:/prconfig/database/databases/PegaDATA/dataSourceAdmin" value="java:/jdbc/AdminPegaRULES"/> </bindings> <remote-naming/>
-
-
Save the file.