manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > Database Configuration
Date Thu, 03 May 2012 22:33:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: Database Configuration (https://cwiki.apache.org/confluence/display/CONNECTORS/Database+Configuration)


Edited by Karl Wright:
---------------------------------------------------------------------
*Initial Author's note:* There are a lot of tidbits scattered around the documentation, but
I'm finding it difficult to find all the places to configure things so that manifold will
run on my development desktop (where the DB get's used for lots of things, and it can't have
the whole thing, and I want it to play in the user/schema I define). I'm going to collect
some of the scattered bits I have found and hope that someone else who actually knows where
the all the handles are can edit this and make it authoritative. Until then, UAYOR/YMMV.

h1. Database Connection Properties

Properties are set in the [xml properties file|file:///C:/RUP/services/manifoldcf-0.5-incubating/doc/en_US/how-to-build-and-deploy.html#The+ManifoldCF+configuration+file]
that configures manifold.

h2. Generic Properties

The following properties are used to create a database instance in the Quick-Start and Multiprocess
examples, and thus must have database super-user abilities:
{code}
<property name="org.apache.manifoldcf.dbsuperusername" value="postgres"/>
<property name="org.apache.manifoldcf.dbsuperuserpassword" value="*******"/>
{code}
These properties are not used anywhere else; if you are using commands to initialize the database
you would supply similar credentials to the DBCreate command.

Actual access to an already-created instance uses the following properties:

{code}
<property name="org.apache.manifoldcf.database.username" value="myuser"/>
<property name="org.apache.manifoldcf.database.password" value="secret"/>
{code}

When the database instance is created through whatever means described above, the values in
the second set of properties are what are used to initialize the user meant to access the
instance.

h2. PostgreSQL Properties

{code}
<property name="org.apache.manifoldcf.databaseimplementationclass" value="org.apache.manifoldcf.core.database.DBInterfacePostgreSQL"/>
{code}

h2. Derby Properties
{code}
<property name="org.apache.manifoldcf.databaseimplementationclass" value="org.apache.manifoldcf.core.database.DBInterfaceDerby"/>
{code}

Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action
   

Mime
View raw message