|
Setting up A PostgreSQL DatabaseOverviewPostgreSQL is a sophisticated Object-Relational DBMS, supporting almost all SQL constructs, including subselects, transactions, and user-defined types and functions. It is freely available from http://www.postgresql.org and commercial support is available.Obtaining the DriverA PostgreSQL JDBC driver is availble from: http://jdbc.postgresql.org/ Once the driver has been downloaded, the postgreSQL jar file needs to be copied ot a location accessible from uPortal (for example, /usr/local/java/postgresql/lib/ Properties ConfigurationThe uPortal build.properties may need to be modifed. Find the property called jdbcDriver and change it to point to the PostgreSQL jar file, for example: jdbcDriver.jar=./lib/postgresql.jar The uPortal rdbm.properties file (in the properties directory) may need to modified to specify the driver properties. The rdbm.properties file contains several sample entries. Uncomment (or add) the lines for the HypersonicSQL database and make whatever changes necessary to match your local database installation, For example: #### PostgreSQL The dbloader.xml properties file (also in the properties directory) may also need to be modified. This file is used by the DbLoader tool to create the uPortal database tables and populate the database. It contains several sample entries which create db-type-mappings for different databases. Find the tags for a PostgreSQL database and modify the db-version, driver-name, and driver-version as necessary. For example: <db-type-mapping> The PersonDirs.xml file (also in the properties directory) may need to be modified; This file is used if the database is to be used to provide user directory information <!-- JDBC Properties --> Loading the DatabaseLoading the database requires a couple of steps
Issues and Known Bugs |
JA-SIG Home About uPortal FAQ Download Documentation Getting Involved Code Repository Reporting Bugs License |