[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-2074) admin ui error from bridge with jboss eap 4.3
Prabhat Jha (JIRA)
jira-events at lists.jboss.org
Tue Jul 15 10:37:26 EDT 2008
[ http://jira.jboss.com/jira/browse/JBPORTAL-2074?page=all ]
Prabhat Jha resolved JBPORTAL-2074.
-----------------------------------
Resolution: Done
Thomas resolved this. Here is the log. He probably was not aware of the jira.
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
Log:
Fixed issue with JSF embedded in EAP 4.3
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-07-15 10:21:47 UTC (rev 11448)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-07-15 11:31:57 UTC (rev 11449)
@@ -86,7 +86,7 @@
// Configuration
/** . */
- private String namespace;
+ private String namespace = "";
// Wired services
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-07-15 10:21:47 UTC (rev 11448)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-07-15 11:31:57 UTC (rev 11449)
@@ -56,10 +56,13 @@
<managed-bean-name>portalobjectmgr</managed-bean-name>
<managed-bean-class>org.jboss.portal.core.admin.ui.PortalObjectManagerBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
+ <!--
+ JSF 1.2_08 interpretes <value></value> as "null", it wasn't the case before.
<managed-property>
<property-name>namespace</property-name>
<value></value>
</managed-property>
+ -->
<managed-property>
<property-name>roleModule</property-name>
<value>#{applicationScope.RoleModule}</value>
> admin ui error from bridge with jboss eap 4.3
> ---------------------------------------------
>
> Key: JBPORTAL-2074
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-2074
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.7.0 Alpha1
> Reporter: Prabhat Jha
> Assigned To: Wesley Hales
> Fix For: 2.7.0 Beta1
>
>
> I was able to reproduce with EAP 4.3 (not AS 4.2.2).
> The thing that changed is the version of the SUN RI JSF libs. I tried to run EAP with the JSF libs included in AS 4.2.2 and it runs fine with that change.
> Between AS 4.2.2 and EAP 4.3 it has been upgraded:
> from: 1.2_04_P02 to 1.2_08-brew
> I let Wesley continue the investigation.
> Prabhat Jha wrote:
> > Wesley,
> >
> > This is using JBoss EAP 43 and jboss-portal-ha.sar. When I log as admin console and click on Admin, I get this error in server.log. I have attached the screen shot of admin UI.
> >
> > 2008-07-14 16:20:08,634 WARN [javax.enterprise.resource.webcontainer.jsf.lifecycle] JSF1053: (Listener: org.jboss.portal.core.admin.ui.Refresher.beforePhase(), Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase-listener execution: java.lang.NullPointerException
> > 2008-07-14 16:20:08,637 WARN [javax.enterprise.resource.webcontainer.jsf.lifecycle] org.jboss.portal.core.admin.ui.PortalObjectManagerBean.refresh(PortalObjectManagerBean.java:661)
> > org.jboss.portal.core.admin.ui.Refresher.refreshFrom(Refresher.java:74)
> > org.jboss.portal.core.admin.ui.Refresher.beforePhase(Refresher.java:54)
> > com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
> > com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
> > com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
> > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> > org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:587)
> > org.jboss.portletbridge.AjaxPortletBridge.renderResponse(AjaxPortletBridge.java:441)
> > org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:344)
> > javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:343)
> > javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:306)
> > javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
> > javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:287)
> > javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
> > org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:568)
> > org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
> > org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
> > org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
> > org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
> > org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list