i a fresh 2.1.4 installation without to touch anything 
just try to run 

cocoon cli -x cli.xconf


i get an error about [portlet]


i have try to test a cvs snapshot (yesterday night) with tha same result


-- stavros

----- the stack trace -----
..
..

Opening database: 
C:\Server\2.1-production\2.1.4\build\webapp\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Thu Mar 04 14:14:42 EET 2004 Listening for connections ...
ERROR   2004-03-04 14:14:43.816 [cli.mana] (): Could not set up Component 
for hint [ portlet]
org.apache.avalon.framework.context.ContextException: Unable to resolve 
context
key: servlet-config
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:157)
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:160)
        at 
org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:144)
        at 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.contextualize(PortletAdapter.java:109)
        at 
org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerUtil.java:154)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:281)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:738)
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:268)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:305)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
        at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
ERROR   2004-03-04 14:14:43.816 [cli.mana] (): Could not load class 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter for component 
named 'portlet' at
 
file:/C:/Server/2.1-production/2.1.4/build/webapp/WEB-INF/cocoon.xconf:1565:121

org.apache.avalon.framework.component.ComponentException: Could not set up 
Compo
nent for hint [ portlet] (key [portlet])
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:756)
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:268)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:305)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
        at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resolve context key: servlet-config
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:157)
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:160)
        at 
org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:144)
        at 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.contextualize(PortletAdapter.java:109)
        at 
org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerUtil.java:154)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:281)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:738)
        ... 19 more
ERROR   2004-03-04 14:14:43.826 [cli.mana] (): Caught an exception trying 
to initialize the component handler.
org.apache.avalon.framework.configuration.ConfigurationException: Could 
not load
 class org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter for 
component
 named 'portlet' at 
file:/C:/Server/2.1-production/2.1.4/build/webapp/WEB-INF/cocoon.xconf:1565:121
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:276)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(Contain
erUtil.java:239)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:305)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
        at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.component.ComponentException: Could 
not s
et up Component for hint [ portlet] (key [portlet])
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:756)
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:268)
        ... 18 more
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resol
ve context key: servlet-config
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:157)
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:160)
        at 
org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:144)
        at 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.contextualize(PortletAdapter.java:109)
        at 
org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerUtil.java:154)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:281)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:738)
        ... 19 more
FATAL_E 2004-03-04 14:14:43.826 [cli     ] (): Exception caught
org.apache.avalon.framework.configuration.ConfigurationException: Could 
not load
 class org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter for 
component
 named 'portlet' at 
file:/C:/Server/2.1-production/2.1.4/build/webapp/WEB-INF/cocoon.xconf:1565:121
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:276)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:305)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
        at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: org.apache.avalon.framework.component.ComponentException: Could 
not s
et up Component for hint [ portlet] (key [portlet])
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:756)
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:268)
        ... 18 more
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resol
ve context key: servlet-config
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:157)
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:160)
        at 
org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:144)
        at 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.contextualize(PortletAdapter.java:109)
        at 
org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerUtil.java:154)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:281)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:738)
        ... 19 more
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at Loader.invokeMain(Unknown Source)
        at Loader.run(Unknown Source)
        at Loader.main(Unknown Source)
Caused by: 
org.apache.avalon.framework.configuration.ConfigurationException: Could 
not load class org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter 
for component named 'portlet' at 
file:/C:/Server/2.1-production/2.1.4/build/webapp/WEB-INF/cocoon.xconf:1565:121
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:276)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:305)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:558)
        at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
        at 
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:186)
        at 
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:132)
        at org.apache.cocoon.Main.main(Main.java:349)
        ... 7 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could 
not s
et up Component for hint [ portlet] (key [portlet])
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:756)
        at 
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:268)
        ... 18 more
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resove context key: servlet-config
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:157)
        at 
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:160)
        at 
org.apache.cocoon.components.ComponentContext.get(ComponentContext.java:144)
        at 
org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter.contextualize(PortletAdapter.java:109)
        at 
org.apache.avalon.framework.container.ContainerUtil.contextualize(ContainerUtil.java:154)
        at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:281)
        at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:738)
        ... 19 more


On Thu, 4 Mar 2004, Upayavira wrote:

> [EMAIL PROTECTED] wrote:
> 
> >hi all
> >
> >playing around with some cocoon installation in my computer
> >i have notice tha CLI dont work after 2.1.2 version
> >is this a known bug or something else is happend here ?
> >  
> >
> Doesn't work? What doesn't work. If I remember, there was a bug in a 
> version around then which means that you should start with 2.1.3 as a 
> minimum. And 2.1.3 has the Ant CocoonTask, which is well worth trying. 
> I'm using it myself for a site.
> 
> So what's the problem you're having?
> 
> Upayavira
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to