Hey All,
  I'm using the OracleFileSystem and OraclePersistenceManager to configure
Jackrabbit to connect to an Oracle database.  The issue I'm having is that
when writing the repository.xml for this I cannot successfully connect
without hard coding the user and password into the file.  I'd like to make
that a bit more dynamic as my component could be connecting to a variety of
Oracle databases and the user/password will vary.  I saw documentation on
how to move that information out to a server.xml[1] if my application is
running on Tomcat.  However my component won't always be running in that
manner.

I could write logic to do my own variable substitution but I was wondering
if there was another alternative to putting that information in an external
location and Jackrabbit picking it up.  Or if there is a way of
programatically specifying it.

Thanks for your help,
Micah

[1] -http://wiki.apache.org/jackrabbit/JackRabbitOnTomcat
[2] - http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/

Reply via email to