To complete the configuration of WOLA, you deploy an EJB
application that implements the WebSphere® Optimized
Local Adapters (WOLA) interface on WebSphere Application
Server for z/OS® V8.5.
About this task
The WOLA EAR file contains two EJB modules:
- res-wola-proxy-ejb: the entry point for the
WOLA invocation. It accepts inbound requests from the API stub and
delegates the requests to the worker EJB module.
- res-wola-worker-ejb: the EJB module that
forwards the requests to Rule Execution Server.
The following procedure guides you through the installation of
the WOLA EAR file on
WebSphere Application
Server for z/OS.
Procedure
- In the WebSphere Application
Server console,
select .
- Specify the path of the EAR file as <InstallDir>/executionserver/applicationservers/WOLA/jrules-res-wola.ear.
Click Next.
- In the "Preparing for the application installation"
pane, perform the following actions:
- Select Detailed - Show all installation options
and parameters.
- Expand Choose to generate default bindings
and mappings.
- Select the check box Generate Default Bindings and
click Next.
- In Step 1, click Next to
accept the default settings.
- In Step 2, take one of the following
actions:
- If you have only one server, skip this step.
- If you have more than one server, select the server
to which you want to deploy the application, select the check box
for the two modules, and click Next.
- In Step 3, click Next to
accept the default settings.
- In Step 4, click Next to
accept the default settings.
- In Step 5, provide the following
JNDI names for the beans:
- For the EJB module res-wola-proxy-ejb-<version>.jar:
select the option JNDI name for all interfaces Target Resource
JNDI Name and enter the name ejb/com/ibm/rules/wola/ProxyExecutionSessionBean.
- For the EJB module res-wola-worker-ejb-<version>.jar:
select the option JNDI name for all interfaces Target Resource
JNDI Name and enter the name ejb/com/ibm/rules/wola/PojoExecutionSessionBean.
- Click Next.
Important: The JNDI names of the modules must be
distinct, otherwise you can get a NameAlreadyBoundException when
you start the EJB.
- In Step 6, click Next.
- In Step 7 on WebSphere Application
Server V8.5,
map the EJB reference for the proxy bean to the worker bean by entering ejb/com/ibm/rules/wola/PojoExecutionSessionBean in
the Target Resource JNDI Name column for res-wola-proxy-ejb-<version>.jar.
Click Next.
- In Step 8 on WebSphere Application
Server V8.5,
complete the following actions:
- For the res-wola-worker-ejb resource reference, eis/XUConnectionFactory,
click Browse.
- Select eis/XUConnectionFactory as
the Target Resource JNDI Name.
- For the res-wola-worker-ejb resource reference, jdbc/resdatasource,
click Browse.
- Select jdbc/resdatasource as the Target
Resource JNDI Name.
- Click Next.
If you cannot see these options when you click Browse,
ensure that you have completed all the steps for installing Rule Execution Server on WebSphere Application
Server for z/OS.
- In Step 9, click Next.
- In Step 10, click Next.
- In Step 11, click Finish.
- After the EJB deployment is complete, click Save to
save it to the WebSphere Application
Server master
configuration.
- Start the application Decision Server WOLA EndPoint:
- In the WebSphere Application
Server console,
select .
- In the Enterprise Applications page,
select the check box Decision Server WOLA EndPoint.
- Click Start.