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:
Upgrade failed
Upgrading database.
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.
Upgrading files.
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)
at
com.spotfire.server.config.tool.BootstrapCommand.createBootstrapConfigDescriptor (BootstrapCom
mand.java: 488) ?:?]
at
com.spotfire.server.tools.upgrade. UpgradeHanager.createBootstrapConfiguration(UpgradeManager.
java: 1455) [2:2]
at
com.spotfire.server.tools. upgrade. UpgradeHanager.doFilesUpgrade (UpgradeHanager.java: 392)
at com.spotfire.server.tools.upgrade. UpgradeManager.execute (UpgradeManager.java: 284)
at
com.spotfire.server.tools. upgrade.steps. ExecuteUpgradeStep. doUpgrade (ExecuteUpgradeStep.java:
102) [?:]
at
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
Comments
0 comments
Article is closed for comments.