cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Portal won't start in trunk
Date Wed, 12 Oct 2005 18:23:19 GMT
Vadim Gritsenko wrote:
> Ralph Goers wrote:
> 
>>I'm getting an error saying that the ojb ConnectionFactoryImpl is not 
>>initialized.  Is there some configuration missing?
> 
> 
> To use OJB it has to be initialized first - for example by looking up 
> ...ConnectionFactory role. If you use OJB directly before this component is 
> initialized, you get exception.
> 
> Is it consequence of (non-working?) lazy mode? 
Yepp.

> Should ConnectionFactoryImpl get 
> marked as Runnable in order for it to still work in lazy mode?
Either we have to mark the configuration with the attribute
preload="true" or we have to look up the connection factory before we
use OJB. DOn't know what'S the better approach?

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message