Problem Note 68527: The Update Host Name References task in SAS® Deployment Manager fails after you update the SAS® Private Java Runtime Environment
If you run the Update Host Name References task in SAS Deployment Manager after the SAS Private Java Runtime Environment has been updated, the task fails when the ChangeLoginDomain macro runs, and you see error messages that are similar to the following:
[ChangeLoginDomain] Executing 'E:\SAS\SASHome\SASPrivateJavaRuntimeEnvironment\9.4\jre\bin\java.exe' with arguments:[ChangeLoginDomain] '-Djava.system.class.loader=com.sas.app.AppClassLoader'
[ChangeLoginDomain] '-Dsas.ext.config=E:\SAS\SASHome\sas.java.ext.config'
[ChangeLoginDomain] '-Dsas.app.launch.config=E:\SAS\SASHome\SASPlatformObjectFramework\9.4\core\picklist'
[ChangeLoginDomain] '-Dsas.app.repository.path=E:\SAS\SASHome\SASVersionedJarRepository\eclipse'
[ChangeLoginDomain] '-Duser.language=en'
[ChangeLoginDomain] '-Duser.country=US'
[ChangeLoginDomain] '-classpath'
[ChangeLoginDomain] 'E:\SAS\SASHome\SASVersionedJarRepository\eclipse\plugins\sas.launcher.jar'
[ChangeLoginDomain] 'com.sas.metadata.logical.batch.ChangeLoginDomain'
[ChangeLoginDomain] '-host'
[ChangeLoginDomain] 'metadata.hostname.com'
[ChangeLoginDomain] '-port'
[ChangeLoginDomain] '8561'
[ChangeLoginDomain] '-user'
[ChangeLoginDomain] 'sasadm@saspw'
[ChangeLoginDomain] '-password'
[ChangeLoginDomain] '********'
[ChangeLoginDomain] '-log'
[ChangeLoginDomain] 'E:\SAS\Config\Lev1\Logs\Configure\changeLoginDomain_2564-09-16-12.49.03.log'
[ChangeLoginDomain] 'hostname1'
[ChangeLoginDomain] 'hostname2'
[ChangeLoginDomain] ''
[ChangeLoginDomain]
[ChangeLoginDomain] The ' characters around the executable and arguments are
[ChangeLoginDomain] not part of the command.
[ChangeLoginDomain] Output redirected to property: change.hostname1.login.domain.output
[ChangeLoginDomain] Java Result: 8
BUILD FAILED
E:\SAS\SASHome\SASDeploymentManager\9.4\products\cfgwizard__94430__prt__xx__sp0__1\config\cfgwizard_config.xml:2606: The following error occurred while executing this line:
E:\SAS\SASHome\SASDeploymentManager\9.4\products\cfgwizard__94430__prt__xx__sp0__1\config\cfgwizard_config.xml:2611: The following error occurred while executing this line:
E:\SAS\SASHome\SASDeploymentManager\9.4\products\cfgwizard__94430__prt__xx__sp0__1\config\cfgwizard_config.xml:2633: The following error occurred while executing this line:
E:\SAS\SASHome\SASDeploymentManager\9.4\products\cfgwizard__94430__prt__xx__sp0__1\Utilities\configuration_scripts.xml:8741: [changeLoginDomain] Error encountered in changeLoginDomain. rc=8
If you run SAS Deployment Manager (sasadm) with the -loglevel 2 command-line option, you also see the following information about the error:
Setting project property: change.hostname1.login.domain.output -> Invalid command line syntax.
Too many command arguments.
The "Invalid command line syntax. Too many command arguments" message comes from the empty string ' ' that is being passed at the end of the ChangeLoginDomain command. This empty string is not compatible with the updated SAS Private Java Runtime Environment.
A fix for this issue is planned for a future software release.
If you encounter this error, contact SAS Technical Support.
Operating System and Release Information
| SAS System | SAS Deployment Manager | Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2012 R2 Std | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 10 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8.1 Pro x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M7 |
| Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.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.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2024-07-12 08:45:10 |
| Date Created: | 2021-10-19 13:46:21 |