Access Gateway - Not starting - Protocol handler initialization failed
search cancel

Access Gateway - Not starting - Protocol handler initialization failed

book

Article ID: 248470

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

New Access Gateway installation is failing to start with the following exception written to server.log:

[19/Aug/2022:16:28:04-931] [ERROR] - InitCatalina failed ('Protocol handler initialization failed')
[19/Aug/2022:16:28:04-931] [ERROR] - org.apache.catalina.LifecycleException: Protocol handler initialization failed
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.connector.Connector.initInternal(Connector.java:1042)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.core.StandardService.initInternal(StandardService.java:558)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1057)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
[19/Aug/2022:16:28:04-932] [ERROR] -    at org.apache.catalina.startup.Tomcat.init(Tomcat.java:475)
[19/Aug/2022:16:28:04-933] [ERROR] -    at com.netegrity.proxy.ProxyServer.initCatalina(Unknown Source)
[19/Aug/2022:16:28:04-933] [ERROR] -    at com.netegrity.proxy.ProxyServer.init(Unknown Source)
[19/Aug/2022:16:28:04-933] [ERROR] -    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[19/Aug/2022:16:28:04-933] [ERROR] -    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[19/Aug/2022:16:28:04-933] [ERROR] -    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[19/Aug/2022:16:28:04-933] [ERROR] -    at java.lang.reflect.Method.invoke(Method.java:498)
[19/Aug/2022:16:28:04-933] [ERROR] -    at com.netegrity.proxy.ProxyBootstrap.execute(Unknown Source)
[19/Aug/2022:16:28:04-933] [ERROR] -    at com.netegrity.proxy.ProxyBootstrap.main(Unknown Source)
[19/Aug/2022:16:28:04-934] [ERROR] - Caused by: java.net.BindException: Cannot assign requested address
[19/Aug/2022:16:28:04-934] [ERROR] -    at sun.nio.ch.Net.bind0(Native Method)
[19/Aug/2022:16:28:04-934] [ERROR] -    at sun.nio.ch.Net.bind(Net.java:461)
[19/Aug/2022:16:28:04-934] [ERROR] -    at sun.nio.ch.Net.bind(Net.java:453)
[19/Aug/2022:16:28:04-934] [ERROR] -    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222)
[19/Aug/2022:16:28:04-934] [ERROR] -    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
[19/Aug/2022:16:28:04-934] [ERROR] -    at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:228)
[19/Aug/2022:16:28:04-934] [ERROR] -    at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:211)
[19/Aug/2022:16:28:04-934] [ERROR] -    at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1159)
[19/Aug/2022:16:28:04-934] [ERROR] -    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1172)
[19/Aug/2022:16:28:04-935] [ERROR] -    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:592)
[19/Aug/2022:16:28:04-935] [ERROR] -    at org.apache.catalina.connector.Connector.initInternal(Connector.java:1039)
[19/Aug/2022:16:28:04-935] [ERROR] -    ... 14 more
[19/Aug/2022:16:28:04-935] [ERROR] - ProxyServer initialization failed.
[19/Aug/2022:16:28:04-935] [ERROR] - Config File: '/opt/CA/secure-proxy/proxy-engine/conf/server.conf')
[19/Aug/2022:16:28:04-935] [ERROR] - java.lang.Exception: org.apache.catalina.LifecycleException: Protocol handler initialization failed
[19/Aug/2022:16:28:04-935] [ERROR] -    at com.netegrity.proxy.ProxyServer.initCatalina(Unknown Source)

 

Environment

Release : ALL

Component : SITEMINDER SECURE PROXY SERVER

Cause

This installation was cloned from another host and copied to the host where the problem was occurring.  The server.conf file had the worker.ajp13.host parameter value set to the name of the host from where the installation was cloned, and this was not a valid configuration.

Resolution

Setting worker.ajp13.host=localhost in server.conf allowed Access Gateway to successfully start.