Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

A Deployment Center deployment fails during deploy task Component-->Corporate

Server-->databaseUpdate.

The deployer log shows the following errors.

Current OS is Windows Server 2016


Executing 'cmd' with arguments:
'/c'
'C:\Windows\TEMP\dc_install_script_runner678782925.bat'

The filename, directory name, or volume label syntax is incorrect.


The filename, directory name, or volume label syntax is incorrect.

Mon Mar 02 13:51:36 EST 2020 Execution of "EXEC" task failed with exec returned:
123

Mon Mar 02 13:51:36 EST 2020 Execution of "IF" task failed with exec returned: 123

Mon Mar 02 13:51:36 EST 2020 Execution of "databaseUpdate" target of


"Feature/Artifact: fnd0_corporateserver (R39JFRQNIL28WXLD0212MFFSKMCCEFVM) -
ArtifactType( fnd0_dataModelArtifact ) failed with exec returned: 123

End Time: Mon, Mar 2 2020 01:51:36 PM


Duration: 16.7490 seconds (0.2792 minutes)

Solution
Check the TC_ROOT\install\tem_init.bat file for any trailing spaces after the Java
path.

When the deployment script called TC_DATA\tc_profilevars.bat to setup the


environment, it called TC_ROOT\install\tem_init.bat and that injected trailing
spaces in the JRE_HOME environment variable.

That caused subsequent java commands to fail with the error "The filename,
directory name, or volume label syntax is incorrect."

Hard-coding the JRE_HOME path in the TC_DATA\tc_profilevars.bat file allowed the


deployment to proceed successfully.

The issue was discovered by removing the "@echo off" entry from the top of the 'C:\
Windows\TEMP\dc_install_script_runner678782925.bat' script and running it manually.
Then do the same for each subsequent script that runs until the Java path showed a
very evident space.

You might also like