Product: TIBCO Spotfire®
Error while saving deployment package to the deployment area : "Failed to move directory"
You may come across below error while saving the deployment package (spotfire.Dxp.sdn or spotfire.dxp.nodemanagerwindows.sdn) to the deployment area in Spotfire server logs (server.log file)
============
"WARN 2020-04-25T17:09:28,175+0200 [*DeploymentUpdater*] server.deployment.DeploymentManager: Exception refreshing updated deployments
com.spotfire.server.deployment.DeploymentException: Failed to move directory 'D:\tibco\tss\10.9.0\tomcat\temp\TIBCO\TSS\deploy\37913e88-9523-4cf5-9c24-0957165e62e5-TEMP-3945759121268000043' to 'D:\tibco\tss\10.9.0\tomcat\temp\TIBCO\TSS\deploy'
at com.spotfire.server.deployment.DeploymentManager.replaceAreaDirectory(DeploymentManager.java:3483) ~[spotfire-server.jar:?]
at com.spotfire.server.deployment.DeploymentManager.refreshArea(DeploymentManager.java:2781) ~[spotfire-server.jar:?]
at com.spotfire.server.deployment.DeploymentManager.refreshUpdated(DeploymentManager.java:2726) ~[spotfire-server.jar:?]
at com.spotfire.server.deployment.DeploymentManager.access$100(DeploymentManager.java:118) ~[spotfire-server.jar:?]
at com.spotfire.server.deployment.DeploymentManager$DeploymentUpdater.run(DeploymentManager.java:1798) ~[spotfire-server.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_241]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_241]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_241]
Caused by: java.nio.file.DirectoryNotEmptyException: D:\tibco\tss\10.9.0\tomcat\temp\TIBCO\TSS\deploy\37913e88-9523-4cf5-9c24-0957165e62e5-TEMP-3945759121268000043\Contents
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266) ~[?:1.8.0_241]
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) ~[?:1.8.0_241]
at java.nio.file.Files.delete(Files.java:1126) ~[?:1.8.0_241]
at com.spotfire.server.util.FileUtils$DeleteDirectoryVisitor.postVisitDirectory(FileUtils.java:523) ~[spotfire-server.jar:?]
at com.spotfire.server.util.FileUtils$DeleteDirectoryVisitor.postVisitDirectory(FileUtils.java:473) ~[spotfire-server.jar:?]
at java.nio.file.Files.walkFileTree(Files.java:2688) ~[?:1.8.0_241]
at java.nio.file.Files.walkFileTree(Files.java:2742) ~[?:1.8.0_241]
at com.spotfire.server.util.FileUtils.move(FileUtils.java:384) ~[spotfire-server.jar:?]
at com.spotfire.server.deployment.DeploymentManager.replaceAreaDirectory(DeploymentManager.java:3477) ~[spotfire-server.jar:?]
... 11 more"
============
This issue may occurs when there are issues in the TIBCO Spotfire server's temp folder contents (For example: D:\tibco\tss\10.9.0\tomcat\temp folder from above error).
Follow below steps to resolve this issue:
- Stop TIBCO Spotfire Server service.
- Clear / delete the contents from the “\tomcat\temp” folder (For example: D:\tibco\tss\10.9.0\tomcat\temp folder from above error).
- Start TIBCO Spotfire Server service again.
- Now deploy the package (spotfire.Dxp.sdn or spotfire.dxp.nodemanagerwindows.sdn) to deployment area.
Comments
0 comments
Article is closed for comments.