cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex S <alexsc...@lineone.net>
Subject Re: Offline generation > Exception can't find component
Date Sat, 14 Feb 2004 17:10:22 GMT
1) I will leave out th -L
2)
The site works via:
http://localhost:8888/wscott/index.html

Upayavira wrote:

> Alex S wrote:
>
>> Hi there:
>>
>> I issue this command:
>>
>> [root@localhost cocoon-2.1]# ./cocoon.sh cli index.html -C ws.xconf 
>> -d work/docs -L build/cocoon-2.1/classes
>
>
> Firstly, you don't need the -L, that is specifically for sites that 
> use JDBC database connections.
>
> Secondly, if you do ./cocoon.sh servlet, does the site work when 
> accessed via http://localhost:8888/index.html?
>
> As to the component exception, we'll come back to that one...
>
> Upayavira
>
>>
>> And the output includes the below. Do I need to tell cocoon where 
>> these components are?
>>
>>
>>
>> FATAL_E 2004-02-14 14:15:30.382 [        ] (): Exception caught
>> org.apache.avalon.framework.component.ComponentException: Could not 
>> find component (key [org.apache.cocoon.Processor])
>>         at 
>> org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:275)

>>
>>         at 
>> org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)

>>
>>         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
>>         at 
>> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)

>>
>>         at 
>> org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:237)
>>         at org.apache.cocoon.Main.main(Main.java:374)
>>         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)
>> FATAL_E 2004-02-14 14:15:30.382 [        ] (): Exception caught
>> org.apache.avalon.framework.component.ComponentException: Could not 
>> find component (key [org.apache.cocoon.Processor])
>>         at 
>> org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:275)

>>
>>         at 
>> org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:315)

>>
>>         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:327)
>>         at 
>> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)

>>
>>         at 
>> org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:237)
>>         at org.apache.cocoon.Main.main(Main.java:374)
>>         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)
>>
>> ---
>> Alex
>>
>>
>> ---------------------------------------------------------------------
>> 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


Mime
View raw message