forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik Sengupta <a...@apache.org>
Subject cvs Cocoon and FOP (was Re: Forrest TODO list)
Date Thu, 02 Jan 2003 15:52:22 GMT
Latest cvs cocoon gives me the same error, and changing the xconf as
suggested below gives me the exception below :( .. ill play around a bit
more and see what i can come up with!

Exception in thread "main" java.lang.NoSuchMethodError
        at
org.apache.cocoon.components.resolver.ResolverImpl.<init>(ResolverImpl.java:107)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:232)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:163)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:268)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:259)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory$ServiceManagerProxy.lookup(DefaultComponentFactory.java:460)
        at
org.apache.avalon.excalibur.xml.JaxpParser.service(JaxpParser.java:115)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:248)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLimitingPool.java:629)
        at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:359)
        at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:188)
        at
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:234)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:262)
        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:259)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory$ComponentManagerProxy.lookup(DefaultComponentFactory.java:393)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory$ServiceManagerProxy.lookup(DefaultComponentFactory.java:460)
        at
org.apache.excalibur.xmlizer.impl.AbstractXMLizer.service(AbstractXMLizer.java:51)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:248)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:690)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:371)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:513)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:288)
        at org.apache.cocoon.Main.main(Main.java:419)
Setup...


On Thu, 2003-01-02 at 20:29, Jeff Turner wrote:
> On Thu, Jan 02, 2003 at 07:01:11PM +0530, Avik Sengupta wrote:
> > > So what are the chances of using cvs Fop, where this problem is solved?
> > 
> > Keiron had earlier sent instructions on using the cvs FOP and patched
> > cocoon (thanks!). However, this is what i got .. so i imagine some more
> > patching is required somewhere :))
> > 
> > Setup...ERROR   2003-01-02 18:59:03.482 [cocoon.m] (): The component
> > instance for hint [cocoon] has an invalid class name
> > (org.apache.cocoon.components.source.impl.CocoonSourceFactory).
> > java.lang.ClassNotFoundException:
> > org.apache.cocoon.components.source.impl.CocoonSourceFactory
> 
> I think that is (or was) a regression on Cocoon's part.  I had to make the
> following change to cocoon.xconf when updating Forrest's Cocoon:
> 
>  -      <component-instance class="org.apache.cocoon.components.source.impl.CocoonSourceFactory"
name="cocoon"/>
>  +      <component-instance class="org.apache.cocoon.components.source.impl.SitemapSourceFactory"
name="cocoon"/>
> 
> 
> --Jeff
> 




Mime
View raw message