Deploy a rulebase or interview to Determinations Server

Deploy a rulebase or interview to Determinations Server

You can deploy a rulebase or interview to Oracle Determinations Server. This is handy for demonstration purposes, as well as a configuration-less testing platform for Determinations Server.

To deploy a rulebase or interview to Oracle Determinations Server:

  1. In Oracle Policy Modeling, select Build | Build and Run.
  2. In the Build and Run dialog box, select the option Run with Oracle Determinations Server.
  3. If you want to completely replace the previously deployed version of the project (located in the Release folder), click the checkbox to Replace deployed version for project. TIP: This is useful in situations such as either using a new version of Oracle Policy Modeling or when using an updated customized version of Oracle Determinations Server (but note that this will discard any customizations made to the previously deployed version).
  4. Click Run. (If the Check Determinations Server Compatibility option has not been selected in Tools/Options/Rulebase Development/Build Validation, then the Enable Determinations Server Compatibility dialog will be shown. Click OK.)

 

To modify the settings that are used to run the embedded server:

  1. In Oracle Policy Modeling, go to Tools/Options/Rulebase Development/Embedded Server.




  2. (Optional) To specify a location for the Embedded Tomcat web server that is different to the default location, type the file path to the new location (for example, C:\Program Files\apache-tomcat-5.5.28-embed) into the Tomcat Path field in the Embedded Tomcat Location area of the tab
  3. (Optional) To specify a different TCP port for the server from the default port, type the new port number into the TCP Port field in the Server Settings area of the tab.
  4. (Optional) To specify a different username and / or password for the server manager, type the new username into the Manager Username field and the new password into the Manager Password field in the Server Settings area of the tab.
  5. (Optional) To specify a different startup timeout, type the new timeout period (in seconds) into the Startup timeout (seconds) field in the Server Settings area of the tab.
  6. (Optional) To change the amount of memory available to the embedded server, edit the Xms and Xmx settings in the Properties field in the Server Runtime Properties area of the tab. For example, to increase the available memory, replace -Xms64m -Xmx256m with -Xms256m -Xmx512m. Increasing the available memory will improve server performance for projects with a large number of inferred entity instances, relationships, or aliases, or with complex document generation. Tip: Once you change this setting, the results are saved locally. This means you will not need to change the memory size again when you install a later version of Policy Modeling. For a new user who has not previously run Policy Modeling 10.4 on their machine, the default setting is -Xms64m -Xmx256m.
  7. When you have finished editing the settings, click OK.