Using same port for 2 ProxyUI instances in SPS

book

Article ID: 36986

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Introduction: 

Using the same port for 2 ProxyUI instances on SPS server.

Question: 

We have installed multiple instances of SPS on same physical box, One instance is for QA and One for Production. Is it possible to use same port for 2 ProxyUI instances on same SPS server?

Environment:  

Policy server: 12.52SP1 windows enterprise server 2008 R2

SPS: 12.52SP1 on REDHAT6

Answer: 

As per the investigation you can't use same port for ProxyUI for more than one SPS instance because we do have a JVM bind call and if the port is already utilized by one SPS instance then it will throw the following error while running two SPS instance with same ProxyUI Port.

It is expected that you will supply a new (different) port number for the 2nd instance of the tomcat/proxyui listen port. 

In your business use case if you are using the same port for both the ProxyUI than the one which will initialize first will work only.

Error you will get in case of using same port for two SPS instance on the same OS.

Apr 28, 2015 9:29:07 PM org.apache.coyote.AbstractProtocol init

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]

java.net.BindException: Address already in use: JVM_Bind <null>:8080

at org.apache.tomcat.util.net.JIoEndpoint.bind(Unknown Source)

 

Caused by: java.net.BindException: Address already in use: JVM_Bind

at java.net.DualStackPlainSocketImpl.bind0(Native Method)

at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)

Environment

Release:
Component: SMSPS