cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: ComponentPoolController
Date Tue, 10 Oct 2000 11:31:10 GMT
I'll have to look at it this evening (Europe time). It might be a
problem of the ComponentManager implementation in Cocoon.java which
does not respect the interfaces a Component uses to mark itself of a
special kind (ThreadSafe a.s.o)

Giacomo

--- Davanum Srinivas <dims@yahoo.com> wrote:
> Giacomo,
> 
> Got the latest C2 60 Min ago....The main page shows up but nothing
> else works...
> 
> Pool#put: decreasing pool size
> Pool#put: decreasing pool size
> Pool#put: decreasing pool size
> java.lang.ClassCastException:
> org.apache.cocoon.sitemap.DefaultComponentHolder
> java.lang.ClassCastException:
> org.apache.cocoon.sitemap.DefaultComponentHolder
>         at
>
_D_._jakarta._build._tomcat_4_0._webapps._cocoon._sitemap_xmap.error_process_1(_sitemap_xmap.java:2493)
>         at
>
_D_._jakarta._build._tomcat_4_0._webapps._cocoon._sitemap_xmap.process(_sitemap_xmap.java:2470)
>         at
> org.apache.cocoon.sitemap.Handler.process(Handler.java:127)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:80)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:229)
>         at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:166)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilterWrapper.java:159)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:258)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
>         at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1750)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
>         at
> org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
>         at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:934)
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:787)
>         at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
>         at java.lang.Thread.run(Thread.java:484)
> 
> Thanks,
> dims
> 
> --- Giacomo Pati <pati_giacomo@yahoo.com> wrote:
> > 
> > --- Paul Russell <paul@luminas.co.uk> wrote:
> > > On Tue, Oct 10, 2000 at 06:59:58AM +0200, Giacomo Pati wrote:
> > > > Giacomo Pati wrote:
> > > > > Paul Russell wrote:
> > > > > > ... should be a Component...
> > > > > Can you explain why a PoolController should be a Component?
> > > > Uh, that hurts :). Because *I* have made it pluggable as a
> > > Component.
> > > 
> > > Heh. I guessed as much. The only reason I mentioned it is because
> > > it won't run without it (the sitemap loads it using
> load_component,
> > > iirc).. :)
> > 
> > Not the sitemap, Cocoon. So far we have two ComponentManager
> systems.
> > One for the "general" components in cocoon.xconf which is handled
> > (incorrectly as for today) by the class Cocoon. And a (soon
> comming)
> > hierachically organized ComponentManager system for all
> > SitemapComponents (which handles them correctly by means of
> implemented
> > interfaces).
> > 
> > Giacomo
> > 
> > =====
> > --
> > PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
> > Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
> > Hintereichenstrasse 7                    
> Mailto:Giacomo.Pati@pwr.ch
> > CH-8166 Niederweningen                    Web:   http://www.pwr.ch
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message