Resolving errors when updating deployment area from command line

Resolving errors when updating deployment area from command line

book

Article ID: KB0076718

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

When updating the Spotfire Deployment area from the command line using the update-deployment command, the update may fail with the following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no SfWinCon in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at com.spotfire.server.util.win.WinConnectorImpl.init(WinConnectorImpl.java:43)
        at com.spotfire.server.util.win.WinConnectorImpl.<init>(WinConnectorImpl.java:36)
        at com.spotfire.server.util.win.WinConnectorImpl.<init>(WinConnectorImpl.java:32)
        at com.spotfire.server.userdir.win.WindowsProvider.<init>(WindowsProvider.java:46)
        at com.spotfire.server.userdir.ProviderFactory.createWindowsProvider(ProviderFactory.java:192)
        at com.spotfire.server.userdir.ProviderFactory.createWindowsProvider(ProviderFactory.java:151)
        at com.spotfire.server.userdir.UserDirectoryImpl.<init>(UserDirectoryImpl.java:168)
        at com.spotfire.server.config.tool.UpdateDeploymentCommand.run(UpdateDeploymentCommand.java:177)
        at com.spotfire.server.config.tool.AbstractDeploymentCommand.run(AbstractDeploymentCommand.java:99)
        at com.spotfire.server.config.tool.ConfigApp.executeCommand(ConfigApp.java:369)
        at com.spotfire.server.config.tool.ConfigApp.main(ConfigApp.java:458)

 

Issue/Introduction

Resolving errors when using the update-deployment command to update Spotfire Server deployment areas.

Resolution

To resolve, copy the the SfWinCon.dll from:
  • [Spotfire Server Install Dir]\tomcat\bin  
To:
  • [System Drive]:\Windows\System32 folder

Additional Information

Doc: update-deployment