Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Overview

Obtaining the Driver

The Sybase jConnect for JDBC product is available from Sybase at:

...

It is available as a download separately from the Sybase database product. Once the jConnect software is downloaded the jconn2.jar file will need to be copied into a location which is accessible from uPortal, for example:
/usr/local/java/jConnect52/lib/jconn2.jar

Properties Configuration

The uPortal build.properties may need to be modifed. Find the property called jdbcDriver and change it to point to the Sybase jar file, for example:

...

Code Block
    <!-- JDBC Properties -->
    <driver>com.sybase.jdbc2.SybDriver</driver>
    <url>jdbc:sybase:Tds://localhost/uportal</url>
    <logonid>sa</logonid>
    <logonpassword></logonpassword>,
    <uidquery>SELECT FIRST_NAME||' '||LAST_NAME AS FIRST_LAST,
    FIRST_NAME, LAST_NAME, EMAIL FROM UP_PERSON_DIR WHERE USER_NAME=?></uidquery> 

Loading the Database

Loading the database requires a couple of steps

  • Create the database: Refer to the Sybase database documentation for instructions regarding how to create an Sybase database instances. The database name, port number, and driver information must reflect what was defined in the rdbm.properties file.
  • Create the tables and populate the database: From the uPortal build directory, run "ant db" to execute the ant target which loads the database. The ant target uses the Dbloader tool.

Issues and Known Bugs