cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Source Factories, Re: DO NOT REPLY [Bug 26456] - First XindiceDB is created in current directory (instead of WEB-INF?)
Date Thu, 06 May 2004 08:27:33 GMT
Ok, this is a "hidden" circular dependency. The SlideSourceFactory
looksup the repository which looks up the source resolver again.
I changed the factory to lazy lookup the repository. This fixes
the problem.

Carsten 

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] 
> Sent: Thursday, May 06, 2004 8:36 AM
> To: dev@cocoon.apache.org
> Subject: RE: Source Factories, Re: DO NOT REPLY [Bug 26456] - 
> First XindiceDB is created in current directory (instead of WEB-INF?)
> 
> Hmm, strange - will look into it.
> 
> Carsten 
> 
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim@reverycodes.com]
> > Sent: Wednesday, May 05, 2004 4:44 PM
> > To: dev@cocoon.apache.org
> > Subject: Source Factories, Re: DO NOT REPLY [Bug 26456] - First 
> > XindiceDB is created in current directory (instead of WEB-INF?)
> > 
> > bugzilla@apache.org wrote:
> > 
> > >First Xindice DB is created in current directory (instead of
> > WEB-INF?)
> > >  
> > >
> > 
> > Does anybody know why source factories are initialized twice? 
> > It can be seen on Cocoon startup:
> > 
> > ...
> > trying to register database
> > trying to register database
> > - RAMJobStore initialized.
> > ...
> > 
> > 
> > Where, "trying to register database" is coming from XML:DB 
> > DatabaseManager, which is invoked twice from the 
> XMLDBSourceFactory, 
> > which is initialized twice by the (IIRC) source resolver. I 
> can send 
> > stacktraces if it helps...
> > 
> > Vadim
> > 
> 
> 


Mime
View raw message