Installation Instructions for Hot Fix J49003

Solaris for x64


Hot fix J49003 addresses the issue(s) in SAS Business Rules Manager 1.2_M1 as documented in the Issue(s) Addressed section of the hot fix download page:

http://ftp.sas.com/techsup/download/hotfix/HF2/J49.html#J49003


J49003 is a "container" hot fix that contains the following "member" hot fixes which will update the software components as indicated.

J48003  updates  SAS Business Rules Manager Server 1.2_M1
J47002  updates  SAS Business Rules Web Manager 1.2_M1

See What is a container hot fix? in the Hot Fix FAQ for more information about container hot fixes.


Before applying this hot fix, follow the instructions in SAS Note 35968 to generate a SAS Deployment Registry report, then verify that the appropriate product releases are installed on your system. The release number information in the Registry report should match the 'member' release number information provided above for the software components installed on each machine in your deployment.

The hot fix downloaded, J49003sx.zip, includes the updates required for all components listed above on all applicable operating systems. To apply this hot fix on multiple machines, you can either save J49003sx.zip on each machine or save it in a network location that is accessible to all machines.

Do NOT extract the contents of J49003sx.zip. The hot fix installation process will extract the contents as needed.


IMPORTANT NOTES

  1. Files delivered in this hot fix will be backed up during the installation process. However, it is good general practice to back up your system before applying updates to software.

  2. You must have Administrator Privileges on your CLIENT or SERVER machine.

  3. All currently active SAS sessions, daemons, spawners and servers must be terminated before applying this hot fix.

  4. This hot fix should be installed using the same userid who performed the initial software installation.


INSTALLATION

Hot Fix J49003 must be installed on each machine where the updated components of the product, listed above, are installed. During the installation process you may see references to all operating systems for which updates are provided in the hot fix. The installation process will determine the operating system and which component(s) of SAS Business Rules Manager 1.2_M1 require updating on the machine. See SAS Note 44810 for more details.

The hot fix will be applied using the SAS Deployment Manager (SDM). By default, the SDM will search in the <SASHOME>/InstallMisc/HotFixes/New directory for hot fixes to be applied, but will also prompt for a location if you have downloaded hot fixes to a different directory.

After downloading J49003sx.zip, follow the instructions for applying hot fixes in the SAS Deployment Wizard and SAS Deployment Manager 9.3: User’s Guide.


The hot fix installation process generates the log file

<!SASHOME>/InstallMisc/InstallLogs/IT_date-and-time-stamp.log
for example, IT_2011-10-31-13.18.21.log. Each attempt to apply a hot fix results in the creation of a new log file giving detailed information regarding the installation process.

Postexec log files are created after the installation is completed and identifies the files that were added, backed up, changed and removed. These log files include the ‘member’ hot fix id in the name of the file and are also written to the <!SASHOME>/InstallMisc/InstallLogs directory. There is one postexec log for each ‘member’ hot fix applied (member hot fixes are listed at the top of these instructions).


The content of this hot fix is listed in the hot fix manifest.


POST-INSTALLATION INSTRUCTIONS

For each product installed, click the link to be redirected to post-installation instructions.

J48003  updates  SAS Business Rules Manager Server 1.2_M1
J47002  updates  SAS Business Rules Web Manager 1.2_M1


J48003  updates  SAS Business Rules Manager Server 1.2_M1

Copy SAS Changes to <SASCONFIGDIR>

The following files were updated as part of the this hotfix to address reported errors but are not directly copied to the <SASCONFIGDIR> in case there have been customizations performed to the files.

First, backup any files that you have customized before copying the new versions of the files. After copying the new versions of the files, merge back in your customizations.

Copy the files listed below from

<SASHOME>/SASFoundation/9.3
ucmacros/brlstcodgen/brs_decision_flow.sas
ucmacros/brlstcodgen/brm_export_ruleset.sas
ucmacros/brlstcodgen/brm_import_rule_flow.sas

to

<SASCONFIGDIR>/Applications/SASBusinessRulesManager/1.2/ucmacros

Copy
<SASHOME>/SASFoundation/9.3
misc/brlstcodgen/DecisionFlow-v4.map

to

<SASCONFIGDIR>/Applications/SASBusinessRulesManager/1.2/sasmisc

Once the .sas files above have been moved, replace the @sasmacro.dir@ token with value: <SASCONFIGDIR>/Applications/SASBusinessRulesManager/1.2/ucmacros and @sasmisc.dir@ token with value: <SASCONFIGDIR>/Applications/SASBusinessRulesManager/1.2/sasmisc for your install. When you copy these files, you will be replacing exsiting files. Make a backup copy of the existing files first.



J47002  updates  SAS Business Rules Web Manager 1.2_M1

Re-build and Re-deploy Web Application

This hot fix requires that the WebApp be rebuilt and redeployed. Use the following steps to perform this post-installation task:

Step 1: Re-build Web Application

In order for this step to execute correctly, the Metadata Server must be running.
Backup Business Rules Manager application metadata information under folder <JBOSSROOTDIR>/server/SASServer7/deploy_sas/sas.rulestudio.midtier.ear/META-INF

1.1 Invoke the SAS Deployment Manager 9.3

From the SASDeploymentManager directory launch sasdm.sh.
SAS Deployment Manager is installed in the following default location:

<SASHOME>/SASDeploymentManager/9.3

1.2 Select a language in the Choose Language box

1.3 Select Rebuild Web Applications

1.4 Select Configuration Directory or Enter the Configuration Directory and Level that needs to be updated

1.5 Specify Connection Information, including the sasadm User ID and Password

1.6 Select Business Rules Manager 1.2 as the Web Application to Rebuild

1.7 Verify the information on the Summary screen and select Start

1.8 Select Finish when the deployment is complete

This process will update the Business Rules Manager ear in <SASCONFIGDIR>/Web/Staging.
A backup of the original ear file will be placed in the directory below:

<SASCONFIGDIR>/Web/Staging/Backup

Step 2: Re-deploy Web Applications

Re-deploy the web applications based on the instructions for the web application server you are using.

Step 3: Update Application Metadata Info

Replace jboss business rules manager META-INF with backup metadata folder

Copy backup metadata folder to :
Unix:     <JBOSSROOTDIR>/server/SASServer7/deploy_sas/sas.rulestudio.midtier.ear
Windows: <JBOSSROOTDIR>\server\SASServer7\deploy_sas\sas.rulestudio.midtier.ear
Restart jboss server7.

Update Application Configuration

1. Copy <SASHOME>/SASBusinessRulesWebManager/1.2/Config/Deployment/Metadata/brlstwebapp.appxml.orig to a temp folder and rename the file to brlstwebapp.xml (e.g.: c:/tmp/brlstwebapp.xml)

2. Change xml file,

2.1 Remove <ApplicationUri>, <Directives> and <Services> nodes section

2.2 Change <Application> node remove all attributes except xmlns:xsi and ProductName.
Like: <Application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ProductName="@legal.name@">

2.3 Replace the @***@ token with the proper value.
@legal.name@ could be found from Metadata browser, object : Foundation/SoftwareComponent/Business Rules Manager Web 1.2, property: ProductName (Default value: SAS Business Rules Manager Web)
Token @ucmacros.dir@ and @testcodegen.dir@ could be found from Business Rules Manager configuration setting in SAS Metadata Console.

3. Run below AMU command to update Business Rules Manager configuration setting

Command:

" <SASHOME>/SASPlatformObjectFramework/9.3/ApplicationMetadataUtility.exe" -applicationId @applicationid@ -host @host@ -port @port@ -user @userName@ -password @password@ c:/tmp/brlstwebapp.xml
Replace @host@, @port@, @userName@, @password@ and @applicationid@ tokens with proper values.
@applicationid@ is Business Rules Manager application id, which could be found from Metadata browser under /Foundation/SoftwareComponent/, item: 'Business Rules Manager Web 1.2'.Id (looks like: A5242FR1.AI000008)

Copy brmJniPicklist.txt changes to SASVersionedJarRepository

1. Backup brmJniPicklist.txt
Unix:     <SASHOME>/SASVersionedJarRepository/picklist/brlstwebapp/brmJniPicklist.txt
Windows: <SASHOME>\SASVersionedJarRepository\picklist\brlstwebapp\brmJniPicklist.txt
2. Copy brmJniPicklist.txt
Unix from:
<SASHOME>/SASBusinessRulesWebManager/1.2/Picklists/brmJniPicklist.txt
to
<SASHOME>/SASVersionedJarRepository/picklist/brlstwebapp/brmJniPicklist.txt

Windows from:
<SASHOME>\SASBusinessRulesWebManager\1.2\Picklists\brmJniPicklist.txt
to
<SASHOME>\SASVersionedJarRepository\picklist\brlstwebapp\brmJniPicklist.txt


This completes the installation of hot fix J49003 on Solaris for x64.