Hide Forgot
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/569993 project_key: JBEPP Using the ServiceBindingManager MBean on all cluster nodes (no default ports used) with the base sample-bindings.xml file from EAP leads to the following error upon accessing CMS content on the slave node: 2010-03-05 17:15:16,889 DEBUG [org.jnp.interfaces.NamingContext] Failed to connect to 10.176.196.161:1100 javax.naming.CommunicationException: Failed to connect to server 10.176.196.161:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.176.196.161:1100 [Root exception is java.net.ConnectException: Connection refused]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(Unknown Source) at org.jboss.portal.jems.ha.HASingletonInvoker.lookupProxy(HASingletonInvoker.java:129) at org.jboss.portal.jems.ha.HASingletonInvoker.invoke(HASingletonInvoker.java:146) at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.execute(HAJCRCMS.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy249.execute(Unknown Source) at org.jboss.portal.core.cms.ui.CMSPortlet.getFile(CMSPortlet.java:205) at org.jboss.portal.core.cms.ui.CMSPortlet.doHeaders(CMSPortlet.java:393) To fix this, EPP should include a modified epp-samples-bindings.xml file which overrides the ports defined in jboss-portal-ha.sar/portal-cms.sar/META-INF/jboss-service.xml.
Attaching an epp-samples-bindinds.xml file to be included in docs/portal/setup/binding-manager, which has the port definitions for the CMS HASingletonInvoker for the different configurations (ports-default, ports-01, ports-02, ports-03).
Attachment: Added: epp-sample-bindings.xml