Packaging the user web application
You must package the execution stack so that the management web archive (.war file) can actively connect to it. You must use the same data source for both the management and execution stacks.
About this task
To package the execution stack so that the management WAR can actively connect to it, you must install it on the same JMX MBean server and on the same Java™ virtual machine (JVM). To do so, you set the persistence type, package the libraries, copy the web application to the Tomcat webapps directory, and add the appropriate link to the database.
The default ruleset persistence type is file. The Java SE provider does not use a data source and the XU MBean is not activated.
The following procedure covers the Java EE case, when you set the persistence type to datasource. You must use the same data source for both the management and the execution stacks.
By packaging the engine Java libraries for a business rule application inside a WAR file, you enable multiple applications that useRule Execution Server to coexist in the same JVM.