SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67031: Middle-tier configuration fails with errors during the "Load Content/Upload Content, Web Infrastructure Platform Configuration" step

DetailsHotfixAboutRate It

After you install Hot Fix J2L001, the middle-tier configuration in SAS® Deployment Wizard or SAS® Deployment Manager fails at the Load Content / Update Content, Web Infrastructure Platform Configuration step. This issue occurs when you perform a new installation and configuration of SAS® 9.4 M7 by using SAS Deployment Wizard or when you upgrade to SAS® 9.4 M7 by using SAS Deployment Manager.

The container for Hot Fix J2L001 resides in the SAS Software Depot hot-fix folder. The J2L001 container consists of the following member hot fixes: 

  • J2K001: This fix updates SAS® 9.4M7 Foundation Services.
  • I8P001: This fix updates the SAS® Grid Manager plug-ins for SAS® 9.4M7 Management Console.
  • J2J001: This fix updates the SAS® 9.4M7 Platform Object Framework.
  • I9F001: This fix updates SAS® 9.4M7 Web Infrastructure Platform.

When this problem occurs with a new installation, the following error is displayed in the webinfpltfm_loadContent_datetime.log and webinfpltfm_updateContent_datetime.log files: 

Override ignored for property "webinfpltfm.setroledisplayname.returncode"
[setAuthorityDisplay]      [echo] Setting labels at http(s)://host-name:port/SASWIPClientAccess/rest/authorities/privileges/PRIV_READ_AUTHORITY_ASSIGNMENT/description
[setAuthorityDisplay]
[setAuthorityDisplay]      [echo] <labels>
[setAuthorityDisplay]      [echo]   <label locale='en_US'>Enables the assigned user to see role assignments</label>
[setAuthorityDisplay]      [echo] </labels>
...more message lines...
Override ignored for property "webinfpltfm.setroledisplayname.returncode"
     [echo] setAuthorityDisplay return code: 401
     [echo] setAuthorityDisplay status: Created roles
[propertyfile] Updating property file: <SASConfig>/Lev#/Logs/Configure/webinfpltfm_config_status.properties
BUILD FAILED
<SASHome>/SASWebInfrastructurePlatform/9.4/Config/webinfpltfm_config.xml:4270: The following error occurred while executing this line:
<SASHome>/SASWebInfrastructurePlatform/9.4/Config/webinfpltfm_config.xml:4224: Created roles
                at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
                at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)

When this problem occurs with an upgrade to SAS 9.4M7, the following error appears in the webinfpltfm_updateContent_datetime.log:

[propertyfile] Updating property file: <SASConfig>/Lev#/Logs/Configure/webinfpltfm_config_status.properties
...more message lines...
BUILD FAILED
<SASHome>/SASWebInfrastructurePlatform/9.4/Config/webinfpltfm_config.xml:4332: The following error occurred while executing this line:
<SASHome>/SASWebInfrastructurePlatform/9.4/Config/webinfpltfm_config.xml:4249: An error occurred retrieving information for object type Machine (50) - 401 at <br/><a href="http(s)://host-name:port/SASWIPClientAccess/rest/types/objects/50">http(s)://host-name:port/SASWIPClientAccess/rest/types/objects/50</a><br/>For troubleshooting tips, see SAS Note 66003 at<br/><a href="https://support.sas.com/kb/66003">https://support.sas.com/kb/66003</a>

If you test the the SASLogon URL( http(s)://host-name:port/SASLogon) in your browser, it returns the error HTTP 404 - Not Found.

In addition, the following error is displayed in the SASLogon9.4.log file:

ERROR org.springframework.web.context.ContextLoader - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validationAnnotationBeanPostProcessor' defined in ServletContext resource [/WEB-INF/spring-configuration/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jasig.cas.util.CustomBeanValidationPostProcessor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/jboss/logging/BasicLogger

To avoid this problem, you can choose whichever of the following workarounds that best suits your situation. 

Workaround 1 (Recommended)

  1. Leave SAS Deployment Wizard or SAS Deployment Manager as it is.
  2. Stop SASServer1_1, as follows:
    • In UNIX operating environments, submit the following command:
      SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/bin/tcruntime-ctl.sh stop
    • In Microsoft Windows operating environments, stop the server by using the Services window.
  3. Locate the jboss-logging-3.3.2.Final.jar file that resides this folder: SASHOME/SASWebInfrastructurePlatform/9.4/Static/wars/sas.svcs.logon/WEB-INF/lib/
  4. Manually copy jboss-logging-3.3.2.Final.jar to SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/sas_webapps/sas.svcs.logon.war/WEB-INF/lib.
  5. Rename the validation-api-1.0.0.GA.jar file (which resides in SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/sas_webapps/sas.svcs.logon.war/WEB-INF/lib) to validation-api-1.0.0.GA.jar.bkup.old.
  6. Rename the spring-ldap-core-1.3.1.RELEASE.jar file (which resides in SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/sas_webapps/sas.svcs.logon.war/WEB-INF/lib) to spring-ldap-core-1.3.1.RELEASE.jar.bkup.old.
  7. Rename the spring-ldap-core-tiger-1.3.1.RELEASE.jar file (which resides in SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/sas_webapps/sas.svcs.logon.war/WEB-INF/lib) to spring-ldap-core-tiger-1.3.1.RELEASE.jar.bkup.old.
  8. Start SASServer1_1, as follows:
    • Under UNIX, submit the following command:
      SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/bin/tcruntime-ctl.sh start
    • Under Windows, start the server from the Services window.
  9. After SASServer1_1 starts, enter the SASLogon URL (http(s)://host-name:port/SASLogon) in your browser to verify that the HTTP 404 error no longer occurs and that the logon-credentials dialog box is displayed.
  10. After you confirm that the SASLogon URL works, retry the failed step in SAS Deployment Wizard or SAS Deployment Manager.

Workaround 2

  1. Remove the current configuration and restore the system to the state it was before you started the middle-tier installation and configuration.
  2. Remove any remaining data in config directory on the middle-tier machine and clean it up. If you cannot delete the data or clean up the directory, rename it. (Note:This step applies only if a new installation and configuration of  SAS® 9.4 M7  is being performed using SAS Deployment Wizard. Ignore this step , if this is an upgrade in place to SAS® 9.4 M7 performed using SAS Deployment Manager)
  3. Remove Hot Fix J2L001 from the SAS-software-depot-path/hotfix directory and the hot_fix_index.xml file. 
  4. Re-install the middle tier by using SAS Deployment Wizard or SAS Deployment Manager. (By re-installing it this way, Hot Fix J2L001 is not installed in the SASHOME directory.)
  5. Configure the middle tier by using SAS Deployment Wizard or SAS Deployment Manager

Note: You can install Hot Fix J2L001 after you successfully configure the middle tier. Remember to follow the post-installation steps that are available on the SAS Middle Tier 9.4_M7 - Hot Fix Downloads page when you install this hot fix.

A fix for this issue is planned for a future date. 



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Infrastructure PlatformMicrosoft® Windows® for x649.4_M79.4 TS1M7
64-bit Enabled AIX9.4_M79.4 TS1M7
64-bit Enabled Solaris9.4_M79.4 TS1M7
HP-UX IPF9.4_M79.4 TS1M7
Linux for x649.4_M79.4 TS1M7
Solaris for x649.4_M79.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.