This guide shows how to install Frontline Connector on Linux.
.jar
file of the Frontline Connector from our precompiled Connector Application with XLSX and CSV import./var/opt/frontline/connector.jar
.jar
file as a service./etc/systemd/system/connector.service
[Unit] Description=frontline-connector After=mysql.service [Service] Environment="UBIMAX_HOME=/var/data/frontline/" ExecStart=java -jar /var/opt/frontline/connector.jar SuccessExitStatus=143 [Install] WantedBy=multi-user.target
1. Register the service with the command:
systemctl enable connector.service
2. Start the service with the command:
systemctl start connector.service
3. Show the status of the service with the command:
systemctl status connector.service
Configuration files are created during the first launch of the service in the FRONTLINE_HOME
directory.
4. Open the %FRONTLINE_HOME%/config/configuration/xservice.properties
file .
5. Configure the "xserver.url" and "xserver.port" parameters of
server.port=${FC_PORT} fcc.remote-address=${fcc.url}:${fcc.port} fcc.api.key=${FCC_API_KEY} fc.url=${FC_URL}:${FC_PORT} server.servlet.context-path=/connector/
service.port=8081 fcc.remote-address=http://123.456.789.10:8080 fcc.api-key=687ae1dc4e40423c9d88b37b220a4328 fc.url=http://123.456.789.10:8081/connector server.servlet.context-path=/connector/
In order to connect to the Frontline Command Center, an API key is required for authorization of the connector.
fcc.api-key=${api.key}
To get an API key,
Note: Firewall configurations should allow access to the ports used in the settings.
5. Restart the service.
If the configurations were successful, the logs display lines like these:
25 Sep 2018 15:31:27,660 INFO ServiceController - Registering EVENT-Service with xServer [...] 25 Sep 2018 15:31:27,933 INFO ServiceController - Registering TROUBLESHOOTER-Service with xServer [...] 25 Sep 2018 15:31:27,957 INFO ServiceController - Registering inspection-Service with xServer [...] 25 Sep 2018 15:31:28,201 INFO ServiceController - Registering PICKING-Service with xServer [...] 25 Sep 2018 15:31:30,519 INFO IntegrationService - Started IntegrationService in 8.665 seconds (JVM running for 10.55)
If the Frontline Connector has the web UI enabled, it can be accessed using the URL configured in the properties (e.g. http://123.456.789.10:8081).