12.1.0.2 Grid infrastructure fails to start OC4J resource, if SCAN Listener has several ports (Doc ID 1941165.1)

Last updated on MAY 10, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

After upgrading to 12.1.0.2,OC4J resource doesn't start if customer set several ports to the SCAN listener:

[root@oradbaud02] /root > srvctl start oc4j -verbose
OC4J could not be started
PRCR-1079 : Failed to start resource ora.oc4j
CRS-2674: Start of 'ora.oc4j' on 'oradbaud04' failed
CRS-2674: Start of 'ora.oc4j' on 'oradbaud02' failed
CRS-2674: Start of 'ora.oc4j' on 'oradbaud03' failed
CRS-2632: There are no more servers to try to place resource 'ora.oc4j' on that would satisfy its placement policy

OC4J logs can be found in $GRID_HOME/oc4j/j2ee/home/log - check the dbwlm* and oc4j* logs

14/09/17 16:09:27.574 dbwlm: Servlet error oracle.wlm.servercommon.exceptions.WLMUncheckedInternalErrorException:WLMF-3016 : Internal error encountered.
Caused by: PRCS-1035 : Invalid number of TCP ports (12) for SCAN Listener at
oracle.cluster.impl.scan.ScanListenerImpl.getPort(ScanListenerImpl.java:518) at
oracle.wlm.dbwlm.srvm.SRVMAdapterBase.getConnectionStringPrefix(SRVMAdapterBase.java:1018)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms