Article - CS317334
Page cannot be accessed with error message "Exception: java.io.IOException: tmpFile.renameTo (classFile) failed" in Windchill PDMLink
Modified: 29-Apr-2022
Applies To
- Windchill PDMLink 10.2 to 12.0
Description
- Page cannot be accessed with error message Exception: java.io.IOException: tmpFile.renameTo (classFile) failed
ERROR [ajp-nio-127.0.0.1-8010-exec-8] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Windchill].[jsp] wcadmin - Servlet.service() for servlet [jsp] threw exception
java.io.IOException: tmpFile.renameTo(classFile) failed"
java.io.IOException: tmpFile.renameTo(classFile) failed"
- There is no class file generation in the work directory of Tomcat cache
- Manual compilation of Tomcat fails
- Page cannot be accessed with error message java.io.IOException: Unable to rename class file from xyz.classtmp to xyz.class
- Errors showing up in method server logs after swapping Oracle java for Amazon corretto
java.io.IOException: Unable to rename class file from [<WT_Home>\tomcat\instances\instance-8011\work\Catalina\localhost\Windchill\org\apache\jsp\tag\web\renderBeforeHeader_tag.classtmp] to [<WT_Home>\tomcat\instances\instance-8011\work\Catalina\localhost\Windchill\org\apache\jsp\tag\web\renderBeforeHeader_tag.class]
This is a printer-friendly version of Article 317334 and may be out of date. For the latest version click CS317334