cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Kluge <r...@smb-tec.com>
Subject Re: AW: [CRITICAL ERROR] Problems with multithreading in cocoon2!!
Date Thu, 13 Sep 2001 14:32:42 GMT

Thanks a lot ..
I will try the last version and post if the error still happens.

rk

On Don, 13 Sep 2001, you wrote:
> Hi Rolf,
> 
> which version of C2 did you try? We had these problems several
> weeks ago, but it was fixed (or at least we thought we had).
> So if you not already have done so, try the last cvs version of
> C2.0 (not C2.1!).
> Even with heavy load we do not get these exceptions here anymore.
> Has anyone else still those problems?
> 
> Carsten
> 
> > Rolf Kluge wrote:
> >
> > Hi there!
> > I have a problem with the multithreading in cocoon2.  First I
> > describe what I
> > want to do and then the problems I have.  I want to write a testtool for a
> > browserbased application with cocoon as frontend.  Herefore the
> > tool saves all
> > requests from client(browser) to the server in a file.  After
> > this the tool
> > should send the requests and interpret the response - whether it
> > is successful
> > or not.  This works fine. Now I want to test the performance of my
> > application.  So I want to run the sending of requests in 2 or
> > more threads.
> > With 2 threads the test works still fine, but when I run it in
> > more than 2 I
> > get an exception from the server which I can't interpret.  My
> > question: What
> > does the exception mean and how can I fix it?
> >
> > BTW: The same exception occurs when I run one threat on a
> > server (also cocoon2) with 2 CPUs.
> >
> > Important details:
> > VM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
> > Applicationserver: JBoss
> > Webserver: Jetty
> > Framework: Cocoon2
> >
> > Exceptions:
> >
> > [Jetty] ERROR   10002   [cocoon  ] (SocketListener-34): Sitemap
> > org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > 12:57:16.924 EVENT  ERROR   10002   [cocoon  ]
> > (SocketListener-34): Sitemap
> > + org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > +       at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > +       at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > +       at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > +       at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > +       at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > +       at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > +       at
> > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > +       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > +       at
> > com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > +       at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > +       at
> > com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > +       at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > +       at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > +       at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > +       at
> > com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > +       at java.lang.Thread.run(Thread.java:484)
> > +
> > [Jetty] ERROR   10002   [cocoon  ] (SocketListener-34):
> > processing of resource failed
> > org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > 12:57:17.093 EVENT  ERROR   10002   [cocoon  ]
> > (SocketListener-34): processing of resource failed
> > + org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > +       at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > +       at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > +       at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > +       at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > +       at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > +       at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > +       at
> > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > +       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > +       at
> > com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > +       at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > +       at
> > com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > +       at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > +       at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > +       at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > +       at
> > com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > +       at java.lang.Thread.run(Thread.java:484)
> > +
> > [Jetty] ERROR   10002   [cocoon  ] (SocketListener-34): Problem
> > with servlet
> > org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > at java.lang.Thread.run(Thread.java:484)
> >
> > 12:57:17.151 EVENT  ERROR   10002   [cocoon  ]
> > (SocketListener-34): Problem with servlet
> > + org.apache.avalon.framework.component.ComponentException:
> > UnnamedSelector: ComponentSelector could not find the component
> > for hint: xslt
> > +       at
> > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.s
> > elect(ExcaliburComponentSelector.java:239)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:49)
> > +       at
> > org.apache.cocoon.sitemap.SitemapComponentSelector.select(SitemapC
> > omponentSelector.java:52)
> > +       at
> > org.apache.cocoon.components.pipeline.AbstractEventPipeline.addTra
> > nsformer(AbstractEventPipeline.java:102)
> > +       at
> > org.apache.cocoon.components.pipeline.CachingEventPipeline.addTran
> > sformer(CachingEventPipeline.java:95)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.wildcardMatchN193(sitemap_xmap.
> > java:1604)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:968)
> > +       at
> > org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:893)
> > +       at org.apache.cocoon.sitemap.Handler.process(Handler.java:167)
> > +       at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:96)
> > +       at org.apache.cocoon.Cocoon.process(Cocoon.java:353)
> > +       at
> > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> > +       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolde
> > r.java:488)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:459)
> > +       at
> > com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHand
> > ler.java:294)
> > +       at
> > com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1154)
> > +       at com.mortbay.HTTP.HttpServer.service(HttpServer.java:775)
> > +       at
> > com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:484)
> > +       at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:344)
> > +       at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > +       at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > +       at
> > com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > +       at java.lang.Thread.run(Thread.java:484)
> > +
> >
> >
> > Thanks in advance!!
> >
> > -xxx-
> > rk
> >
> > --
> > ______________________________________
> > Rolf Kluge - mailto:rolf@smb-tec.com
> > SMB GmbH   - http://www.smb-tec.com
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
-- 
______________________________________
Rolf Kluge - mailto:rolf@smb-tec.com
SMB GmbH   - http://www.smb-tec.com


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message