myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (ORCHESTRA-25) Orchestra does not work within BEA WebLogic JSF portlet - FacesContextFactory related problem
Date Mon, 19 Oct 2009 04:06:31 GMT

    [ https://issues.apache.org/jira/browse/ORCHESTRA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767206#action_12767206
] 

Leonardo Uribe commented on ORCHESTRA-25:
-----------------------------------------


I have tested this one using weblogic portal 10.3g and creating native jsf portlet (using
faces-adapter.jar, not a JSR-301 bridge) to see at first hand how we can solve this one.

After check MYFACES-2382 and solve it, reading the previous comments, and make exhaustive
testing of this issue these conclusions arise:

1. As commented, the FacesConfigFactory on top is:

com.bea.portlet.adapter.faces.context.FacesContextFactoryImpl

After doing some tests this factory does not wrap, so the remaining FacesContextFactory classes
registered are just ignored. The solution to this issue is put this configuration on application
config file (the file on WEB-INF/faces-config.xml)

<factory>
    <faces-context-factory>org.apache.myfaces.context.FacesContextFactoryImpl</faces-context-factory>
    <faces-context-factory>com.bea.portlet.adapter.faces.context.FacesContextFactoryImpl</faces-context-factory>
    <!-- Some other required  -->
    <faces-context-factory>org.apache.myfaces.orchestra.lib.jsf.OrchestraFacesContextFactory</faces-context-factory>
    <faces-context-factory>org.apache.myfaces.orchestra.requestParameterProvider.jsf.RequestParameterFacesContextFactory</faces-context-factory>
</factory>

The first one should be ri or myfaces FacesContextFactory class. In this way, we make sure
OrchestraFacesContextFactory is used.

2. When you use faces-adapter.jar, note that this is not a jsr-168 portlet, rather a custom
solution. In other words, there are not a javax.portlet.PortletRequest. So, there is not query
parameter decoding like when it is used a JSR-301 bridge, so if you use OrchestraFacesContextFactory
or a FrameworkAdapter filter, the "conversationContext" is global for all weblogic jsf native
portlets. Please look the difference below:

weblogic native jsf portlet:

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&_windowLabel=simpleJSF_2&_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&_pageLabel=myPortal_portal_page_5&conversationContext=1#wlp_simpleJSF_2

JSR-168 portlet and JSR-301 jsf portlet bridge

http://localhost:7001/web/guest/testing-jsf?p_p_id=myfacestestorchestraportlets_WAR_myfacestestorchestraportlets100SNAPSHOT_INSTANCE_uF0Y&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_myfacestestorchestraportlets_WAR_myfacestestorchestraportlets100SNAPSHOT_INSTANCE_uF0Y_conversationContext=2&_myfacestestorchestraportlets_WAR_myfacestestorchestraportlets100SNAPSHOT_INSTANCE_uF0Y___jpfbJSFTARGET=view%3A%2Findex.jsp

3. Orchestra 1.3.1 should works with weblogic portal using faces-adapter.jar (taking into
account the previous comments). I have tested 1.4-SNAPSHOT, but note this is not  aJSR-301
related problem, so maybe previous versions of orchestra also are compatible. There are two
possibilities:

- Use OrchestraFacesContextFactory. The disadvantage of this way is that other links generated
by the portal will not have conversationContext param, so when these links are click, the
state will be lost.
- Use SpringBasicFrameworkAdapterFilter and RequestParameterServletFilter on *.portal, so
every link in the portal has conversationContext param and state will not be lost.

The only problem with this one is that action url links (like the one rendered in h:form tag)
render conversationContext param 3 times. It seems to be a bug on faces-adapter.jar . This
is the stack trace:

<17/10/2009 09:45:44 PM COT> <Debug> <javax.faces.webapp.UIComponentTag>
<BEA-000000> <Entered encodeBegin for client-Id: simpleJSF_2:simpleJSF_2_idJsp0>

<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Encoding url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&amp;_windowLabel=simpleJSF_2&amp;_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&amp;_pageLabel=myPortal_portal_page_5>

<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Returned url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&amp;_windowLabel=simpleJSF_2amp;_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&amp;_pageLabel=myPortal_portal_page_5&conversationContext=2>

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1206)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper.encodeURL(RequestParameterResponseWrapper.java:59)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at com.bea.portlet.GenericURL.toStringTemplate(GenericURL.java:1588)
	at com.bea.portlet.GenericURL.resolveTemplate(GenericURL.java:1379)
	at com.bea.portlet.GenericURL.toStringInternal(GenericURL.java:1300)
	at com.bea.portlet.GenericURL.toString(GenericURL.java:1185)
	at com.bea.portlet.PostbackURL.toString(PostbackURL.java:144)
	at com.bea.portlet.GenericURL.toString(GenericURL.java:1167)
	at com.bea.netuix.servlets.controls.content.FacesContent$FacesURLRewriter.rewriteActionURL(FacesContent.java:572)
	at com.bea.netuix.servlets.controls.content.FacesContent$FacesURLRewriter.rewriteURL(FacesContent.java:520)
	at com.bea.portlet.adapter.faces.FacesResponse.encodeActionURL(FacesResponse.java:77)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.encodeActionURL(ExternalContextImpl.java:127)
	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase.encodeBegin(HtmlFormRendererBase.java:111)
	at org.apache.myfaces.renderkit.html.ext.HtmlFormRenderer.encodeBegin(HtmlFormRenderer.java:50)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:746)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:647)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:477)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag2(__simplejsf.java:215)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag1(__simplejsf.java:178)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag0(__simplejsf.java:127)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jspService(__simplejsf.java:88)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:110)
	at org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper.dispatch(ServletExternalContextWrapper.java:84)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
	at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
	at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
	at org.apache.myfaces.custom.ppr.PPRLifecycleWrapper.render(PPRLifecycleWrapper.java:84)
	at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
	at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:420)
	at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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.walk(ControlTreeWalker.java:220)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__gridlayout._jspService(__gridlayout.java:219)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
	at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
	at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
	at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
	at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
	at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
	at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter.doFilter(RequestParameterServletFilter.java:71)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.frameworkAdapter.springBasic.SpringBasicFrameworkAdapterFilter.doFilter(SpringBasicFrameworkAdapterFilter.java:81)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.examples.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:41)
	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:336)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
	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:2186)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Encoding url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&amp;_windowLabel=simpleJSF_2&amp;_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&amp;_

pageLabel=myPortal_portal_page_5&amp;conversationContext=2> 
<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Returned url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&amp;_windowLabel=simpleJSF_2&amp;_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&amp;_

pageLabel=myPortal_portal_page_5&amp;conversationContext=2&conversationContext=2>

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1206)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper.encodeURL(RequestParameterResponseWrapper.java:59)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at com.bea.netuix.servlets.controls.content.FacesContent$FacesURLRewriter.rewriteActionURL(FacesContent.java:572)
	at com.bea.netuix.servlets.controls.content.FacesContent$FacesURLRewriter.rewriteURL(FacesContent.java:520)
	at com.bea.portlet.adapter.faces.FacesResponse.encodeActionURL(FacesResponse.java:77)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.encodeActionURL(ExternalContextImpl.java:127)
	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase.encodeBegin(HtmlFormRendererBase.java:111)
	at org.apache.myfaces.renderkit.html.ext.HtmlFormRenderer.encodeBegin(HtmlFormRenderer.java:50)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:746)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:647)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:477)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag2(__simplejsf.java:215)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag1(__simplejsf.java:178)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag0(__simplejsf.java:127)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jspService(__simplejsf.java:88)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:110)
	at org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper.dispatch(ServletExternalContextWrapper.java:84)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
	at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
	at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
	at org.apache.myfaces.custom.ppr.PPRLifecycleWrapper.render(PPRLifecycleWrapper.java:84)
	at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
	at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:420)
	at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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.walk(ControlTreeWalker.java:220)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__gridlayout._jspService(__gridlayout.java:219)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
	at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
	at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
	at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
	at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
	at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
	at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter.doFilter(RequestParameterServletFilter.java:71)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.frameworkAdapter.springBasic.SpringBasicFrameworkAdapterFilter.doFilter(SpringBasicFrameworkAdapterFilter.java:81)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.examples.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:41)
	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:336)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
	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:2186)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Encoding url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&_windowLabel=simpleJSF_2&_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&_pageLabel=my

Portal_portal_page_5&conversationContext=2&conversationContext=2> 
<17/10/2009 09:45:44 PM COT> <Debug> <org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper>
<BEA-000000> <Returned url: 

http://localhost:7001/myPortalWebProject/myPortal.portal?_nfpb=true&_windowLabel=simpleJSF_2&_nffvid=%2FmyPortalWebProject%2Fportlets%2Fsimplejsf%2FsimpleJSF.faces&_pageLabel=my

Portal_portal_page_5&conversationContext=2&conversationContext=2&conversationContext=2>

java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1206)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper.encodeURL(RequestParameterResponseWrapper.java:59)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at javax.servlet.http.HttpServletResponseWrapper.encodeURL(HttpServletResponseWrapper.java:86)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.encodeActionURL(ExternalContextImpl.java:134)
	at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase.encodeBegin(HtmlFormRendererBase.java:111)
	at org.apache.myfaces.renderkit.html.ext.HtmlFormRenderer.encodeBegin(HtmlFormRenderer.java:50)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:746)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:647)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:477)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag2(__simplejsf.java:215)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag1(__simplejsf.java:178)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jsp__tag0(__simplejsf.java:127)
	at jsp_servlet._portlets._simplejsf.__simplejsf._jspService(__simplejsf.java:88)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.portlet.adapter.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:110)
	at org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper.dispatch(ServletExternalContextWrapper.java:84)
	at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
	at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
	at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
	at org.apache.myfaces.custom.ppr.PPRLifecycleWrapper.render(PPRLifecycleWrapper.java:84)
	at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
	at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:420)
	at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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.walk(ControlTreeWalker.java:220)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
	at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
	at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
	at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
	at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
	at jsp_servlet._framework._skeletons._bighorn.__gridlayout._jspService(__gridlayout.java:219)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
	at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
	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:481)
	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:395)
	at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
	at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
	at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
	at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
	at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
	at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
	at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
	at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
	at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter.doFilter(RequestParameterServletFilter.java:71)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.orchestra.frameworkAdapter.springBasic.SpringBasicFrameworkAdapterFilter.doFilter(SpringBasicFrameworkAdapterFilter.java:81)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at org.apache.myfaces.examples.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:41)
	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:336)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
	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:2186)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<17/10/2009 09:45:44 PM COT> <Debug> <javax.faces.webapp.UIComponentTag>
<BEA-000000> <Exited encodeBegin> 

Anyway, before close this one I'll try to use a JSR 301 bridge in weblogic portal to check
if there is a problem with this configuration.

> Orchestra does not work within BEA WebLogic JSF portlet - FacesContextFactory related
problem
> ---------------------------------------------------------------------------------------------
>
>                 Key: ORCHESTRA-25
>                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-25
>             Project: MyFaces Orchestra
>          Issue Type: Bug
>          Components: FrameworkAdapter
>    Affects Versions: 1.1
>         Environment: BEA WebLogic Portal 9.2,  BEA WebLogic JSF portlets,  Sun JSF RI
1.1_01, MyFaces Orchestra 1.2 snapshot
>            Reporter: Gautam Marwaha
>            Assignee: Leonardo Uribe
>         Attachments: stacktrace_1.txt, stacktrace_2.txt
>
>
> I have read about the Orchestra's support for conversation scope and think it is very
promising for an application we're building that needs to support 1) updates in wizard kind
of screens where users submit changes made in multiple tabs and 2) have this working in scenarios
where users do a ctrl+n / open new browser windows (=> session scope is ruled out)
> To get things started I am trying to get an Orchestra example (multiBean) working on
our tech stack - BEA WebLogic Portal 9.2,  BEA WebLogic JSF portlets, Sun JSF RI 1.1_01 and
MyFaces Orchestra 1.2 snapshot. We are not going to have any non-JSF functionality in our
application.
> So far I have been successful in running the example on BEA WebLogic Portal 9.2 *without*
wrapping the JSPs within a JSF portlet. However, as soon as I wrap the JSP within a JSF portlet,
I get the following error on the examples home page (/start.jsp):
> java.lang.ClassCastException: com.sun.faces.context.MyHttpServletRequestWrapper
> 	at com.bea.portlet.adapter.faces.lifecycle.LifecycleImpl.restore(LifecycleImpl.java:308)
> 	at com.bea.portlet.adapter.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:199)
> 	at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:224)
> 	at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:312)
> This issue is showing up because myfaces-orchestra-core-1.2-SNAPSHOT.jar!faces-config.xml
contains Orchestra related FacesContextFactory classes that are loaded by Faces Servlet upon
startup. Looks like these factories (org.apache.myfaces.orchestra.lib.jsf.OrchestraFacesContextFactory
is one of them) are not returning valid FacesContext objects (they're returning an object
meant for servlet / non-portlet environments) and cause a ClassCastException in BEA Portal's
classes that appear to be casting the request to FacesRequest, something like:
> (FacesRequest)context.getExternalContext().getRequest();
> To fix this problem, I added the BEA Portal specific FacesContextFactory (present in
their faces-adapter.jar!faces-config.xml) into my applications's faces-config.xml. i.e. the
following lines:
> <factory>
>     ....
>     <faces-context-factory>com.bea.portlet.adapter.faces.context.FacesContextFactoryImpl</faces-context-factory>
   
>     ....
> </factory>
> This atleast got me to the examples home page (/start.jsp) since the server appears to
have picked up the factory it last loaded. But, there is a side effect of this change. Now
I find that FrameworkAdapter has not been initialized properly. The error is:
> Caused by: java.lang.IllegalStateException: FrameworkAdapter not found
> 	at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:111)
> 	at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:86)
> 	at org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope.getRealBean(AbstractSpringOrchestraScope.java:311)
> 	at org.apache.myfaces.orchestra.conversation.spring.ScopedBeanTargetSource.getTarget(ScopedBeanTargetSource.java:71)
> 	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:666)
> 	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:616)
> 	at org.apache.myfaces.examples.multibean.Multibean$$EnhancerByCGLIB$$510f5a89.getBeanName()Ljava.lang.String;(:???)
> BEA Portal seems to be over-riding the Orchestra FacesContextFactory impl and not letting
it do its per-request operations.
> I have looked around for a way of getting the same thing done via Orchestra filters.
The following Orchestra filters are in my web.xml and haven't helped:
> - org.apache.myfaces.orchestra.frameworkAdapter.basic.BasicFrameworkAdapterFilter
> - org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter
> Even tried adding the org.apache.myfaces.orchestra.conversation.jsf.filter.OrchestraServletFilter
filter but it did not help.
> I am not expecting BEA to fix/change anything on their side. Any chance this can be fixed
in Orchestra?
> Thanks,
> Gautam
> PS - will attach full stacktraces after I create this JIRA item

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message