Rename plugin-cfg File Using Files#Move #16495
Labels
in:Web Components
release bug
This bug is present in a released version of Open Liberty
release:21005
team:Sirius
Projects
Milestone
Debug statement (added in #15813 ) identified the following:
[3/11/21, 1:26:36:757 GMT] 0000004e id=00000000 com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator 3 Rename to plugin-cfg.xml failed!
For rtc defect 270671
There are occasional failures on Windows when renaming this file since File.renameTo is platform dependent.
https://docs.oracle.com/javase/8/docs/api/java/io/File.html#renameTo-java.io.File-
JavaDoc recommends Files#Move is used instead.
When this error occurs, a FFDC with the following stack trace will occur:
The text was updated successfully, but these errors were encountered: