Hi All,
I have a requirement to provide a form in a UI, so I have first created a portlet and added it to a CAF Page. But as Business Console UI will have a rich look, I wanted to create a Gadget and Embed the same portlet in it. I have seen one of the controls in the pallette “Portlet Embed” and selected the portlet type as the portlet which I want to use but upon rendering it in AppSpace, I get the below error as “Portlet “caf.war.UserTasks.formdata.FormData@597f67e8” is not found”, where as I have added the same portlet to a page and its rendered correctly.
Could anyone tell what could be the issue? Below is the full error and attached the screenshot from view.xhtml
Thank you!
Error Details
2018-05-31 00:53:18 AST (c.s.a.p.b.d.D.C.CDS:INFO) [qtp1533473129-694] - [011] Selected INPROC transport for CDS
2018-05-31 00:53:19 AST (c.s.j.s.c.s.WebComponent:WARN) [qtp1533473129-560] - A servlet request, to the URI http://localhost:8585/rest/bc/authenticate, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2018-05-31 00:53:19 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-561] - No UserPrincipal found in Subject for thread qtp1533473129-561
2018-05-31 00:53:19 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-305] - No UserPrincipal found in Subject for thread qtp1533473129-305
2018-05-31 00:53:19 AST (c.s.a.p.b.d.D.C.CDS:INFO) [qtp1533473129-561] - [011] Selected INPROC transport for CDS
2018-05-31 00:53:19 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-560] - No UserPrincipal found in Subject for thread qtp1533473129-560
2018-05-31 00:53:19 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-697] - No UserPrincipal found in Subject for thread qtp1533473129-697
2018-05-31 00:53:19 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:19 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-560] - Obtaining a task index engine of type db
2018-05-31 00:53:19 AST (c.s.j.s.c.s.WebComponent:WARN) [qtp1533473129-694] - A servlet request, to the URI http://localhost:8585/rest/bc/authenticate, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-257] - No UserPrincipal found in Subject for thread qtp1533473129-257
2018-05-31 00:53:20 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:20 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-560] - Obtaining a task index engine of type db
2018-05-31 00:53:20 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-305] - Obtaining a task index engine of type db
2018-05-31 00:53:20 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-305] - Obtaining a task index engine of type db
2018-05-31 00:53:20 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-694] - No UserPrincipal found in Subject for thread qtp1533473129-694
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-694] - No UserPrincipal found in Subject for thread qtp1533473129-694
2018-05-31 00:53:20 AST (c.s.a.p.b.d.D.C.CDS:INFO) [qtp1533473129-305] - [011] Selected INPROC transport for CDS
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-560] - No UserPrincipal found in Subject for thread qtp1533473129-560
2018-05-31 00:53:20 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-257] - No UserPrincipal found in Subject for thread qtp1533473129-257
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-257] - No UserPrincipal found in Subject for thread qtp1533473129-257
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-257] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-695] - No UserPrincipal found in Subject for thread qtp1533473129-695
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-257] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.w.p.s.t.TaskIndexEngineFactory:INFO) [qtp1533473129-695] - Obtaining a task index engine of type db
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-257] - No UserPrincipal found in Subject for thread qtp1533473129-257
2018-05-31 00:53:21 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-694] - No UserPrincipal found in Subject for thread qtp1533473129-694
2018-05-31 00:53:22 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-697] - No UserPrincipal found in Subject for thread qtp1533473129-697
2018-05-31 00:53:22 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-257] - No UserPrincipal found in Subject for thread qtp1533473129-257
2018-05-31 00:53:22 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-560] - No UserPrincipal found in Subject for thread qtp1533473129-560
2018-05-31 00:53:22 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-561] - No UserPrincipal found in Subject for thread qtp1533473129-561
2018-05-31 00:53:24 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-694] - No UserPrincipal found in Subject for thread qtp1533473129-694
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-257] [RID:1603] - Request [1vivm18cke9g9n163k63gsttq:SysAdmin] http://localhost:8585/ (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-697] [RID:1604] - Request [1vivm18cke9g9n163k63gsttq:SysAdmin] http://localhost:8585/ (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-560] [RID:1605] - Request [1e6wgephuyout1gtoeb0q87syp:SysAdmin] http://localhost:8585/folder.system (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-561] [RID:1606] - Request [1e6wgephuyout1gtoeb0q87syp:SysAdmin] http://localhost:8585/folder.system (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-694] [RID:1607] - Request [1e6wgephuyout1gtoeb0q87syp:SysAdmin] http://localhost:8585/folder.system (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-697] [RID:1608] - Request [1e6wgephuyout1gtoeb0q87syp:SysAdmin] http://localhost:8585/folder.system (POST)
2018-05-31 00:53:25 AST (c.w.p.f.i.PortalServlet:INFO) [qtp1533473129-560] [RID:1609] - Request [1e6wgephuyout1gtoeb0q87syp:SysAdmin] http://localhost:8585/folder.system (POST)
2018-05-31 00:53:28 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-694] - No UserPrincipal found in Subject for thread qtp1533473129-694
2018-05-31 00:53:28 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-561] - No UserPrincipal found in Subject for thread qtp1533473129-561
2018-05-31 00:53:28 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-560] - No UserPrincipal found in Subject for thread qtp1533473129-560
2018-05-31 00:53:28 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-305] - No UserPrincipal found in Subject for thread qtp1533473129-305
2018-05-31 00:53:28 AST (c.s.p.w.f.s.SSOHttpServletRequest:WARN) [qtp1533473129-697] - No UserPrincipal found in Subject for thread qtp1533473129-697
2018-05-31 00:53:28 AST (jsf:INFO) [qtp1533473129-697] - Failed to render included portlet
2018-05-31 00:53:28 AST (jsf:INFO) [qtp1533473129-697] - com.webMethods.portal.PortalException: [POP.007.0075] Portlet “caf.war.UserTasks.formdata.FormData@597f67e8” is not found
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler$PortletProviderImpl.renderPortlet(PortletApplicationHandler.java:194)
at com.webMethods.caf.faces.render.html.output.PortletIncludeRenderer.encodeEnd(PortletIncludeRenderer.java:54)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
at com.webMethods.caf.faces.servlet.CAFFacesServlet.service(CAFFacesServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at com.webMethods.caf.faces.servlet.MultipartFilter.doFilter(MultipartFilter.java:69)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at com.webMethods.portal.webapp.jetty7.MwsServer.handle(MwsServer.java:129)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:748)
2018-05-31 00:53:28 AST (jsf:INFO) [qtp1533473129-697] - Failed to render included portlet: Failed to render included portlet
2018-05-31 00:53:28 AST (j.e.r.w.j.renderkit:INFO) [qtp1533473129-697] - WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(ERROR 2), summary=(Failed to render included portlet), detail=(Failed to render included portlet)]