jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aparna Chaudhary <aparna.chaudh...@gmail.com>
Subject Re: configure persistence manager URL parameter dynamically
Date Tue, 30 Aug 2011 06:38:33 GMT
Hi Matthew,

Jackrabbit supports configuration variables in repository.xml. You can set
the DB URL using configuration variable of the form ${repo.db.url} and use
the system property for resolution.

See https://issues.apache.org/jira/browse/JCR-1304 and


On Mon, Aug 29, 2011 at 9:09 PM, Matthew Reeves <mreeves@datranmedia.com>wrote:

> I've been searching the documentation for a couple days and while I've been
> able to figure out how to configure a persistence manager statically via the
> repository.xml file, I haven't yet seen anything explaining how to configure
> the URL parameter dynamically or within the application code.
> Is it possible when creating a TransientRepository to pass in properties
> otherwise defined in the repository.xml file?  Or perhaps
> creating/configuring an MSSqlPersistenceManager object with the URL property
> set in the application code?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message