Hi,
There should be an error earlier than that (perhaps it's only logged by
JackRabbit) as you don't seem to point to a valid config file. One you should
use is for example WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml.
And you'll probably want to specify the repository home
final RepositoryConfig repositoryConfig =
RepositoryConfig.create(cfgFilePath, home);
final Repository repo = new TransientRepository(repositoryConfig);
(where home is going to be, for example,
...magnoliaAuthor/repositories/magnolia)
I suppose you're not trying to use this code to access the repository from
*within* magnolia, right ? (ie from a template model, filter, or other piece of
custom code running in Magnolia)
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=fdebd661-cbe0-4779-8625-1b4752a0d2ac
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------