Stripes layout stuck thread on Weblogi

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Stripes layout stuck thread on Weblogi

jawa
Hi,
We are developing a web app with Stripes that users can use either in English or
French.
I have setup the resource files and made configuration in web.xml (part of it
given below).
On the jsp I have Stripes Label tag which gets its text from resource file. For
example: <s:label for="personalInfo.firstName"></s:label>.
I have many such label on my jsp.
When I comment all the Stripes label tags, I get the jsp rendered (without the
labels of course) without the thread getting stuck. But when I have all the
labels in the jsp, the thread gets stuck.
So, any idea, what am I missing? Why rendering labels in French is problem for
Stripes? Any suggestions?
Please let me know.

Web.xml
  <filter>
    <display-name>Stripes Filter</display-name>
    <filter-name>StripesFilter</filter-name>
    <filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-
class>
    <init-param>
      <param-name>ActionResolver.Packages</param-name>
      <param-value>com.telus.activations.gemini.prepaid.action</param-value>
    </init-param>
        <init-param>
      <param-name>Extension.Packages</param-name>
      <param-value>com.telus.activations.gemini.prepaid.ext</param-value>
    </init-param>
    <init-param>
      <param-name>LocalePicker.Locales</param-name>
      <param-value>en:UTF-8,fr_CA:UTF:8</param-value>
    </init-param>
    <init-param>
                <param-name>LocalePicker.Class</param-name>
                <param-
value>com.telus.activations.gemini.prepaid.ext.TelusLocalePicker</param-value>
        </init-param>
    <init-param>
                <param-name>LocalizationBundleFactory.ErrorMessageBundle</param-
name>
                <param-value>AllMessageResources</param-value>
        </init-param>      
    <init-param>
                <param-name>LocalizationBundleFactory.FieldNameBundle</param-
name>
                <param-value>FieldNameResources</param-value>
        </init-param>


 Thread stuck:

which is more than the configured time (StuckThreadMaxTime) of "600" seconds.
Stack trace:
        net.sourceforge.stripes.tag.layout.LayoutContext$1MyServletOutputStream.
decodeBuffer(LayoutContext.java:311)
        net.sourceforge.stripes.tag.layout.LayoutContext$1MyServletOutputStream.
write(LayoutContext.java:341)
        weblogic.servlet.internal.WLOutputStreamWriter.writeBytes(WLOutputStream
Writer.java:168)
        weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStrea
mWriter.java:212)
        weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWrite
r.java:132)
        weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWrite
r.java:101)
        weblogic.servlet.internal.DelegateChunkWriter.write(DelegateChunkWriter.
java:113)
        weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.ja
va:124)
        weblogic.servlet.jsp.JspWriterImpl.write(JspWriterImpl.java:246)
        weblogic.servlet.jsp.BodyContentImpl.writeOut(BodyContentImpl.java:243)
        net.sourceforge.stripes.tag.FormTag.doEndTag(FormTag.java:248)
        jsp_servlet._prepaid.__personal_information._jspService(__personal_infor
mation.java:1120)
        weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
00)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
83)
        weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis
patcherImpl.java:523)
        weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatche
rImpl.java:444)
        net.sourceforge.stripes.tag.layout.LayoutContext.doIncludeHack(LayoutCon
text.java:376)
        net.sourceforge.stripes.tag.layout.LayoutContext.doInclude(LayoutContext
.java:201)
        net.sourceforge.stripes.tag.layout.LayoutComponentRenderer.write(LayoutC
omponentRenderer.java:137)
        net.sourceforge.stripes.tag.layout.LayoutComponentTag.doStartTag(LayoutC
omponentTag.java:181)
        jsp_servlet._prepaid._common.__layout._jsp__tag23(__layout.java:1173)
        jsp_servlet._prepaid._common.__layout._jspService(__layout.java:311)
        weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
00)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
83)
        weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis
patcherImpl.java:523)
        weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatche
rImpl.java:444)
        net.sourceforge.stripes.tag.layout.LayoutContext.doIncludeHack(LayoutCon
text.java:376)
        net.sourceforge.stripes.tag.layout.LayoutContext.doInclude(LayoutContext
.java:201)
        net.sourceforge.stripes.tag.layout.LayoutRenderTag.doEndTag(LayoutRender
Tag.java:175)
        jsp_servlet._prepaid.__personal_information._jspService(__personal_infor
mation.java:1161)
        weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
00)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
83)
        weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis
patcherImpl.java:523)
        weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImpl.java:253)
        net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResoluti
on.java:110)
        net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(Dispatch
erHelper.java:497)
        net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon
text.java:158)
        net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCa
cheInterceptor.java:99)
        net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon
text.java:155)
        net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercep
t(BeforeAfterMethodInterceptor.java:113)
        net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon
text.java:155)
        org.stripesstuff.plugin.waitpage.WaitPageInterceptor.intercept(WaitPageI
nterceptor.java:175)
        net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionCon
text.java:155)
        net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContex
t.java:74)
        net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(Di
spatcherHelper.java:491)
        net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(D
ispatcherServlet.java:286)
        net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherS
ervlet.java:170)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
        weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
        weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:3
00)
        weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
56)
        net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.
java:260)
        weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
56)
        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.w
rapRun(WebAppServletContext.java:3715)
        weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3681)
        weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
        weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120
)
        weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2277)
        weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2183)
        weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1454)
        weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Thanks.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Stripes-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-users