Could not start the Service Catalog service. When the service is started, it immediately stops.

Document ID : KB000006319
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When starting the Service Catalog service, it immediately stops with an error:

"The CA Service Catalog service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."

Environment:
Service Catalog 14.1
Cause:

Looking at the %USM_HOME%\logs\view\ServiceCatalog.log file, there is an error:

STATUS | wrapper  | 2017/04/11 05:14:26 | --> Wrapper Started as Service
STATUS | wrapper  | 2017/04/11 05:14:26 | Java Service Wrapper Standard Edition 64-bit 3.5.15
STATUS | wrapper  | 2017/04/11 05:14:26 |   Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2017/04/11 05:14:26 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2017/04/11 05:14:26 |
ERROR  | wrapper  | 2017/04/11 05:14:26 | License Error:
ERROR  | wrapper  | 2017/04/11 05:14:26 | A valid license was not found in the Wrapper configuration file.
ERROR  | wrapper  | 2017/04/11 05:14:26 |
ERROR  | wrapper  | 2017/04/11 05:14:26 | The Java Service Wrapper requires a License Key to activate the
ERROR  | wrapper  | 2017/04/11 05:14:26 | software.  License Keys can be purchased on the Java Service Wrapper
ERROR  | wrapper  | 2017/04/11 05:14:26 | web site:
ERROR  | wrapper  | 2017/04/11 05:14:26 |   http://wrapper.tanukisoftware.com/purchase
ERROR  | wrapper  | 2017/04/11 05:14:26 |
ERROR  | wrapper  | 2017/04/11 05:14:26 | You can also immediately obtain a one-month Free trial license:
ERROR  | wrapper  | 2017/04/11 05:14:26 |   http://wrapper.tanukisoftware.com/trial
ERROR  | wrapper  | 2017/04/11 05:14:26 |
ERROR  | wrapper  | 2017/04/11 05:14:26 | License Keys can be generated for any of the following HostIds.
STATUS | wrapper  | 2017/04/11 05:14:26 |   HostId(s):
STATUS | wrapper  | 2017/04/11 05:14:26 |     <code> (#1)
ERROR  | wrapper  | 2017/04/11 05:14:26 |
STATUS | wrapper  | 2017/04/11 05:14:26 |
STATUS | wrapper  | 2017/04/11 05:14:26 | Optional host name for license: <hostname>
STATUS | wrapper  | 2017/04/11 05:14:26 | <-- Wrapper Stopped

Resolution:

The Tanuki Java Service Wrapper is used to start the Service Catalog java application as a service. This requires a license, which is contained in a file called "wrapper-tomcat-license.conf" which is in the %USM_HOME%\bin folder. If this file cannot be accessed for any reason, such as the "bin" folder is missing, the file itself is missing or corrupt, the Service Catalog service will not start. You need to make sure that this file is present and readable on your system.