]
Alexander Smirnov resolved RF-529.
----------------------------------
Fix Version/s: 3.1.3
Resolution: Done
Portlet bridge was refactored to a JSF-301 compatible. So, old issues may be not
applicable with a new code.
portlet-extension does not work on BEA WLP 10 / Websphere Portal 5.1.
- javax.faces.FacesException: AJAX call to portlet without namespace
------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-529
URL:
http://jira.jboss.com/jira/browse/RF-529
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Environment: WinXP, Servers: BEA Weblogicc Portal 10 / Websphere Portal Server
5.1. ,Env: java 1.5, myfaces1.1.4, richfaces-ui-3.1.0-20070731.220158-10.jar,
richfaces-api-3.1.0-20070731.220158-18.jar,
richfaces-impl-3.1.0-SNAPSHOT.jar,portlet-3.1.0-SNAPSHOT, Browsers: all
Reporter: Mike
Assigned To: Alexander Smirnov
Fix For: 3.1.3, 3.2.0
I got the same war file running on jboss portal 2.6 without problems.
But when I try to deploy on other servers, e.g. BEA WLP 10, and try to get on the first
page, I get the following stacktrace.
Seems to me like the first call is an AJAX-request, but why? Where does the
namespace-parameter get set?
Are there any known workarounds?
Thank you in advance!
Stacktrace is:
javax.faces.FacesException: AJAX call to portlet without namespace parameter at
org.ajax4jsf.portlet.context.ServletContextImpl.getNamespace(ServletContextImpl.java:73)
at
org.ajax4jsf.portlet.context.ServletContextImpl.getSessionPrefix(ServletContextImpl.java:193)
at
org.ajax4jsf.portlet.context.ServletContextImpl.getSessionAttribute(ServletContextImpl.java:219)
at
org.ajax4jsf.portlet.context.AbstractExternalContext$8.getAttribute(AbstractExternalContext.java:459)
at org.ajax4jsf.portlet.context.ContextAttributesMap.get(ContextAttributesMap.java:18) at
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:71) at
com.bea.portlet.adapter.faces.application.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:38)
at org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:154) at
com.sample.jsffacelets.portlet.PortletViewHandler.createView(PortletViewHandler.java:33)
at
com.bea.portlet.adapter.faces.FacesContentStubImpl.setViewId(FacesContentStubImpl.java:451)
at
com.bea.portlet.adapter.faces.FacesContentStubImpl.restore(FacesContentStubImpl.java:368)
at
com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:284)
at
com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:357)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at
com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306) at
com.bea.netuix.nf.UIControl.render(UIControl.java:578) at
com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at
com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:71) at
jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:202)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391) at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309) at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:431)
at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
at
com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
at
com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at
com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at
com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188) at
com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:148) at
com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377) at
com.bea.netuix.servlets.manager.UIServlet.processControlTree(UIServlet.java:296) at
com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:838) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at
com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at
com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315) at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3368)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source) at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359) at
weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: