Wednesday, August 25, 2010

ILOG BRMS 7.1 Team Server Installation on WebSphere 7.x

The installation steps are based on WAS 7.x/ JRules 7.1.x in Solaris 32 bit platform

1) Install WebSphere
Follow the WebSphere installation procedures and setup

2) Download Software
JRules core - JRules_V7.1_en_CZH9QNA.bin
JRules Java EE Add-on - JRules_WebSphere_V7.1_en_CZH9VNA.jar
Team Server - RTS_V7.1_en_CZHB1NA.bin

3) Install Rule Execution Server
Execute JRules_V7.1_en_CZH9QNA.bin and select Rule Execution Server alone.
Finish installation

4) Install Rule Team Server
Execute RTS_V7.1_en_CZHB1NA.bin.
Finish installation

5) Install  Java EE Add-on
java -jar JRules_WebSphere_V7.1_en_CZH9VNA.jar
Finish installation

6) Create Application Server
Login to WebSphere deployment manager and create a new server ilog-rts under node1

7) Create JDBC Provider
Navigate to Resources -> JDBC -> JDBC Provider

Scope: Cell=Cell01, Node=Node01, Server=ilog-rts
Name: Rule Team Server JDBC Provider
Description: Oracle JDBC Driver
Database Type: Oracle
Provider Type: Oracle JDBC Driver
Implementation Type: Connection pool 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.

8) 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-rts-user
Specify user id and password for ilog schema.
Ask your DBA's to create an empty schema to use as team server repository.
Save

9) Create Data Source
Navigate to Resources -> JDBC -> JDBC providers -> Rule Team Server JDBC Provider -> Data sources -> New

Data source name: Rule Team Server Data Source
JNDI name: jdbc/ilogDataSource
Component-managed authentication alias: ilog-rts-user
Container-managed authentication alias: ilog-rts-user
Test connection 

You might get this error during test connection,
The test connection operation failed for data source Rule Team 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

10) Integrate WebSphere with LDAP
Please see my post on WebSphere LDAP integration


11) Install Team Server Application
Navigate to Applications -> Application Types - WebSphere enterprise application -> New
Choose Remote file system -> Browser and select EAR IBM/WebSphereILOGJRules710/teamserver/applicationservers/WebSphere7/jrules-teamserver-WAS7.ear
Next

Choose Detailed and Select the checkbox Generate Default Bindings
Continue

Map security roles to users and groups
Select each role and Map Groups one by one.
rtsUser role map to rtsUser Mapped groups
rtsAdministrator role map to rtsAdministrator Mapped groups
rtsConfigManager role map to rtsConfigManager Mapped groups
rtsInstaller role map to rtsInstaller Mapped groups
Finish

Click on Manage Applications
Navigate to Enterprise Applications > ILOG Rule Team Server > Manage Modules > teamserver.war
Change Class loader order to parent last
Save the configuration

12) Start Team Server
Servers -> Server Types -> WebSphere application servers -> Check ilog-rts-server -> Start

13) Verification
http://{server}:9080/teamserver
Login using rtsAdmin

14) Complete Installation Manager
Configure the Rule Team Server database -> Select Generate SQL -> Select Execute the SQL script
Next
Setup groups -> New -> rtsUser and rtsConfgManager
Finish

15) Access Team Server
http://host:port/teamserver

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home