CAS Deployment Issue With Community Production java.lang.IllegalArgumentException: port out of range (Doc ID 1963010.1)

Last updated on APRIL 19, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.8.0 version, WebCenter Sites | Community

When attempting to start production community,
the following error occurs.

ERROR
-----------------------
#### <ServletContext-/cas> <> <> The Spring ContextLoaderListener we wrap threw on contextInitialized.
But for our having caught this error, the web application context would not have initialized.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'TicketResource': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.jasig.cas.CentralAuthenticationService com.fatwire.wem.sso.cas.integration.rest.TicketResource.centralAuthenticationService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletContext resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'ticketRegistry' while setting bean property 'ticketRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ticketRegistry' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference to bean 'cache' while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Invocation of init method failed; nested exception is org.jboss.cache.CacheException: Unable to invoke method public void org.jboss.cache.RPCManagerImpl.start() on object instance org.jboss.cache.RPCManagerImpl@9c3ef98
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
...................................................................
...................................................................
Caused By: java.lang.IllegalArgumentException: port out of range:65536
at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:123)
at java.net.InetSocketAddress.(InetSocketAddress.java:165)
at java.net.DatagramSocket.(DatagramSocket.java:262)
at org.jgroups.protocols.UDP.createEphemeralDatagramSocket(UDP.java:540)
at org.jgroups.protocols.UDP.createSockets(UDP.java:427)
at org.jgroups.protocols.UDP.start(UDP.java:359)
at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:119)
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:342)

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