Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread David Legg
David Legg Wrote: Perhaps this behaviour is only apparent on Jetty? I intend to run it under Tomcat 5.5. It's OK! Maybe I was just a little too fast for the file system to catch-up or maybe it was due to adding the Contextualizable interface. While experimenting I waited a little longer th

Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread David Legg
Kai Mütz wrote: Does your Component implement the org.apache.avalon.framework.thread.ThreadSafe interface? Components I am working on at the moment are implementing this interface and are initialized at cocoon startup. Yes, it is a ThreadSafe component. Perhaps this behaviour is only apparen

RE: 'Hello World' for Cocoon component builders?

2005-10-17 Thread Kai Mütz
Behalf Of > David Legg > Sent: Monday, October 17, 2005 7:28 PM > To: users@cocoon.apache.org > Subject: Re: 'Hello World' for Cocoon component builders? > > > Sylvain Wallez Wrote: > >> My initialise() method is now sending a log message (strangely not at

Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread David Legg
Sylvain Wallez Wrote: My initialise() method is now sending a log message (strangely not at Cocoon boot time but the first time I access the web app). This is because initialization doesn't inevitably mean "at startup time". Depending on the case, it can also happen the first time the componen

Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread Sylvain Wallez
David Legg wrote: Thanks for all the responses. Kai Mutz wrote: Check this: http://excalibur.apache.org/developing/index.html Thanks for the link Kai. As it happens I had already read that article and it came closest to the sort of thing I was looking for. You can also have a look at htt

Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread David Legg
Thanks for all the responses. Kai Mutz wrote: Check this: http://excalibur.apache.org/developing/index.html Thanks for the link Kai. As it happens I had already read that article and it came closest to the sort of thing I was looking for. You have to define a Component as "the combination

Re: 'Hello World' for Cocoon component builders?

2005-10-17 Thread Ralph Goers
Roles are not required. They make the cocoon.xconf more readable though. Justin Fagnani wrote: I haven't done this in quite a while, but I'm pretty sure you need to add a role for your class in user.roles -Justin - To un

RE: 'Hello World' for Cocoon component builders?

2005-10-17 Thread Kai Mutz
gt; [mailto:[EMAIL PROTECTED] Behalf Of > Justin Fagnani > Sent: Monday, October 17, 2005 4:22 AM > To: users@cocoon.apache.org > Subject: Re: 'Hello World' for Cocoon component builders? > > > I haven't done this in quite a while, but I'm pretty sure you n

Re: 'Hello World' for Cocoon component builders?

2005-10-16 Thread Justin Fagnani
I haven't done this in quite a while, but I'm pretty sure you need to add a role for your class in user.roles -Justin On Oct 16, 2005, at 7:15 PM, David Legg wrote: I'm exhausted! I've spent the last week wading through terse web pages and trying everything I can think of with little to sh

'Hello World' for Cocoon component builders?

2005-10-16 Thread David Legg
I'm exhausted! I've spent the last week wading through terse web pages and trying everything I can think of with little to show for it. All I want to do is create a component that gets configured with parameters from cocoon.xconf and initialized at startup. The trouble is I seem to have fall