Hospitality Initialisation

Hospitality application supports configuration and initialisation of multiple instances simultaneously.

Hospitality application supports two different modes of initialisation:

  • Manual start through batch file

  • Run as a Service

Manual start through batch file

After successful installation of hospitality application, Hospitality can be started manually by running StartHospitalityServer.bat.

Note: The Hospitality application did not have the option of closing on system tray as there is no GUI and if user wanted to close the hospitality application then press Ctrl+C on both screens.

To hide unnecessary loggers on console while Hospitality in standalone mode

Steps to hide CMD shells of Hospitality application:

  • Hospitality Server:

    • Go to installation directory, navigate to YESEFT/bin
    • Open JvtServerStartup.bat file and search for start "Hospitality Server" java
    • Change java to javaw
    • Save the changes
  • EVT Server

    • Go to installation directory, navigate to YESEFT/bin
    • Open Evt-interfaceStartup.bat file and search for start "EVT-Interface Server" java
    • Change java to javaw
    • Save the changes

Note: Once console is hidden then Hospitality Application can only be killed form Task Manager. To kill application from Task Manager search for javaw process running and stop both of them.

To find process-id of hospitality application:

  • Run jdk installation directory\jdk1.8.xx\bin\jps

  • PID1 FVTInterfaceServer

  • PID2 HospitalityServer

Processes with above description should be closed for stopping hospitality application.

Steps to show CMD shells of Hospitality application again:

  • For Hospitality Server:

    • Go to installation directory, navigate to YESEFT/bin
    • Open JvtServerStartup bat file and search for start "Hospitality Server" java
    • Change javaw to java
    • Save the changes
  • For EVT Server:

    • Go to installation directory, navigate to YESEFT/bin
    • Open Evt-interfaceStartup.bat file and search for start "EVT-Interface Server" java
    • Change javaw to java
    • Save the changes

Run as a Service

After successful installation of hospitality application, Hospitality provides Start as Service configuration functionality to run or initialize application by registering it as a windows service. There is no GUI in hospitality and also there is no console when start as a service initialisation of hospitality application is done. When we need to stop application then it will b stopped by closing services manually as shown in further screens.

Steps needed for configuration of Hospitality to run as a Service.

  • To register as a service, run InstallService.bat file with System Administrator privileges.

install_service.png

  • This will register Hospitality application as service.

hospitality_service.png

  • By clicking on each services of Hospitality, one can choose Automatic property to run this application with system start-up.

hospitality_service_auto.png

At the time of system start-up this service will automatically be trigged.

hospitality_startup.png

To unregister, Run UninstallService.bat file.

Hospitality as service with low privilege account

Hospitality, when it runs as service uses a 'Local System' account, which has administrative rights.

For more details about privileges see theLocal Systemaccount.

Steps to add already created low privilege service account:

  • Set username/password of 'low privilege service account' with below attributes on ivt wrapper properties and evt-interface.wrapper.properties file:

    • wrapper.ntservice.account=DOMAIN/userName

    • wrapper.ntservice .password=XXXXXXXX

  • Install hospitality as service using InstallService.bat

  • Run the services

  • Delete password tag ‘wrapper.ntservice.password=**’ from files jvt.wrapper.properties and evt-interface.wrapper.properties after successfully running application (services).

Note: Password needs to be added again if re-installing application.