Product: TIBCO Spotfire®
TIBCO Spotfire server upgrade may fail with the error message "Error writing database connection configuration to output stream:(Access is denied)"
Upgrading TIBCO Spotfire server may fail with the following error message in Spotfire upgrade tool box:
Replacing configuration 46f2dca45941bbd1c8b11759610a429cf5a5b45d ('Created when upgrading to
10.4.0' ,set on 2019-10-10 09: 43: 42. 0)with configuration 46f2dca45941bbd1c8b 11759 610a429cf5a5b45d
Successfully upgraded the database to TIBCO Spotfire Server 10.4.0 format.
Unable to create bootstrap.xml file.
com.spotfire.server.config.tool.CommandException: Error writing database connection configuration to output stream:
C: tibco\tss\10.4.0\tomcat\webapps\spotfire\WEB-INF\bootstrap.xml (Access is denied)
mand.java: 488) ?:?]
java: 1455) [2:2]
com.spotfire.server.tools. upgrade. UpgradeHanager.doFilesUpgrade (UpgradeHanager.java: 392)
at com.spotfire.server.tools.upgrade. UpgradeManager.execute (UpgradeManager.java: 284)
com.spotfire.server.tools. upgrade.steps. ExecuteUpgradeStep. doUpgrade (ExecuteUpgradeStep.java:
com.spotfire.server.tools.upgrade.swing. ExecuteUpgradeStepViewSExecuteUpgrade.do InBackground (
ExecuteUpgradeStepView.java: 192) [?:?]
This error occurs when calling the bootstrap configuration during the upgrade.
To resolve the issue, ensure that the user account running upgrade tool has access to <Spotfire server installation directory>\tomcat\webapps\spotfire\WEB-INF\bootstrap.xml file and also make sure to run the Upgrade tool as Administrator.
Doc: Running the Spotfire Server upgrade tool interactively