Bug 793099 (JBEPP-182)

Summary: EPP should include a sample-bindings.xml file that includes Portal specific port changes
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: Martin Weiler <mweiler>
Component: Portal PackagingAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP3   
Target Milestone: ---   
Target Release: 4.3.0.GA_CP5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-182
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
- EPP 4.3 CP03 cluster - using the ServiceBindingManager MBean on all nodes (eg. ports-01, ports-02) - multicast not enabled (can be simulated by setting jnp.disableDiscovery=true)
Last Closed: 2010-06-30 08:42:05 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
epp-sample-bindings.xml none

Description Martin Weiler 2010-03-09 08:20:22 UTC
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.

Comment 1 Martin Weiler 2010-03-09 09:14:31 UTC
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).

Comment 2 Martin Weiler 2010-03-09 09:14:31 UTC
Attachment: Added: epp-sample-bindings.xml