Failed to start connector [Connector[AJP/1.3-8009] for Service Catalog 17.x

book

Article ID: 220560

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Catalog

Issue/Introduction

The following error appears in ServiceCatalog.log when starting services:

SEVERE: Failed to start connector [Connector[AJP/1.3-8009]]
org.apache.catalina.LifecycleException: Protocol handler start failed
 at org.apache.catalina.connector.Connector.startInternal(Connector.java:1057)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:440)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:688)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
 at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
 at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.
 at org.apache.coyote.ajp.AbstractAjpProtocol.start(AbstractAjpProtocol.java:274)

Cause

There is a missing attribute in the AJP connector

Environment

Release : 17.3

Component : CA SERVICE CATALOG

Resolution

1. Open USM_HOME\view\conf\server.xml

2. Locate the AJP connector.

    <Connector port="8009" enableLookups="false" redirectPort="8443" tomcatAuthentication="false" 
      maxThreads="400" minSpareThreads="25" maxSpareThreads="100" protocol="AJP/1.3" />

3. Add the following attributes:

address="0.0.0.0" requiredSecret="servicecatalog"

Example:

    <Connector port="8009" enableLookups="false" redirectPort="8443" tomcatAuthentication="false" 
      maxThreads="400" minSpareThreads="25" maxSpareThreads="100" protocol="AJP/1.3" address="0.0.0.0" requiredSecret="servicecatalog" />

4. Start Service Catalog services

Additional Information

CA Service Catalog Post Installation Tasks