incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmuer <reto.bachm...@trialox.org>
Subject Re: exceptions in typerendering
Date Thu, 23 Sep 2010 13:33:05 GMT
fixed with CLEREZZA-307

On Thu, Sep 23, 2010 at 12:41 PM, Manuel Innerhofer
<manuel.innerhofer@trialox.org> wrote:
> Hi,
>
> We were stress testing the platform making many page requests. Rarely the
> following exceptions occurred in typerendering:
>
> org.apache.clerezza.platform.
> typerendering.RenderletNotFoundException: Renderlet
> org.apache.clerezza.platform.typerender
> ing.scalaserverpages.ScalaServerPagesRenderlet could not be loaded.
>       at
> org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.getRenderer(RenderletRendererFactoryI
> mpl.java:148)
>       at
> org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.createRenderer(RenderletRendererFacto
> ryImpl.java:113)
>       at
> org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:139)
>       at
> org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:74)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:326)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:273)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:306)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:396)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:302)
>       at
> org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlConvertingBody.writeTo(Xhtml2HtmlConvertingBody.java:43)
>       at
> org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>       at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
>       at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
>       at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
>       at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
>       at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
>       at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>       at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
>
> and
>
> java.lang.NullPointerException  at
> org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.getRenderer(RenderletRendererFactoryI
> mpl.java:124)
>       at
> org.apache.clerezza.platform.typerendering.RenderletRendererFactoryImpl.createRenderer(RenderletRendererFactoryImpl.java:113)
>       at
> org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:139)
>       at
> org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:74)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:326)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:273)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:306)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:396)
>       at
> org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:302)
>       at
> org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlConvertingBody.writeTo(Xhtml2HtmlConvertingBody.java:43)
>       at
> org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>       at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
>       at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>       at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
>       at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:423)
>       at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
>       at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
>       at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
>
>
> It looks like the ScalaServerPagesRenderlet was unbound and bound again to
> the RenderletRendererFactoryImpl. Nobody else was working to the platform,
> so there should have been no reason for the ssp-renderlet to unregister.
> Maybe I interpreted the exceptions wrong. Would be great if someone (Reto
> ;-) ) came to the same conclusion as I have.
>
> Cheers,
> Manuel
>

Mime
View raw message