Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jacob Bailey
Providing a Struts portlet with WSRP
April 9, 2009 9:05 AM
Answer

Jacob Bailey

Rank: New Member

Posts: 2

Join Date: April 9, 2009

Recent Posts

Hello,

I am interested in providing a Struts portlet (using the Apache Struts bridge) from Liferay using WSRP. To test out the possibility of this, I attempted to provide the Sample Struts 5.2.0.1 application that is available in the plugin repository. I am using Liferay Portal 5.2.2 bundled with Tomcat 6.0.18 and am producing and consuming in the same portal. Here are the steps that I took:

1. Created a portal-ext.properties file under ROOT\WEB-INF\classes to specify "portlet.container.impl=sun".
2. Restarted the server and installed Sample Struts 5.2.0.1 from the plugin repository. This works fine deployed as a local portlet.
3. Installed WSRP 5.2.0.1 from the plugin repository.
4. Using the WSRP Producer administration portlet, created a new Producer and published the Sample Struts portlet.
5. Using the WSRP Consumer administration portlet, connected to the new Producer and installed the portlet.
6. Added the portlet to a page.

The remote portlet displays correctly initially, but most of the links do not work correctly. Specifically, the "View Page:" links appear to do nothing but reload the portal page and produce no informational or error messages in the console. The "Portlet URL:" links behave differently. The "Action" link throws an exception (I'll include the stack trace below). The "Render" url behaves exactly like the "View Page:" links. All of the "Chart:" links appear to work correctly. The "Struts Form:" links again do nothing and produce no console messages. The "Struts Exception:" links behave much like the "Portlet URL:" links with the "Action" link generating an error, and the "Render" link doing nothing. Stack traces are below. Is this a known limitation of Liferay's WSRP implementation or am I missing some configuration that would allow it to work correctly? Has anyone had any success doing something similar? I would appreciate any help or suggestions.

Stack trace generated by the "Portlet URL: Action" link

  1
  215:33:36,832 ERROR [StrutsPortlet:380] Include exception
  3org.apache.jasper.JasperException: An exception occurred processing JSP page /ht
  4ml/portlet/sample_struts_portlet/template.jsp at line 27
  5
  624:
  725: <%@ include file="/html/portlet/sample_struts_portlet/init.jsp" %>
  826:
  927: <tiles:useAttribute id="tilesPortletContent" name="portlet_content" classnam
 10e="java.lang.String" ignore="true" />
 1128:
 1229: <div>
 1330:     <jsp:include page='<%= "/html" + tilesPortletContent %>' flush="true" />
 14
 15
 16
 17Stacktrace:
 18        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspSer
 19vletWrapper.java:505)
 20        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
 21.java:398)
 22        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
 2342)
 24        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
 25        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 26        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 27icationFilterChain.java:290)
 28        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 29ilterChain.java:206)
 30        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 31atcher.java:630)
 32        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 33ispatcher.java:535)
 34        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 35patcher.java:472)
 36        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inv
 37oke(PortletServletRequestDispatcher.java:128)
 38        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inc
 39lude(PortletServletRequestDispatcher.java:146)
 40        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inv
 41oke(LiferayRequestDispatcher.java:170)
 42        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inc
 43lude(LiferayRequestDispatcher.java:99)
 44        at org.apache.portals.bridges.struts.PortletServlet.performActionRenderR
 45equest(PortletServlet.java:179)
 46        at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.proces
 47sRoles(PortletTilesRequestProcessor.java:57)
 48        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
 49va:197)
 50        at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.proces
 51s(PortletTilesRequestProcessor.java:50)
 52        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
 536)
 54        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 55        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 56        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 57        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 58icationFilterChain.java:290)
 59        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 60ilterChain.java:206)
 61        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 62atcher.java:630)
 63        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 64ispatcher.java:535)
 65        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 66patcher.java:472)
 67        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inv
 68oke(LiferayRequestDispatcher.java:170)
 69        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inc
 70lude(LiferayRequestDispatcher.java:99)
 71        at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(Struts
 72Portlet.java:375)
 73        at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.
 74java:274)
 75        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
 76        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 77        at com.sun.portal.portletcontainer.appengine.PortletAppEngineServlet.ser
 78vice(PortletAppEngineServlet.java:394)
 79        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 80        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 81icationFilterChain.java:290)
 82        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 83ilterChain.java:206)
 84        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 85atcher.java:630)
 86        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 87ispatcher.java:535)
 88        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 89patcher.java:472)
 90        at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(Portl
 91etContainer.java:819)
 92        at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(Portl
 93etContainer.java:694)
 94        at com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(Portl
 95etContainer.java:208)
 96        at com.sun.portal.wsrp.producer.markup.impl.MarkupManagerImpl.getMarkup(
 97MarkupManagerImpl.java:347)
 98        at com.sun.portal.wsrp.producer.markup.impl.WSRP_v2_Markup_PortTypeImpl.
 99getMarkup(WSRP_v2_Markup_PortTypeImpl.java:86)
100        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
101        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
102java:39)
103        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
104sorImpl.java:25)
105        at java.lang.reflect.Method.invoke(Method.java:585)
106        at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.
107java:246)
108        at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
109        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethod
110Handler.java:257)
111        at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTub
112e.java:93)
113        at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
114        at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
115        at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
116        at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
117        at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:24
1183)
119        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
120ter.java:471)
121        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244
122)
123        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
124apter.java:135)
125        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServl
126etDelegate.java:129)
127        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServ
128letDelegate.java:160)
129        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java
130:75)
131        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
132        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
133        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
134icationFilterChain.java:290)
135        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
136ilterChain.java:206)
137        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
138atcher.java:630)
139        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
140tionDispatcher.java:436)
141        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
142ispatcher.java:374)
143        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
144patcher.java:302)
145        at com.sun.portal.wsrp.producer.router.RouterServlet.service(RouterServl
146et.java:102)
147        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
148        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
149icationFilterChain.java:290)
150        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
151ilterChain.java:206)
152        at com.sun.portal.wsrp.producer.filter.ProducerFilter.doFilter(ProducerF
153ilter.java:59)
154        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
155icationFilterChain.java:235)
156        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
157ilterChain.java:206)
158        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
159alve.java:233)
160        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
161alve.java:191)
162        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
163ava:128)
164        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
165ava:102)
166        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
167ve.java:109)
168        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
169a:286)
170        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
171:845)
172        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
173ss(Http11Protocol.java:583)
174        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
1757)
176        at java.lang.Thread.run(Thread.java:595)
177Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error
178 - tag useAttribute : no tiles context found.
179        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageC
180ontextImpl.java:852)
181        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
182textImpl.java:781)
183        at org.apache.jsp.html.portlet.sample_005fstruts_005fportlet.template_js
184p._jspService(template_jsp.java:229)
185        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
186        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
187        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
188.java:374)
189        ... 87 more
190Caused by: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles c
191ontext found.
192        at org.apache.struts.taglib.tiles.UseAttributeTag.doStartTag(UseAttribut
193eTag.java:176)
194        at org.apache.jsp.html.portlet.sample_005fstruts_005fportlet.template_js
195p._jspService(template_jsp.java:195)
196        ... 90 more


Stack trace generated by the "Struts Exception: Action" link

  1
  215:45:44,575 ERROR [StrutsPortlet:380] Include exception
  3org.apache.jasper.JasperException: An exception occurred processing JSP page /ht
  4ml/portlet/sample_struts_portlet/template.jsp at line 27
  5
  624:
  725: <%@ include file="/html/portlet/sample_struts_portlet/init.jsp" %>
  826:
  927: <tiles:useAttribute id="tilesPortletContent" name="portlet_content" classnam
 10e="java.lang.String" ignore="true" />
 1128:
 1229: <div>
 1330:     <jsp:include page='<%= "/html" + tilesPortletContent %>' flush="true" />
 14
 15
 16
 17Stacktrace:
 18        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspSer
 19vletWrapper.java:505)
 20        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
 21.java:398)
 22        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
 2342)
 24        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
 25        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 26        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 27icationFilterChain.java:290)
 28        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 29ilterChain.java:206)
 30        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 31atcher.java:630)
 32        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 33ispatcher.java:535)
 34        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 35patcher.java:472)
 36        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inv
 37oke(PortletServletRequestDispatcher.java:128)
 38        at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.inc
 39lude(PortletServletRequestDispatcher.java:146)
 40        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inv
 41oke(LiferayRequestDispatcher.java:170)
 42        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inc
 43lude(LiferayRequestDispatcher.java:99)
 44        at org.apache.portals.bridges.struts.PortletServlet.performActionRenderR
 45equest(PortletServlet.java:179)
 46        at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.proces
 47sRoles(PortletTilesRequestProcessor.java:57)
 48        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
 49va:197)
 50        at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.proces
 51s(PortletTilesRequestProcessor.java:50)
 52        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
 536)
 54        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 55        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 56        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 57        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 58icationFilterChain.java:290)
 59        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 60ilterChain.java:206)
 61        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 62atcher.java:630)
 63        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 64ispatcher.java:535)
 65        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 66patcher.java:472)
 67        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inv
 68oke(LiferayRequestDispatcher.java:170)
 69        at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.inc
 70lude(LiferayRequestDispatcher.java:99)
 71        at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(Struts
 72Portlet.java:375)
 73        at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.
 74java:274)
 75        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
 76        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 77        at com.sun.portal.portletcontainer.appengine.PortletAppEngineServlet.ser
 78vice(PortletAppEngineServlet.java:394)
 79        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 80        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
 81icationFilterChain.java:290)
 82        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
 83ilterChain.java:206)
 84        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
 85atcher.java:630)
 86        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
 87ispatcher.java:535)
 88        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
 89patcher.java:472)
 90        at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(Portl
 91etContainer.java:819)
 92        at com.sun.portal.portletcontainer.impl.PortletContainer.invokePAE(Portl
 93etContainer.java:694)
 94        at com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(Portl
 95etContainer.java:208)
 96        at com.sun.portal.wsrp.producer.markup.impl.MarkupManagerImpl.getMarkup(
 97MarkupManagerImpl.java:347)
 98        at com.sun.portal.wsrp.producer.markup.impl.WSRP_v2_Markup_PortTypeImpl.
 99getMarkup(WSRP_v2_Markup_PortTypeImpl.java:86)
100        at sun.reflect.GeneratedMethodAccessor686.invoke(Unknown Source)
101        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
102sorImpl.java:25)
103        at java.lang.reflect.Method.invoke(Method.java:585)
104        at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.
105java:246)
106        at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
107        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethod
108Handler.java:257)
109        at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTub
110e.java:93)
111        at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
112        at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
113        at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
114        at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
115        at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:24
1163)
117        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdap
118ter.java:471)
119        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244
120)
121        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAd
122apter.java:135)
123        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServl
124etDelegate.java:129)
125        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServ
126letDelegate.java:160)
127        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java
128:75)
129        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
130        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
131        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
132icationFilterChain.java:290)
133        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
134ilterChain.java:206)
135        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
136atcher.java:630)
137        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
138tionDispatcher.java:436)
139        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
140ispatcher.java:374)
141        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
142patcher.java:302)
143        at com.sun.portal.wsrp.producer.router.RouterServlet.service(RouterServl
144et.java:102)
145        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
146        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
147icationFilterChain.java:290)
148        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
149ilterChain.java:206)
150        at com.sun.portal.wsrp.producer.filter.ProducerFilter.doFilter(ProducerF
151ilter.java:59)
152        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
153icationFilterChain.java:235)
154        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
155ilterChain.java:206)
156        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
157alve.java:233)
158        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
159alve.java:191)
160        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
161ava:128)
162        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
163ava:102)
164        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
165ve.java:109)
166        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
167a:286)
168        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
169:845)
170        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
171ss(Http11Protocol.java:583)
172        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
1737)
174        at java.lang.Thread.run(Thread.java:595)
175Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error
176 - tag useAttribute : no tiles context found.
177        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageC
178ontextImpl.java:852)
179        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
180textImpl.java:781)
181        at org.apache.jsp.html.portlet.sample_005fstruts_005fportlet.template_js
182p._jspService(template_jsp.java:229)
183        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
184        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
185        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
186.java:374)
187        ... 86 more
188Caused by: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles c
189ontext found.
190        at org.apache.struts.taglib.tiles.UseAttributeTag.doStartTag(UseAttribut
191eTag.java:176)
192        at org.apache.jsp.html.portlet.sample_005fstruts_005fportlet.template_js
193p._jspService(template_jsp.java:195)
194        ... 89 more
Manish Kumar Gupta
RE: Providing a Struts portlet with WSRP
April 12, 2009 11:27 PM
Answer

Manish Kumar Gupta

LIFERAY STAFF

Rank: Liferay Master

Posts: 535

Join Date: May 15, 2008

Recent Posts

Hi Jacob,

I will look into this.


Manish.
Pedro Neto
RE: Providing a Struts portlet with WSRP
March 28, 2012 7:10 AM
Answer

Pedro Neto

Rank: New Member

Posts: 8

Join Date: January 26, 2012

Recent Posts

I have the same problem.

struts-config.xml:
 1<?xml version="1.0"?>
 2<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
 3
 4<struts-config>
 5
 6    <!-- Forms Beans -->
 7
 8    <form-beans>
 9        <form-bean name="associadoForm" type="br.com.sicoob.associado.form.AssociadoForm" />
10    </form-beans>
11
12    <!-- Action Mappings -->
13
14    <action-mappings>
15   
16        <action path="/associado/view" forward="portlet.cadastroassociado.view" />       
17
18        <action path="/associado/action" type="br.com.sicoob.associado.action.AssociadoAction" name="associadoForm" scope="session" validate="true" >
19            <forward name="portlet.associado.view" path="cadastroassociado.create_fisica" redirect="true" />
20        </action>       
21       
22    </action-mappings>
23
24    <!-- Custom Request Processor -->
25
26    <controller processorClass="org.apache.portals.bridges.struts.PortletTilesRequestProcessor" />
27   
28    <!-- Tiles Plugin -->
29
30    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
31        <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
32        <set-property property="moduleAware" value="true" />
33        <set-property property="definitions-parser-validate" value="true" />
34    </plug-in>
35</struts-config>



tiles-defs.xml:
 1<?xml version="1.0"?>
 2<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
 3
 4<tiles-definitions>
 5
 6    <definition name="portlet.cadastroassociado" path="/html/portlet/cadastroassociado/template.jsp" />
 7
 8    <definition name="portlet.cadastroassociado.view" extends="portlet.cadastroassociado">
 9        <put name="portlet_content" value="/html/portlet/cadastroassociado/view.jsp" />
10    </definition>
11   
12    <!-- <definition name="portlet.associado" extends="portlet.cadastroassociado">
13        <put name="portlet_content" value="/html/portlet/cadastroassociado/associadoForm.jsp" />
14    </definition>-->
15   
16</tiles-definitions>



template.jsp
 1
 2<%@ include file="/html/portlet/cadastroassociado/init.jsp" %>
 3
 4
 5<tiles:useAttribute id="tilesPortletContent" name="portlet_content" classname="java.lang.String" ignore="true" />
 6
 7<div>
 8    <jsp:include page="<%= \"/html\" + tilesPortletContent %>" flush="true" />
 9</div>


StackTrace:
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 1213:59:57,054 INFO  [TilesPlugin:236] Tiles definition factory loaded for module ''.
 1313:59:57,061 INFO  [TilesRequestProcessor:103] Tiles definition factory found for request processor ''.
 1413:59:57,833 ERROR [StrutsPortlet:380] Include exception
 15org.apache.jasper.JasperException: An exception occurred processing JSP page /html/portlet/cadastroassociado/template.jsp at line 5
 16
 172: <%@ include file="/html/portlet/cadastroassociado/init.jsp" %>
 183:
 194:
 205: <tiles:useAttribute id="tilesPortletContent" name="portlet_content" classname="java.lang.String" ignore="true" />
 216:
 227: <div>
 238:     <jsp:include page="<%= \"/html\" + tilesPortletContent %>" flush="true" />
 24
 25
 26Stacktrace:
 27    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:519)
 28    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)
 29    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 30    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 31    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 32    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 33    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 34    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 35    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
 36    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 37    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 38    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
 39    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
 40    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
 41    at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.invoke(PortletServletRequestDispatcher.java:128)
 42    at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.forward(PortletServletRequestDispatcher.java:135)
 43    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.invoke(LiferayRequestDispatcher.java:173)
 44    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.forward(LiferayRequestDispatcher.java:74)
 45    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.forward(LiferayRequestDispatcher.java:61)
 46    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
 47    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
 48    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
 49    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
 50    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
 51    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
 52    at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:50)
 53    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 54    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 55    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 56    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 57    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 58    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 59    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 60    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
 61    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 62    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 63    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
 64    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
 65    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
 66    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.invoke(LiferayRequestDispatcher.java:169)
 67    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.include(LiferayRequestDispatcher.java:98)
 68    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.include(LiferayRequestDispatcher.java:85)
 69    at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:375)
 70    at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:274)
 71    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
 72    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
 73    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
 74    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
 75    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:93)
 76    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 77    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 78    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 79    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 80    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
 81    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 82    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 83    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
 84    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
 85    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
 86    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:639)
 87    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:726)
 88    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:426)
 89    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
 90    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 91    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 92    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
 93    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 94    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 95    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 96    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 97    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 98    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 99    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
100    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
101    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
102    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
103    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
104    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
105    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4274)
106    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1324)
107    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:160)
108    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:94)
109    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:256)
110    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:181)
111    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(Unknown Source)
112    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
113    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
114    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
115    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
116    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
117    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
118    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
119    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
120    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
121    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
122    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
123    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
124    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
125    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
126    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
127    at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:408)
128    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:676)
129    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:240)
130    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
131    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
132    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
133    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
134    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
135    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
136    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:516)
137    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:493)
138    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
139    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
140    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
141    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
142    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
143    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
144    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
145    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
146    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
147    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
148    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
149    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
150    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
151    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
152    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
153    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
154    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
155    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
156    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
157    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
158    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
159    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
160    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
161    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
162    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:136)
163    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
164    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
165    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
166    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
167    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
168    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:301)
169    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
170    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
171    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
172    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
173    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
174    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
175    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
176    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
177    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
178    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
179    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
180    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
181    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
182    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
183    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
184    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:229)
185    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
186    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
187    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
188    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
189    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
190    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
191    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
192    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
193    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
194    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
195    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
196    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
197    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
198    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
199    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
200    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
201    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
202    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
203    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
204    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
205    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
206    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
207    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
208    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
209    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:207)
210    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
211    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
212    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
213    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
214    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
215    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
216    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
217    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
218    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
219    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
220    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
221    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
222    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
223    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
224    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
225    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
226    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
227    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
228    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
229    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
230    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
231    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
232    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
233    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
234    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
235    at java.lang.Thread.run(Thread.java:619)
236Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles context found.
237    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
238    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
239    at com.liferay.portal.kernel.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:161)
240    at org.apache.jsp.html.portlet.cadastroassociado.template_jsp._jspService(template_jsp.java:158)
241    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
242    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
243    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
244    ... 207 more
245Caused by: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles context found.
246    at org.apache.struts.taglib.tiles.UseAttributeTag.doStartTag(UseAttributeTag.java:176)
247    at org.apache.jsp.html.portlet.cadastroassociado.template_jsp._jspService(template_jsp.java:138)
248    ... 210 more
24914:09:23,387 ERROR [StrutsPortlet:380] Include exception
250org.apache.jasper.JasperException: An exception occurred processing JSP page /html/portlet/cadastroassociado/template.jsp at line 5
251
2522: <%@ include file="/html/portlet/cadastroassociado/init.jsp" %>
2533:
2544:
2555: <tiles:useAttribute id="tilesPortletContent" name="portlet_content" classname="java.lang.String" ignore="true" />
2566:
2577: <div>
2588:     <jsp:include page="<%= \"/html\" + tilesPortletContent %>" flush="true" />
259
260
261Stacktrace:
262    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:519)
263    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)
264    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
265    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
266    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
267    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
268    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
269    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
270    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
271    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
272    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
273    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
274    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
275    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
276    at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.invoke(PortletServletRequestDispatcher.java:128)
277    at org.apache.portals.bridges.struts.PortletServletRequestDispatcher.forward(PortletServletRequestDispatcher.java:135)
278    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.invoke(LiferayRequestDispatcher.java:173)
279    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.forward(LiferayRequestDispatcher.java:74)
280    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.forward(LiferayRequestDispatcher.java:61)
281    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
282    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
283    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
284    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
285    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
286    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
287    at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:50)
288    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
289    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
290    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
291    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
292    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
293    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
294    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
295    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
296    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
297    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
298    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
299    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
300    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
301    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.invoke(LiferayRequestDispatcher.java:169)
302    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.include(LiferayRequestDispatcher.java:98)
303    at com.liferay.portal.apache.bridges.struts.LiferayRequestDispatcher.include(LiferayRequestDispatcher.java:85)
304    at org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:375)
305    at org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:274)
306    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
307    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
308    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
309    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
310    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:93)
311    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
312    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
313    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
314    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
315    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
316    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
317    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
318    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
319    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
320    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
321    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:639)
322    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:726)
323    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:426)
324    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
325    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
326    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
327    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
328    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
329    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
330    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
331    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
332    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
333    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
334    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
335    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
336    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
337    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
338    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
339    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
340    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:4274)
341    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1324)
342    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:160)
343    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:94)
344    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:256)
345    at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:181)
346    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(Unknown Source)
347    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
348    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
349    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
350    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
351    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
352    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
353    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
354    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
355    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
356    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
357    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
358    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
359    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
360    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
361    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
362    at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:408)
363    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:676)
364    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:240)
365    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
366    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
367    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
368    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
369    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
370    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
371    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:516)
372    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:493)
373    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
374    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
375    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
376    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
377    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
378    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
379    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
380    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
381    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
382    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
383    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
384    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
385    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
386    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
387    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
388    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
389    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
390    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
391    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
392    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
393    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
394    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
395    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
396    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
397    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:136)
398    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
399    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
400    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
401    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
402    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
403    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:301)
404    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
405    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
406    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
407    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
408    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
409    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
410    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
411    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
412    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
413    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
414    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
415    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
416    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
417    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
418    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
419    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:229)
420    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
421    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
422    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
423    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
424    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
425    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
426    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
427    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
428    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
429    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
430    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
431    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
432    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
433    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
434    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
435    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
436    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
437    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
438    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
439    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
440    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
441    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
442    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
443    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
444    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:207)
445    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
446    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
447    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
448    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
449    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
450    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
451    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
452    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
453    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
454    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
455    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
456    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
457    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:75)
458    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
459    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
460    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
461    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
462    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
463    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
464    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
465    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
466    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
467    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
468    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
469    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
470    at java.lang.Thread.run(Thread.java:619)
471Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles context found.
472    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
473    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
474    at com.liferay.portal.kernel.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:161)
475    at org.apache.jsp.html.portlet.cadastroassociado.template_jsp._jspService(template_jsp.java:158)
476    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
477    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
478    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
479    ... 207 more
480Caused by: javax.servlet.jsp.JspException: Error - tag useAttribute : no tiles context found.
481    at org.apache.struts.taglib.tiles.UseAttributeTag.doStartTag(UseAttributeTag.java:176)
482    at org.apache.jsp.html.portlet.cadastroassociado.template_jsp._jspService(template_jsp.java:138)
483    ... 210 more




HELP ME please.

Is correct my definitions to struts plugin porltet?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!