Hot fix J49002 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#J49002
J49002 is a "container" hot fix that contains the following "member" hot fixes which will update the software components
as indicated.
J48002 updates SAS Business Rules Manager Server 1.2_M1
J47001 updates SAS Business Rules Web Manager 1.2_M1
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, J49002wn.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 J49002wn.zip on each machine or save it in a network location that is accessible to all machines.
Do NOT extract the contents of J49002wn.zip. The hot fix installation process will extract the contents as needed.
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 J49002wn.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.logfor 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.
For each product installed, click the link to be redirected to post-installation instructions.
J48002 updates SAS Business Rules Manager Server 1.2_M1
J47001 updates SAS Business Rules Web Manager 1.2_M1
J48002 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.3Copybrlstcodgen\ucmacros\brs_decision_flow.sas
brlstcodgen\ucmacros\brm_export_ruleset.sas
brlstcodgen\ucmacros\brm_import_rule_flow.sas
to
<SASCONFIGDIR>\Applications\SASBusinessRulesManager\1.2\ucmacros
<SASHOME>\SASFoundation\9.3brlstcodgen\sasmisc\DecisionFlow-v4.mapto
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.<SASCONFIGDIR>\Applications\SASBusinessRulesManager\1.2\sasmisc
J47001 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 ApplicationIn 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-INF1.1 Invoke the SAS Deployment Manager 9.3
From the SASDeploymentManager directory launch sasdm.exe.
SAS Deployment Manager is installed in the following default location:<SASHOME>\SASDeploymentManager\9.31.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 ApplicationsRe-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 :Restart jboss server7.Unix: <JBOSSROOTDIR>\server\SASServer7\deploy_sas\sas.rulestudio.midtier.ear
Windows: <JBOSSROOTDIR>/server/SASServer7/deploy_sas/sas.rulestudio.midtier.ear
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 section3. Run below AMU command to update Business Rules Manager configuration setting2.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.
Command:
" <SASHOME>\SASPlatformObjectFramework\9.3\ApplicationMetadataUtility.exe" -applicationId @applicationid@ -host @host@ -port @port@ -user @userName@ -password @password@ c:\tmp\brlstwebapp.xmlReplace @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)
This completes the installation of hot fix J49002 on Windows.