fighting for truth, justice, and a kick-butt lotus notes experience.

    Running the Sametime 11 Proxy as a Windows Service

    Detlev Poettgen  März 12 2020 12:50:56 PM
    The new HCL Sametime 11 Proxy server is based on the Tomcat Runtime and is really great:

    simple to install
          Just extract the installation package to the target directory and you are done

    simple to configure
         Execute the install.bat from a command line and answer a few questions (location of the Community and Mongo Database server)

    easy to start
         Open a command line and execute the startup.bat

    But if you are on Windows, you would like to run the Proxy as a Windows Service.
    Because starting the Proxy from a command line will stop the Proxy, when you log off.

    At the moment it is not possible to run the Proxy as a Windows service.
    The reason is the leightweigt stripped down Tomcat package delivered by HCL, which does not include a service.bat oder tomcatxx.exe file.
    This files will be used to register Tomcat as a Windows service.

    HCL already published a Knowledge Base article about this issue; https://hclpnpsupport.hcltech.com/csm?id=kb_article&sysparm_article=KB0074805

    There is a workaround until HCL will provide an update for the Proxy, which is already scheduled.

    You can use the Windows Task Scheduler to start the Tomcat server automatically on system start. The Tomcat / Sametime Proxy will not run as service, but will be automatically start after a reboot and will run in the background.

    To do that:

    Open the Windows Task Scheduler on your Windows Server

    1. Create a new Simple Task

    2. Name of the new Task:  Autostart Sametime Proxy

    Image:Running the Sametime 11 Proxy as a Windows Service

    3. Trigger: On System Start

    Image:Running the Sametime 11 Proxy as a Windows Service

    4. Action: Execute a Program

    Image:Running the Sametime 11 Proxy as a Windows Service

    5. Program/Script:  cmd
        Arguments: /c C:\HCL\SametimeProxy\bin\startup.bat
     Image:Running the Sametime 11 Proxy as a Windows Service

    6. Click next and save the new task.
        On the summary page, set the option to open the properties of the new task.

    Image:Running the Sametime 11 Proxy as a Windows Service

    7. View the properties of the created task and change the Security options
        - Change Start As to the system account.


    Image:Running the Sametime 11 Proxy as a Windows Service

    To do that: Click the "Change User or Group" button

    Make sure "From this location" is set to the local machine name (to change click "Locations" button and select the local computer name)
    Type "SYSTEM" in the text box and press ok .
    Under "When running the task, use the following user account:" you should see "NT AUTHORITY\SYSTEM".

    Image:Running the Sametime 11 Proxy as a Windows Service

    Set the option: Start with highest privileges
    Set the option: Configure for "Windows Server 2012" or "Windows Server 2016"


    Finally add a new system environment variable CATALINA_HOME pointing to the Sametime Proxy install directory.

    Image:Running the Sametime 11 Proxy as a Windows Service

    That's it. Reboot your machine and the Proxy should start automatically.

    When opening the Task Manager, you should see a JAVA.EXE running.




     


    Kommentare

    1Roberto Boccadoro   03/12/2020 10:36:24 PM  Running the Sametime 11 Proxy as a Windows Service

    The problem with this workaround is that is a reboot of the server occurs, tomcat will start before all the various Sametime services are started, so it will give errors trying to connect to the Community server. Just ignore it, when Community service starts they will go away.

    2Detlev Poettgen  03/13/2020 12:04:58 PM  Running the Sametime 11 Proxy as a Windows Service

    That's not really an issue and works as designed.

    In most cases we installed the Proxy on a different machine. So when the Proxy gets a reboot the Community Server is still up and running.

    3Roberto Boccadoro  03/13/2020 2:40:53 PM  Running the Sametime 11 Proxy as a Windows Service

    Yes, I was referring to a single machine install

    •  
    • Hinweis zum Datenschutz und Datennutzung:
      Bitte lesen Sie unseren Hinweis zum Datenschutz bevor Sie hier einen Kommentar erstellen.
      Zur Erstellung eines Kommentar werden folgende Daten benötigt:
      - Name
      - Mailadresse
      Der Name kann auch ein Nickname/Pseudonym sein und wird hier auf diesem Blog zu Ihrem Kommentar angezeigt. Die Email-Adresse dient im Fall einer inhaltlichen Unklarheit Ihres Kommentars für persönliche Rückfragen durch mich, Detlev Pöttgen.
      Sowohl Ihr Name als auch Ihre Mailadresse werden nicht für andere Zwecke (Stichwort: Werbung) verwendet und auch nicht an Dritte übermittelt.
      Ihr Kommentar inkl. Ihrer übermittelten Kontaktdaten kann jederzeit auf Ihren Wunsch hin wieder gelöscht werden. Senden Sie in diesem Fall bitte eine Mail an blog(a)poettgen(punkt)eu

    • Note on data protection and data usage:
      Please read our Notes on Data Protection before posting a comment here.
      The following data is required to create a comment:
      - Name
      - Mail address
      The name can also be a nickname/pseudonym and will be displayed here on this blog with your comment. The email address will be used for personal questions by me, Detlev Pöttgen, in the event that the content of your comment is unclear.
      Neither your name nor your e-mail address will be used for any other purposes (like advertising) and will not be passed on to third parties.
      Your comment including your transmitted contact data can be deleted at any time on your request. In this case please send an email to blog(a)poettgen(dot)eu

    Treffpunkte

    Archive