How to Setup a Word Export Server on Windows
This Section describes how to setup a Word Export Server on Windows.
Download Windows Service Wrapper
Download the latest version of https://github.com/winsw/winsw, use the WinSW.NETCore31.x64.exe.
Set up a service
1. Rename the WinSW.NETCore31.x64.exe to wordexport.exe.
2. Create a wordexport.xmlfile with the following content:
<service>

<id>wordexport</id>

<name>Word Export</name>

<description>This service runs Word Export application.</description>

<executable>java</executable>

<arguments>-Xms6G -Xmx6G -jar "%BASE%\cb-msoffice-integration-<VERSION>.jar" --server.port=443 --rest.export.maxRequests=<NUMBER OF PARALLEL REQUESTS> --server.ssl.key-store-type=PKCS12 --server.ssl.key-store=%BASE%\keystore.p12 --server.ssl.key-store-password=<PASSWORD> --server.ssl.key-alias=<ALIAS> --security.require-ssl=true</arguments>

<log mode="roll"></log>

<logpath>%BASE%\logs</logpath>

<onfailure action="restart" />

</service>
3. Create a keystore.p12 file with certificates.
4. Open the 443 port on the Windows Firewall.
5. Open the 443 port on the Security Group on AWS.
6. Install service by running in CLI: wordexport.exe install.
7. Start service by running in CLI: wordexport.exe start.
8. Verify status by running in CLI: wordexport.exe status.
9. Verify healthcheck URL: https://localhost/actuator/health.
Was this helpful?