Engineering Lifecycle Management Wiki - Deployment
Deployment Web
Planning and design
Installing and upgrading
Migrating and evolving
Integrating
Administering
Monitoring
Troubleshooting
Community information and contribution guidelines
Create new topic
Topic list
Search
Advanced search
Notify
RSS
Atom
Changes
Statistics
Web preferences
Edit
Attach
P
rintable
TWiki
>
Deployment Web
>
DeploymentInstallingUpgradingAndMigrating
>
LibertyProfileAsService
Revision 7 - 2019-08-06 - 10:22:56 -
ShubjitNaik
<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! Running !WebSphere Liberty Profile for Jazz Applications as a Microsoft Windows service <img src="https://jazz.net/wiki/pub/Deployment/WebPreferences/new.png" alt="new.png" width="50" height="50" align="right"> %DKGRAY% Authors: Main.ShubjitNaik, Main.ShradhaSrivastav <br> Build basis: IBM CLM Version 6.0.x %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> %BR% !WebSphere Liberty Profile (WLP) is bundled as the Default Application Server for IBM Collaborative Lifecycle Management Solution starting with version 6.0.1. However, there is no supported method to run the Liberty Profile, hosting the CLM applications, as a Windows Service. There is a workaround to use a third party software, using Apache Commons. %BR%%BR% =DISCLAIMER: The following instructions are based on usage of 3rd party (Open Source) utility, Apache Commons and hence does not fall under the scope of IBM Support= </br> ---+++ Prerequisites and Assumptions * Download and install [[http://www.apache.org/dist/commons/daemon/binaries/windows/][Apache Commons Daemon]] binaries * Jazz Team Server deployment is installed with default Liberty Profile rooted at C:\IBM\JazzTeamServer; adjust your paths accordingly based on your actual root directory. * This topic assumes that the Windows service is not installed. If you have previously installed the service, remove it first then install the new service. ---+++ Install Apache Commons Daemon * Download Apache Commons Daemon Binaries from [[http://www.apache.org/dist/commons/daemon/binaries/windows/][apache.org]] * Unzip the file *commons-daemon-x.x.xx-bin-windows.zip* to =C:\IBM\commons-daemon-x.x.xx-bin-windows= %BR% <img src="%ATTACHURLPATH%/apache_commons_unzip.jpg" alt="apache_commons_unzip.jpg" width="300" height="150" /> %BR% ---+++ Create and run Script to manually create Windows Service * Sample script to be created, change the values of the variables as per your install roots and save as a *.bat* file <verbatim>@echo off set DAEMON_EXEC="C:\IBM\commons-daemon-X.Y.ZZ-bin-windows\amd64\prunsrv.exe" set SERVER_START_COMMAND="C:\IBM\JazzTeamServer\server\server.startup.bat" set SERVER_START_COMMAND_PATH="C:\IBM\JazzTeamServer\server" set SERVER_STOP_COMMAND="C:\IBM\JazzTeamServer\server\server.shutdown.bat" set SERVER_STOP_COMMAND_PATH="C:\IBM\JazzTeamServer\server" set LOG_PATH="C:\IBM\JazzTeamServer\server\logs\daemon" set SERVICE_NAME=CLM_60X_LIBERTY set SERVICE_DISPLAY_NAME="CLM 6.0.X Liberty Profile" set SERVICE_DESCRIPTION="CLM 6.0.X Liberty Profile" set INSTALL_SERVICE_COMMAND=%DAEMON_EXEC% //IS//%SERVICE_NAME% --Startup=manual --DisplayName=%SERVICE_DISPLAY_NAME% --Description=%SERVICE_DESCRIPTION% ++DependsOn=Tcpip --LogPath=%LOG_PATH% --StdOutput=auto --StdError=auto --StartMode=exe --StartPath=%SERVER_START_COMMAND_PATH% --StartImage=%SERVER_START_COMMAND% --StopMode=exe --StopPath=%SERVER_STOP_COMMAND_PATH% --StopImage=%SERVER_STOP_COMMAND% %INSTALL_SERVICE_COMMAND%</verbatim> %BR% * Run the above script to create a new Windows Service * Edit the properties of the newly created service via "Start > Run > services.msc" * Right Click on the Service and Click Properties * Click on the Log On tab * Browse and add an Administrator User who would start the service * Test Start / Stop of the Service * To delete the service run the command "SC DELETE CUSTOMSERVICENAME" * A folder named demon is created within =C:\IBM\JazzTeamServer\server\logs= directory which includes logs to help debug issues with the service configured. <BR> ---+++++!! Related topics: [[https://www-01.ibm.com/support/docview.wss?uid=swg21982328][Technote]], [[DeploymentInstallingUpgradingAndMigrating][Deployment Install Upgrade and Migrating]], [[DeploymentWebHome][Deployment web home]] </div>
Edit
|
Attach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
:
r9
<
r8
<
r7
<
r6
<
r5
|
More topic actions...
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more
here
.