You can start and stop the Synap Document Viewer Server Edition in the following procedures.
Operate database
Start the database. You need to execute in the ${INSTALL_DIR}/hsql directory. A Linux system based example is provided below.
You can access and check the database properly. Using the '\q' command disconnect the database console.
#> cd ${INSTALL_DIR}/hsql #> ./hsql_db_startup.sh #> ./hsql_db_tool.sh SqlTool v. 5337. JDBC Connection established to a HSQL Database Engine v. 2.3.2 database as "docs" with R/W TRANSACTION_READ_COMMITTED Isolation. ... Skipped ... After turning on variable expansion with command "*" (or any other PL command), PL variables may be used in most commands like so: *{PLVARNAME}. Be aware when using regular expressions on commands, that the regex.s operate only on the command text after the * or \ prefix, if any. sql> sql> \q # Using the '\q' command disconnect the database console.
Change database port
Database uses the 9001 port. You can change the port by modifying the ${INSTALL_DIR}/hsql/server.properties file.
You can change the port number by adding server.port settings value.
server.database.0=file:data/convserv
server.dbname.0=convserv
server.port=${PORT_NUMBER}
When you change database port, you must modify the JDBC connection information on ${INSTALL_DIR}/config-properties.xml.
If you modify config-properties.xml, you need to stop the server and perform modification. Otherwise, the server does not work properly.
... Skipped ... <entry key="jdbc.dbUrl">jdbc:hsqldb:hsql://localhost:${PORT_NUMBER}/convserv</entry> ... Skipped ...
Start and stop tomcat
You can start the Synap Document Viewer Server Edition using tomcat.WAS. The default port for the server is 8080.
#> cd ${INSTALL_DIR}/tomcat/bin #> ./startup.sh Using CATALINA_BASE: ${INSTALL_DIR}/SynapDocViewServer/tomcat Using CATALINA_HOME: ${INSTALL_DIR}/SynapDocViewServer/tomcat Using CATALINA_TMPDIR: ${INSTALL_DIR}/SynapDocViewServer/tomcat/temp Using JRE_HOME: /usr Using CLASSPATH: ${INSTALL_DIR}/SynapDocViewServer/tomcat/bin/bootstrap.jar:${INSTALL_DIR}/SynapDocViewServer/tomcat/bin/tomcat-juli.jar Tomcat started. #>./shutdown.sh Using CATALINA_BASE: ${INSTALL_DIR}/SynapDocViewServer/tomcat Using CATALINA_HOME: ${INSTALL_DIR}/SynapDocViewServer/tomcat Using CATALINA_TMPDIR: ${INSTALL_DIR}/SynapDocViewServer/tomcat/temp Using JRE_HOME: /usr Using CLASSPATH: ${INSTALL_DIR}/SynapDocViewServer/tomcat/bin/bootstrap.jar:${INSTALL_DIR}/SynapDocViewServer/tomcat/bin/tomcat-juli.jar Tomcat stopped.
Administrator's access to UI and conversion module check
You can access to the administrator site and perform check on whether the module operates properly. For more information about how to check the module operation, please refer to "Administrator manual".
The URL to access at the initial settings is http://localhost:8080/SynapDocViewServer/admin.