You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by go...@osmosis.gr on 2004/03/04 13:01:07 UTC
CLI after 2.1.2 is broken ?
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 ?
--stavros
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by go...@osmosis.gr.
OK That's it
to make cli work i have to
1. exclude portal block from build
2. copy servlet_2_2.jar form lib/optional to build/webapp/web-inf/lib
thnx all
On Thu, 4 Mar 2004, Upayavira wrote:
> gounis@osmosis.gr wrote:
>
> >sory but there is not portlet block in blocks.properties.
> >
> >ro do you mean whole the portal block ?
> >
> >
> Sorry, yes.
>
> Upayavira
>
> >
> >thnx
> >
> >--stavros
> >
> >On Thu, 4 Mar 2004, Upayavira wrote:
> >
> >
> >
> >>gounis@osmosis.gr wrote:
> >>
> >>
> >>
> >>>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]
> >>>
> >>>
> >>>
> >>>
> >>Yup. Portlet block breaks CLI, which is bad. Exclude it from build and
> >>you'll be fine.
> >>
> >>Upayavira
> >>
> >>
> >>
> >>>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:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
> >>>>For additional commands, e-mail: users-help@cocoon.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>>For additional commands, e-mail: users-help@cocoon.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by Upayavira <uv...@upaya.co.uk>.
gounis@osmosis.gr wrote:
>sory but there is not portlet block in blocks.properties.
>
>ro do you mean whole the portal block ?
>
>
Sorry, yes.
Upayavira
>
>thnx
>
>--stavros
>
>On Thu, 4 Mar 2004, Upayavira wrote:
>
>
>
>>gounis@osmosis.gr wrote:
>>
>>
>>
>>>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]
>>>
>>>
>>>
>>>
>>Yup. Portlet block breaks CLI, which is bad. Exclude it from build and
>>you'll be fine.
>>
>>Upayavira
>>
>>
>>
>>>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:
>>>
>>>
>>>
>>>
>>>
>>>>gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
>>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by yangontha Maung <th...@yahoo.com>.
Hi,
I also faced the similar problem. Uncomment the
following lines.
exclude.block.portal-fw=true
exclude.block.portal=true
rgds,
--- gounis@osmosis.gr wrote:
>
> sory but there is not portlet block in
> blocks.properties.
>
> ro do you mean whole the portal block ?
>
>
> thnx
>
> --stavros
>
> On Thu, 4 Mar 2004, Upayavira wrote:
>
> > gounis@osmosis.gr wrote:
> >
> > >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]
> > >
> > >
> > Yup. Portlet block breaks CLI, which is bad.
> Exclude it from build and
> > you'll be fine.
> >
> > Upayavira
> >
> > >
> > >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
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by go...@osmosis.gr.
sory but there is not portlet block in blocks.properties.
ro do you mean whole the portal block ?
thnx
--stavros
On Thu, 4 Mar 2004, Upayavira wrote:
> gounis@osmosis.gr wrote:
>
> >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]
> >
> >
> Yup. Portlet block breaks CLI, which is bad. Exclude it from build and
> you'll be fine.
>
> Upayavira
>
> >
> >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:
> >
> >
> >
> >>gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by Upayavira <uv...@upaya.co.uk>.
gounis@osmosis.gr wrote:
>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]
>
>
Yup. Portlet block breaks CLI, which is bad. Exclude it from build and
you'll be fine.
Upayavira
>
>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:
>
>
>
>>gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by go...@osmosis.gr.
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:
> gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: CLI after 2.1.2 is broken ?
Posted by Upayavira <uv...@upaya.co.uk>.
gounis@osmosis.gr 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org