Page tree
Skip to end of metadata
Go to start of metadata

Requirements

  • OS : Windows, Linux

  • Platform : Java 8 or above


Changing Settings

Change "_s_INSTALLPATH_s_" to the actual installation path.

Modifying config-properties

WindowsLinux
  • SynapDocViewServer/config-properties.xml
SynapDocViewServer/config-properties.xml
<entry key="convert.config.baseDir">_s_INSTALLPATH_s_\\baseDir</entry>
<entry key="convert.config.downloadDir">_s_INSTALLPATH_s_\\down</entry>
<entry key="convert.config.outputDir">_s_INSTALLPATH_s_\\out</entry>
<entry key="convert.config.skinDir">_s_INSTALLPATH_s_\\baseDir\\skin</entry>
<entry key="convert.config.workingDir">_s_INSTALLPATH_s_\\work</entry>
<entry key="watermark.watermarkDir">_s_INSTALLPATH_s_\\watermark</entry>

ex) <entry key="convert.config.baseDir">c:\\SynapDocViewServer\\baseDir</entry>

  • SynapDocViewServer/config-properties.xml
SynapDocViewServer/config-properties.xml
<entry key="convert.config.baseDir">_s_INSTALLPATH_s_/baseDir</entry>
<entry key="convert.config.downloadDir">_s_INSTALLPATH_s_/down</entry>
<entry key="convert.config.outputDir">_s_INSTALLPATH_s_/out</entry>
<entry key="convert.config.skinDir">_s_INSTALLPATH_s_/baseDir/skin</entry>
<entry key="convert.config.workingDir">_s_INSTALLPATH_s_/work</entry>
<entry key="watermark.watermarkDir">_s_INSTALLPATH_s_/watermark</entry>

ex) <entry key="convert.config.baseDir">/home/user/SynapDocViewServer/baseDir</entry>


Modifying catalina

WindowsLinux
  • SynapDocViewServer/tomcat/bin/catalina.bat
SynapDocViewServer/tomcat/bin/catalina.bat
rem set CONVERT_DIR_PATH=-Dconfig.dir.path="_s_INSTALLPATH_s_"

Remove annotations ( rem )

ex) set CONVERT_DIR_PATH=-Dconfig.dir.path="c:\\SynapDocViewServer\\"

ex) set "JAVA_OPTS=%JAVA_OPTS% %CONVERT_DIR_PATH%"

  • SynapDocViewServer/tomcat/bin/catalina.sh
SynapDocViewServer/tomcat/bin/catalina.sh
#JAVA_OPTS="$JAVA_OPTS -Dconfig.dir.path='_s_INSTALLPATH_s_'"

Remove annotations ( # )

ex) JAVA_OPTS="$JAVA_OPTS -Dconfig.dir.path='/home/user/SynapDocViewServer/'"



Replacing Converter Module

Copy the converter module and fonts folder and paste them under "SynapDocViewServer/baseDir/bin/".

WindowsLinux
sedocConverter.exe
libeay32.dll
libxml2.dll
libxslt.dll
zlibwapi.dll
sedocConverter_exe



Starting Database

WindowsLinux
Run "SynapDocViewServer/hsql/hsql_db_startup.bat"

Run "SynapDocViewServer/hsql/hsql_db_startup.sh"



Running Tomcat (8080 port)

WindowsLinux
Run "SynapDocViewServer/tomcat/bin/startup.bat"Run "SynapDocViewServer/tomcat/bin/startup.sh"



Confirmation

It is a success if the admin page is successfully displayed when you access http://localhost:8080/SynapDocViewServer/admin.




  • No labels