Deploy SICS Batch Server to the JAVA Servlet Container

Deploy SICS Batch Server to the JAVA Servlet Container

Deployment on Apache Tomcat 10.x #

The way to deploy war files differ from the various Java Servlet Containers. The following describe how to do it on Apache Tomcat 10.1.40.

  1. Ensure Tomcat is running.
  2. Open the Tomcat Web Application Manager in a browser.
    If you have installed it locally on port 8080 the address is http://localhost:8080/manager/html (or click on the link Tomcat Manager in the Tomcat start page (http://localhost:8080)
    (You must log in with the username and password set when installed Tomcat)

tomcat_14.png

  1. Deploy the SICS Batch Server web application. There are different versions of SICS Batch Server for SICS P&C and Life, as mentioned in IMPORTANT NOTICE ON PRODUCT SPECIFIC FILES. Deploy the correct version of sbs.war according to your desired PRODUCT.
    Press the “Browse” button and locate the correct sbs.war file.

tomcat_15.png

  1. Wait for the application to start up.
  2. Stop Tomcat using the MS Windows Services window.
    (By clicking the “Stop the service”)
  3. Configure the SICS Batch Server environment, see chapterConfigure the SICS Batch Server Environment for details.
  4. (Re-)start Tomcat using the MS Windows Services window.
    (By clicking the “Start the service”)

tomcat_17.png

  1. In the following (and in other documents) we often call the machine where Tomcat is installed “batchserver”, so each time you see a link containing “batchserver” (for example: http://batchserver:8080/sbs/admin) you should substitute you name/IP-address.

Verify the startup #

Verify the startup of SICS Batch server, by opening the SICS Batch Server Management console:

  1. Open the Tomcat Manager
  2. Click on the “sbs” link under “Applications”
  3. You will be directed to the SICS Batch Server Management console.

It can also be found directly at the address: http://<Tomcat-installation:port>/sbs/admin
(If you have installed Tomcat without modifications the port will be 8080).

In a default set up, the SICS Batch Server Management console will not be available until SICS Batch Server is up and running.

batch_server_5.png

Verify the startup of SICS Batch Server by inspecting the log files.
In addition to using the SICS Batch Server Management Console you can also see whether SICS Batch Server has successfully started by looking at the SicsBatch Server.log file (see paragraph Configure logging).

The last line in the logfile should read SICS Batch Server is started and ready.

Example:

09.03.201608:10:28.516Z INFO - SICS Batch Server is started and ready