Please try the following.
try {
URLFactory urlFactory = (URLFactory)this.manager.lookup(URLFactory.ROLE);
URL url = urlFactory.getURL("context://resources/entities/catalog");
} catch (Exception e) {
log.error("cannot obtain the URLFactory", e);
throw new SAXException ("cannot obtain the URLFactory", e);
} finally {
if(urlFactory != null) this.manager.release((Component)urlFactory);
}
Thanks,
dims
> The only configuration information that we need to know
> is the full run-time pathname to the default catalog
> file which will be at webapps/cocoon/resources/entities/catalog
> We should leave the CatalogManager.properties file for
> local configuration.
>
> Any clues on how to determine that pathname are appreciated.
> cheers, david
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]