Article - CS375650
WT_HOME/wtCustom/wt/util/resource/resourceCustomize.rbInfo causes module installation to fail in Windchill
Modified: 13-Oct-2022
Applies To
- Windchill PDMLink 11.2 to 12.1
Description
- Module installation via PSI fails until removing the WT_HOME/wtCustom/wt/util/resource/resourceCustomize.rbInfo file
- In PTCSOLNINSTALLER_PtcInstall.log file , observed the following errors :
- [java] 'wt.resource.compile.exe=C:\Program'
- [java] 'Files\Java\jdk1.8.0_212/bin/javac'
- [java] C:\Program -classpath C:\ptc\Windchill_11.2\Windchill\bin\${env.CLASSPATH};C:\ptc\Windchill_11.2\Windchill\srclib\wnc\CommonCore.jar;C:\ptc\Windchill_11.2\Windchill\srclib\jmxcore\WtLogR.jar;C:\ptc\Windchill_11.2\Windchill\srclib\log4j.jar -d C:\ptc\Windchill_11.2\Windchill/codebase -encoding UTF-8 C:\ptc\Windchill_11.2\Windchill\TEMP\98952057\UTF-8\*.java
- [java] 'Files\Java\jdk1.8.0_212/bin/javac'
- [java] C:\Program -classpath C:\ptc\Windchill_11.2\Windchill\bin\${env.CLASSPATH};C:\ptc\Windchill_11.2\Windchill\srclib\wnc\CommonCore.jar;C:\ptc\Windchill_11.2\Windchill\srclib\jmxcore\WtLogR.jar;C:\ptc\Windchill_11.2\Windchill\srclib\log4j.jar -d C:\ptc\Windchill_11.2\Windchill/codebase -encoding UTF-8 C:\ptc\Windchill_11.2\Windchill\TEMP\98952057\UTF-8\*.java
- The same issue when applying CPS also
- For example, observed the following errors during CPS update :
- [java] 'wt.resource.search.ArtifactDir=custom'
- [java] 'wt.resource.compile.exe=E:\Amazon'
- [java] 'Corretto\jdk1.8.0_302/bin/javac'
- [java] 'wt.resource.compile.classpath=E:\ptc\Windchill\bin\${env.CLASSPATH};E:\ptc\Windchill\srclib\wnc\CommonCore.jar;E:\ptc\Windchill\srclib\jmxcore\WtLogR.jar;E:\ptc\Windchill\srclib\log4j.jar'
- [java] 'wt.resource.forceCompile=true'
...
...
- [java] E:\Amazon -classpath E:\ptc\Windchill\bin\${env.CLASSPATH};E:\ptc\Windchill\srclib\wnc\CommonCore.jar;E:\ptc\Windchill\srclib\jmxcore\WtLogR.jar;E:\ptc\Windchill\srclib\log4j.jar -d E:\ptc\Windchill/codebase -encoding UTF-8 E:\ptc\Windchill\TEMP\37173659\UTF-8\*.java
- [java] java.io.IOException: Cannot run program "E:\Amazon": CreateProcess error=2, The system cannot find the file specified, check the log file for details.
- [java] Execution/Launch Time = 0.345 seconds
- [antcall] Exiting E:\ptc\Windchill\bin\tools.xml.
- [ant] Exiting E:\ptc\Windchill\bin\tools.xml.
-
- BUILD FAILED
- E:\ptc\Windchill\bin\installModules.xml:1081: The following error occurred while executing this line:
- E:\ptc\Windchill\bin\tools.xml:543: The following error occurred while executing this line:
- E:\ptc\Windchill\bin\tools.xml:604: Java returned: 1
- at org.apache.tools.ant.taskdefs.Java.execute(Java.java:112)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
- [java] 'wt.resource.compile.exe=E:\Amazon'
- [java] 'Corretto\jdk1.8.0_302/bin/javac'
- [java] 'wt.resource.compile.classpath=E:\ptc\Windchill\bin\${env.CLASSPATH};E:\ptc\Windchill\srclib\wnc\CommonCore.jar;E:\ptc\Windchill\srclib\jmxcore\WtLogR.jar;E:\ptc\Windchill\srclib\log4j.jar'
- [java] 'wt.resource.forceCompile=true'
...
...
- [java] E:\Amazon -classpath E:\ptc\Windchill\bin\${env.CLASSPATH};E:\ptc\Windchill\srclib\wnc\CommonCore.jar;E:\ptc\Windchill\srclib\jmxcore\WtLogR.jar;E:\ptc\Windchill\srclib\log4j.jar -d E:\ptc\Windchill/codebase -encoding UTF-8 E:\ptc\Windchill\TEMP\37173659\UTF-8\*.java
- [java] java.io.IOException: Cannot run program "E:\Amazon": CreateProcess error=2, The system cannot find the file specified, check the log file for details.
- [java] Execution/Launch Time = 0.345 seconds
- [antcall] Exiting E:\ptc\Windchill\bin\tools.xml.
- [ant] Exiting E:\ptc\Windchill\bin\tools.xml.
-
- BUILD FAILED
- E:\ptc\Windchill\bin\installModules.xml:1081: The following error occurred while executing this line:
- E:\ptc\Windchill\bin\tools.xml:543: The following error occurred while executing this line:
- E:\ptc\Windchill\bin\tools.xml:604: Java returned: 1
- at org.apache.tools.ant.taskdefs.Java.execute(Java.java:112)
- at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
This is a printer-friendly version of Article 375650 and may be out of date. For the latest version click CS375650