CMS component does not work in a clustered Portal environment
Issue
When we access JBoss Portal, the CMS content is not shown. The server.log file contains the error included below.
We are using the ServiceBindingManager to support multiple server instances on a single machine. We are also binding this server to an IP address during startup using -b option.
ERROR [org.jboss.portal.jems.ha.HASingletonInvoker] Cannot invoke proxy will no more retry
java.lang.NullPointerException
at org.jboss.portal.jems.ha.HASingletonInvoker.invoke(HASingletonInvoker.java:147)
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 $Proxy274.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)
Environment
- JBoss Enterprise Portal Platform (EPP) 4.3 [up to] CP03
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.