Bug 793099 (JBEPP-182) - EPP should include a sample-bindings.xml file that includes Portal specific port changes
Summary: EPP should include a sample-bindings.xml file that includes Portal specific p...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-182
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: Portal Packaging
Version: 4.3.0.GA_CP3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.0.GA_CP5
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-09 08:20 UTC by Martin Weiler
Modified: 2010-06-30 08:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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


Attachments (Terms of Use)
epp-sample-bindings.xml (72.05 KB, text/xml)
2010-03-09 09:14 UTC, Martin Weiler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-182 0 None None None Never

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



Note You need to log in before you can comment on or make changes to this bug.