Article - CS221217

Installation fails with error "Unable to delete directory <Windchill_home>\srclib\TEMP" in Windchill PDMLink

Modified: 28-Aug-2025   


Applies To

  • Windchill PDMLink 9.1 to 13.0
  • Pro/INTRALINK 8.x + 9.1 to 12.0
  • Windchill MPMLink 12.0 to 13.0

 

Description

  • Patch installation fails with error  
    INFO date/time - D:\ptc\Windchill_11.0\Windchill\srclib\infoenginejars.xml:163: Unable to delete directory D:\ptc\Windchill_11.0\Windchill\srclib\TEMP
  • Replica server installation using the PSI fails with error following
  • Failed to update Fileserver to CPSXXX with error following
     Unable to delete directory D:\ptc\Windchill_11.x\Windchill\srclib\TEMP
  • PTC Solutions Installer (PSI) for Windchill PDMLink fails at Info*Engine with error
    Unable to delete directory <Windchill_home>\srclib\TEMP
  • PSI fails with error
    java.lang.exception: deploy failed with return code=1
  • PTC Solutions Installer fails with error
    unable to delete file C:\Users\Administrator\AppData\Local\Temp\2\064016.tmp\PSI\Disk1\Installxxxxxxx
  • PTC Solutions Installer fails regarding Windchill Services module with error:
INFO   02-07-2024 15:28:49 - ################################################### 
INFO   02-07-2024 15:28:49 -          Running wnc Installer 
INFO   02-07-2024 15:28:49 - ################################################### 
DEBUG  02-07-2024 15:28:49 - calling executeInstaller(H:\software\windchill\Windchill\12_1_2\MED-60418-CD-121_12-1-2-0_Windchill-Services) 
DEBUG  02-07-2024 15:28:49 - Processing subinstaller assembly (wnc): timer.start 
INFO   02-07-2024 15:28:49 - installDebug: Calling subinstaller wnc command 
INFO   02-07-2024 15:28:49 - Running:  H:\software\windchill\Windchill\12_1_2\MED-60418-CD-121_12-1-2-0_Windchill-Services\Disk1\InstData\Windows\NoVM\setup.exe LAX_VM H:\ptc\Java\jdk11.0.17_8\bin\java.exe -f H:\ptc\Windchill_12_1_2\PSI\installer\PSITempProps\wnc-installer.properties -DMULTI_PROGRAM_EXEC=1 
INFO   02-07-2024 15:40:08 - Completed:  H:\software\windchill\Windchill\12_1_2\MED-60418-CD-121_12-1-2-0_Windchill-Services\Disk1\InstData\Windows\NoVM\setup.exe LAX_VM H:\ptc\Java\jdk11.0.17_8\bin\java.exe -f H:\ptc\Windchill_12_1_2\PSI\installer\PSITempProps\wnc-installer.properties -DMULTI_PROGRAM_EXEC=1 
INFO   02-07-2024 15:40:08 - return code = 0 
INFO   02-07-2024 15:40:08 - installDebug: end call to subinstaller wnc command 
DEBUG  02-07-2024 15:40:08 - Installation is Aborting. The installation cannot continue.
 
FATAL  02-07-2024 15:43:07 - Aborting installation. 
FATAL  02-07-2024 15:43:07 - Installation is Aborting. The installation cannot continue.
 
FATAL  02-07-2024 15:43:07 - wnc installer appears to have failed to start. Its PTC and/or XML log is missing 
FATAL  02-07-2024 15:43:07 - aborting: original exit_code = 2 
FATAL  02-07-2024 15:43:07 - aborting: normalized exit_code = 2 
DEBUG  02-07-2024 15:43:07 - Terminating PSI through AbortManager:abort()  
DEBUG  02-07-2024 15:43:07 - AbortManager: calling ZipLogFileAnalysis 001 
DEBUG  02-07-2024 15:43:07 - AbortManager: starting ZipLogFileAnalysis.logAnalysis() 
DEBUG  02-07-2024 15:43:12 - Completed Log-Analyzer..... 
DEBUG  02-07-2024 15:43:12 - AbortManager: Done ZipLogFileAnalysis.logAnalysis() 
DEBUG  02-07-2024 15:43:12 - Installation aborting: passwords redacting 
ERROR  02-07-2024 15:43:12 - Class path is:jar:file:/C:/Users/Administrator/AppData/Local/Temp/2/I1719903995/InstallerData/Execute.zip!/com/ptc/windchill/install/LogAnalyzer/PasswordRedactor.class 
DEBUG  02-07-2024 15:43:12 - propsDirStr3 = H\:\\ptc\\Windchill_12_1_2\\Windchill 
ERROR  02-07-2024 15:43:12 - Property File1 Path is :H:\ptc\Windchill_12_1_2\PSI\installer\PSITempProps 
ERROR  02-07-2024 15:43:12 - Property File2 Path is :H:\ptc\Windchill_12_1_2\PSI\installer\PSITempProps 
ERROR  02-07-2024 15:43:12 - subInstallList path is :tomcat,apache,ie,wnc,commonpdm,pdml,sisia,sisipcia,ptlc,winds,pjl,wps,wlp,odata,solr 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = tomcat 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = apache 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = ie 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = wnc 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = commonpdm 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = pdml 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = sisia 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = sisipcia 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = ptlc 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = winds 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = pjl 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = wps 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = wlp 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = odata 
ERROR  02-07-2024 15:43:12 - ArrayList Element is = solr 
DEBUG  02-07-2024 15:43:12 - PasswordRedactor.redactPasswords():begin 
DEBUG  02-07-2024 15:43:12 - PasswordRedactor.redactPasswordsFromInstallerLoadpointLogs:begin 
ERROR  02-07-2024 15:43:12 - subInstallList path is:tomcat,apache,ie,wnc,commonpdm,pdml,sisia,sisipcia,ptlc,winds,pjl,wps,wlp,odata,solr 
DEBUG  02-07-2024 15:43:12 - PasswordRedactor.getAllLogFilesToRedactViaInstallerLoadpoints():begin 
DEBUG  02-07-2024 15:43:12 - getAllLogFilesToRedactViaInstallerLoadpoints.The size of assemblyArray is=15 
DEBUG  02-07-2024 15:43:12 - getAllLogFilesToRedactViaInstallerLoadpoints assembId=tomcat 
DEBUG  02-07-2024 15:43:12 - propsDirStr3 = H\:\\ptc\\Windchill_12_1_2\\Windchill\\tomcat 
DEBUG  02-07-2024 15:43:12 - getAllLogFilesToRedactViaInstallerLoadpoints loadPointDirPath'H\:\\ptc\\Windchill_12_1_2\\Windchill\\tomcat' 
DEBUG  02-07-2024 15:43:12 - getAllLogFilesToRedactViaInstallerLoadpoints assembId=apache 
.........
 
DEBUG  02-07-2024 15:43:12 - PasswordRedactor.getTempFile is returning=C:\Users\Administrator\AppData\Local\Temp\2\APACHE_PtcInstall.log11763051397834330508.redacted 
DEBUG  02-07-2024 15:43:12 - PasswordRedactor.redactLogFiles wrote to file=C:\Users\Administrator\AppData\Local\Temp\2\APACHE_PtcInstall.log11763051397834330508.redacted
 
DEBUG  02-07-2024 15:43:12 - Error caught in PasswordRedactor.redactLogFile, while redacting file:
Input length = 1 
java.nio.charset.MalformedInputException: Input length = 1
	at java.nio.charset.CoderResult.throwException(CoderResult.java:274) ~[?:?]
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) ~[?:?]
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:?]
	at java.io.InputStreamReader.read(InputStreamReader.java:181) ~[?:?]
	at java.io.BufferedReader.fill(BufferedReader.java:161) ~[?:?]
	at java.io.BufferedReader.readLine(BufferedReader.java:326) ~[?:?]
	at java.io.BufferedReader.readLine(BufferedReader.java:392) ~[?:?]
  • PTC Solutions Installer fails with error
DEBUG  date/time - PasswordRedactor.getTempFile is returning=C:\Users\Administrator\AppData\Local\Temp\2\PTCSOLNINSTALLER_PtcInstall.log12547030174489377875.redacted 
DEBUG  date/time - PasswordRedactor.redactLogFiles wrote to file=C:\Users\Administrator\AppData\Local\Temp\2\PTCSOLNINSTALLER_PtcInstall.log12547030174489377875.redacted
 
DEBUG  date/time - Error caught in PasswordRedactor.redactLogFile, while redacting file:
Input length = 1 
java.nio.charset.MalformedInputException: Input length = 1
    at java.nio.charset.CoderResult.throwException(CoderResult.java:274) ~[?:?]
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) ~[?:?]
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:?]
    at java.io.InputStreamReader.read(InputStreamReader.java:181) ~[?:?]
    at java.io.BufferedReader.fill(BufferedReader.java:161) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:326) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:392) ~[?:?]
    at com.ptc.windchill.install.LogAnalyzer.PasswordRedactor.redactLogFile(PasswordRedactor.java:500) ~[Execute.zip:?]
    at com.ptc.windchill.install.LogAnalyzer.PasswordRedactor.redactLogFiles(PasswordRedactor.java:449) ~[Execute.zip:?]
    at com.ptc.windchill.install.LogAnalyzer.PasswordRedactor.redactPasswordsFromTempDirLogs(PasswordRedactor.java:828) ~[Execute.zip:?]
    at com.ptc.windchill.install.LogAnalyzer.PasswordRedactor.redactPasswords(PasswordRedactor.java:647) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.errorHandling.AbortManager.abort(AbortManager.java:242) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.errorHandling.AbortManager.abortInstallation(AbortManager.java:103) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.runWindchillLoader(WindchillLoaderManagerImpl.java:669) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.loadData(WindchillLoaderManagerImpl.java:577) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.loadSubinstallerData(WindchillLoaderManagerImpl.java:268) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.process(WindchillLoaderManagerImpl.java:143) ~[Execute.zip:?]
    at com.ptc.windchill.install.suite.WindchillLoaderManager.process(WindchillLoaderManager.java:40) ~[Execute.zip:?]
    at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:512) ~[Execute.zip:?]
    at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:330) ~[Execute.zip:?]
    at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.GhostDirectory.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.Installer.install(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.actions.InstallProgressAction.ae(Unknown Source) ~[IAClasses.zip:?]
    at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) ~[IAClasses.zip:?]
DEBUG  date/time - IOException: 
DEBUG  date/time - java.nio.charset.MalformedInputException: Input length = 1 
DEBUG  date/time - IOException: 
DEBUG  date/time - java.nio.charset.MalformedInputException: Input length = 1 
DEBUG  date/time - PasswordRedactor.redactLogFiles, error caught: C:\Users\Administrator\AppData\Local\Temp\2\PTCSOLNINSTALLER_PtcInstall.log: The process cannot access the file because it is being used by another process
 
java.nio.file.FileSystemException: C:\Users\Administrator\AppData\Local\Temp\2\PTCSOLNINSTALLER_PtcInstall.log: The process cannot access the file because it is being used by another process

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) ~[?:?]
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:274) ~[?:?]
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110) ~[?:?]
    at java.nio.file.Files.deleteIfExists(Files.java:1181) ~[?:?]
............
DEBUG  date/time - PasswordRedactor. redactPropertyFiles: end 
DEBUG  date/time - redactPasswordsFromTempDirProps:end 
DEBUG  date/time - PasswordRedactor.redactPasswords():end 
DEBUG  date/time - Installation aborted: passwords redacted 
DEBUG  date/time - SHUTDOWN REQUESTED 
DEBUG  date/time - (X) commiting registry 
DEBUG  date/time - (X) shutting down service manager 
DEBUG  date/time - (X) cleaning up temporary directories 
DEBUG  date/time - Exiting with exit code: 2 
DEBUG  date/time - java.lang.NullPointerException 
DEBUG  date/time - cleanUp() 
DEBUG  date/time - calling cleanUpWin32() 
  • CPS installation failed with error 
    java.lang.exception: deploy failed with return code=1
This is a printer-friendly version of Article 221217 and may be out of date. For the latest version click CS221217