You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by gerhard <g-...@gmx.de> on 2001/06/14 18:17:28 UTC

[C2] carsten I need a hint

Hi Carsten, Devs,
I need an hint. I just getting through the CachingEventPipline class
to explore the execution of the cache. 

There is one thing I don't understand:
 you call "this.eventCache.store(..)" in line 223, then the Object is
stored in the MRUMemoryCache. 
Please don't laugh, but where do you instantiate the MRUMemoryCache? Maybe I'm a idiot :-) but I don't 
understand it. 

Cheers
Gerhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


[C2] my C1 XML is not work

Posted by Frans Thamura <ft...@yahoo.com>.
I install C2.1 dev, and work, but still get error in Employee sample.

but, all XSP, FO, PDF sample is working well.

I try to run my XML which using C1.82 syntas, and there is an error

internal servlet error.

What happen, can all of you help me? What going on, becuse i interest with
cocoon because scripting inside XML

Frans


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] carsten I need a hint

Posted by giacomo <gi...@apache.org>.
On Thu, 14 Jun 2001, gerhard wrote:

> > > Hi Carsten, Devs,
> > > I need an hint. I just getting through the CachingEventPipline class
> > > to explore the execution of the cache.
> > >
> > > There is one thing I don't understand:
> > >  you call "this.eventCache.store(..)" in line 223, then the Object is
> > > stored in the MRUMemoryCache.
> > > Please don't laugh, but where do you instantiate the MRUMemoryCache? Maybe I'm a idiot :-) but I don't
> > > understand it.
> >
> > That's the magic of Avalon components. At line 78 you'll see
> >
> >  this.eventCache = (EventCache)this.manager.lookup(Roles.EVENT_CACHE);
> >
> > and that's all about it. The Component management Framework will take
> > care of instantiation, configuration and initialisation of the
> > component.
> Ah cool, I assumed something like this. But I thought the components must be "registered"
> somewhere.

You should take a look at webapp/cocoon.xconf and cocoon.roles

Giacomo

>
> There is a lot of cool stuff in Cocoon!
>
> Congratulations for the beta!!
>
> Thanx.
>
> Cheers
> Gerhard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] carsten I need a hint

Posted by gerhard <g-...@gmx.de>.
> > Hi Carsten, Devs,
> > I need an hint. I just getting through the CachingEventPipline class
> > to explore the execution of the cache.
> >
> > There is one thing I don't understand:
> >  you call "this.eventCache.store(..)" in line 223, then the Object is
> > stored in the MRUMemoryCache.
> > Please don't laugh, but where do you instantiate the MRUMemoryCache? Maybe I'm a idiot :-) but I don't
> > understand it.
> 
> That's the magic of Avalon components. At line 78 you'll see
> 
>  this.eventCache = (EventCache)this.manager.lookup(Roles.EVENT_CACHE);
> 
> and that's all about it. The Component management Framework will take
> care of instantiation, configuration and initialisation of the
> component.
Ah cool, I assumed something like this. But I thought the components must be "registered"
somewhere.

There is a lot of cool stuff in Cocoon! 

Congratulations for the beta!!

Thanx.

Cheers
Gerhard



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] carsten I need a hint

Posted by giacomo <gi...@apache.org>.
On Thu, 14 Jun 2001, gerhard wrote:

> Hi Carsten, Devs,
> I need an hint. I just getting through the CachingEventPipline class
> to explore the execution of the cache.
>
> There is one thing I don't understand:
>  you call "this.eventCache.store(..)" in line 223, then the Object is
> stored in the MRUMemoryCache.
> Please don't laugh, but where do you instantiate the MRUMemoryCache? Maybe I'm a idiot :-) but I don't
> understand it.

That's the magic of Avalon components. At line 78 you'll see

 this.eventCache = (EventCache)this.manager.lookup(Roles.EVENT_CACHE);

and that's all about it. The Component management Framework will take
care of instantiation, configuration and initialisation of the
component.

Giacomo

>
> Cheers
> Gerhard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org