Step 7: Deploying the XU RAR
After you have deployed the MBean descriptors, you deploy the resource adapter archive (RAR) for the execution unit (XU) to WebSphere® Application Server.
Before you begin
Operational Decision Manager supports JDK7, but make sure to use IBM® WebSphere SDK Java™ Technology Edition version 7.0.5 or later.
Because
of a behavioral change on logging, you must ensure that Rule Execution Server can
locate the resource bundles (see technote IV45202: Behavioral change to java.util.logging.logger
which may affect applications that depend on the stack-walk for locating
resource). Complete the following steps for the deployment
manager, node agents, and cluster members:
- In the Websphere Integrated Solutions Console, click .
- In the Server Infrastructure section, click .
- From the Additional Properties, select .
- In the Generic JVM arguments field, type the following line: -Djdk.logging.allowStackWalkSearch=true
- Click OK, then Save, and then restart the server.
About this task
This phase of the Rule Execution Server configuration consists in deploying the execution unit (XU) resource adapter archive (RAR) on WebSphere Application Server and add the properties by which to identify it. The RAR file contains the XU and the persistence layer.
In some cases, because of
your application constraints, you might have to deploy the XU inside
the application. Choose the appropriate deployment mode of the XU:
either embed it into the EAR or deploy it as a global connector. Refer
to the application server documentation for instructions on packaging
a connector into an EAR. In any case, be aware of the following consequences.
- When the XU is deployed as a global connector:
- The deployed Java EE applications might use its third-party libraries (such as ASM) instead of the libraries that are deployed in the application server.
- Use the parent last setting for the XU Java EE application if your Java EE application does not support the version of the third-party libraries that is distributed with Decision Server. If you cannot use a parent last setting, you might have to embed the XU into the EAR file that executes the rules.
- If Java security is activated,
you might see the following error in the log:
java.security.AccessControlException: Access denied ("java.util.PropertyPermission" "java.class.path" "read")
The error can be safely ignored.
- If you choose an embedded XU packaging, use the parent last setting for the code library if the version of the third-party libraries that are deployed at the level of the application-server code library is not compatible with the XU.
Tip: When the default configuration in shared mode
is not appropriate for your use case, you can configure Rule Execution Server so
that it is scoped to a single Java™
EE application. See Configuring Rule Execution Server in
scoped mode.
Procedure
To deploy the XU RAR: