Constant redeploy until restart, error - "The requested operation cannot be performed on a file with a user-mapped section open in the logs."

Constant redeploy until restart, error - "The requested operation cannot be performed on a file with a user-mapped section open in the logs."

book

Article ID: KB0075039

calendar_today

Updated On:

Products Versions
Spotfire Server ALL Versions

Description

Description:
Constant redeploy until restart of Spotfire Server. Error - "The requested operation cannot be performed on a file with a user-mapped section open in the logs."


Symptoms:
Deployment is not successful and the following errors are returned in the logs.
 
Error -  [*DeploymentUpdater*] server.deployment.DeploymentManagerOracle: Exception refreshing updated deployments
com.spotfire.server.deployment.DeploymentException: Problem unpacking package
:
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: com.spotfire.server.deployment.DeploymentException: Problem unpacking package
at sun.reflect.GeneratedConstructorAccessor222.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.spotfire.server.deployment.DeploymentException: Problem unpacking package
at sun.reflect.GeneratedConstructorAccessor222.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
:
:
Caused by: java.lang.RuntimeException: com.spotfire.server.deployment.DeploymentException: Problem unpacking package
at com.spotfire.server.deployment.DeploymentManager.lambda$null$6(DeploymentManager.java:2450)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
:
Caused by: com.spotfire.server.deployment.DeploymentException: Problem unpacking package
at com.spotfire.server.deployment.DeploymentManager.lambda$null$6(DeploymentManager.java:2440)
... 9 more
Caused by: java.io.FileNotFoundException: D:\tibco\tss\7.5.0\tomcat\temp\TIBCO\TSS\deploy\2d71f811-19f6-f4ac-c985-3da501193f54-TEMP-5339660424130175219\Metadata.xml (The requested operation cannot be performed on a file with a user-mapped section open)
 
:
 

Cause:
The cause is due to an antivirus utility locking/deleting files under the <Spotfire Server_InstallDir>\tomcat\temp folder.
 

Issue/Introduction

Constant redeploy until restart, error - "The requested operation cannot be performed on a file with a user-mapped section open in the logs."

Resolution

Disable antivirus scanning on the <Spotfire Server_InstallDir> folder.