ILOG BRMS 7.1 Rule Execution Server Setup on WebSphere 7.x
Install Rule Execution Server as specified in Team server section.
1) Create JDBC Provider
Navigate to Resources -> JDBC -> JDBC Provider
Scope: Cell=Cell01, Node=Node01, Server=ilog-rts
Name: Rule Execution Server JDBC Provider
Description: Oracle JDBC Driver
Database Type: Oracle
Provider Type: Oracle JDBC Driver
Implementation Type: XA data source
Update classpath to point to Oracle JDBC Driver jar.
${WAS_HOME}/lib/ext/ojdbc14_g.jar
The jar file was manually copied to the location.
2) Create J2C Alias
Navigate to Security -> Global Security -> Java Authentication and Authorization Service -> J2C Authentication data
Uncheck Prefix new alias names and save it.
Alias: ilog-res-user
Specify user id and password for ilog schema.
Save
3) Create Data Source
Navigate to Resources -> JDBC -> JDBC providers -> Rule Execution Server JDBC Provider -> Data sources -> New
Data source name: Rule Execution Server Data Source
JNDI name: jdbc/resdatasource
Component-managed authentication alias: ilog-res-user
Container-managed authentication alias: ilog-res-user
Test connection
You might get this error during test connection,
The test connection operation failed for data source Rule Execution Server Data Source on server nodeagent at node Node01 with the following exception: java.sql.SQLException: invalid arguments in callDSRA0010E: SQL State = null, Error Code = 17,433. View JVM logs for further details.
Please restart node agent.
System administration -> Node agents -> restart
Test connection again to get a successful message
4) Deploy the RES MBeans descriptors
Copy the /executionserver/lib/jrules-mbean-descriptors.jar to ${WAS_HOME}/lib directory
5) Deploy the XU RAR
Navigate to Resources -> Resource Adapters -> Select scope at node level -> Install RAR -> Select ${INSTALL_DIR}/executionserver/applicationservers/WebSphere7/jrules-res-xu-WAS7.rar -> Next
General Properties: Name: ILOG RES XU Resource Adapter
Navigate to Resources -> Resource Adapters -> Select scope at node level -> ILOG RES XU Resource Adapter > J2C connection factories -> New
Name: xu_cf
JNDI name: eis/XUConnectionFactory
Save
6) Integrate WebSphere with LDAP
Please see my post on WebSphere LDAP integration
7) Map resAdministrators to Monitor role
Navigate to Users and Groups -> Add -> search for resAdministrators and map to Monitor role.
8) Create Cluster or Server
Create a websphere cluster (with members) or server named ILOG RES server
9) Deploy Host Transparent Decision Service (HTDS) Application
Navigate to Applications -> Application Types - WebSphere enterprise application -> New
Choose Remote file system -> Browser and select EAR IBM/WebSphereILOGJRules710/executionserver/applicationservers/WebSphere7/jrules-res-htds-WAS7.war
Next
Choose Detailed and Select the checkbox Generate Default Bindings
Continue and install the app with defaults.
Finish
Click on Manage Applications
Navigate to Enterprise Applications > jrules-res-htds-WAS7 -> Manage Modules > DecisionService -> Change Class loader order to parent last
Save the configuration
10) Deploy RES Management Application
Navigate to Applications -> Application Types - WebSphere enterprise application -> New
Choose Remote file system -> Browser and select EAR IBM/WebSphereILOGJRules710/executionserver/applicationservers/WebSphere7/jrules-res-management-WAS7.ear
Next
Choose Detailed and Select the checkbox Generate Default Bindings
Continue and install the app with defaults.
Finish
Map security roles to users and groups
Select each role and Map Groups one by one.
resAdministrators role map to resAdministratorsMapped groups
resDeployers role map to resDeployers Mapped groups
resMonitors role map to resMonitors Mapped groups
Finish
Click on Manage Applications
Navigate to Enterprise Applications > ILOG-Rule-Execution-Server -> Manage Modules > ILOG Rule Execution Server Console -> Change Class loader order to parent last
Save the configuration
11) Set the Web container property
Navigate to Servers -> Server Types -> WebSphere Application Servers -> ILOG RES server -> Container Settings -> Web Container Settings -> Web Container -> Custom properties -> New
DecodeUrlAsUTF8:False
Save
12) Start the RES Server
1 Comments:
thank you for the post..
Post a Comment
Subscribe to Post Comments [Atom]
<< Home