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.




     


    Treffpunkte

    Archive