CAPTCHA or other generated images not displayed with error javax.imageio.IIOException: Can't create cache file
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Generated images, such as the CAPTCHA or profile pictures are not displaying.
The following exception is observed in the atlassian-jira.log file.
java.lang.RuntimeException: javax.imageio.IIOException: Can't create cache file!
...
ソリューション
The reason for the "javax.imageio.IIOException: Can't create cache file!" error is that JIRA is not able to create the cache file in the Tomcat temp directory (which is usually in the $JIRA_INSTALL/temp
directory).
The following needs to be verified and corrected:
- Does the
$JIRA_INSTALL/temp
directory exist? If not, you might need to create it and assign write permissions to the user that runs JIRA. - Does the user running JIRA have write permissions to the directory?
- Is the file system that has this directory full and have free disk space?
Once these conditions have been verified, you will need to restart JIRA and clear the browser cache to see the images.