Before you install the IBM® UrbanCode Release server, create an Oracle database. Ideally the database is installed on a computer other than the one where the server is located.
When you install IBM UrbanCode Release , you need the connection information, and a user account with at least these minimum privileges:
RESOURCE, CONNECT, CREATE SESSION, and CREATE TABLE.
IBM UrbanCode Release supports the following editions:
Oracle Database Enterprise
Oracle Database Standard
Oracle Database Standard One
Oracle Database Express®
Version 10g or later is supported for each edition.
To install the database, take the following steps.
Obtain the Oracle JDBC driver. The JDBC JAR file is included among the Oracle installation files. The driver is unique to the edition you are using.
Copy the JDBC JAR file to tomcat_directory\lib.
Modify the following parameters in the server.properties file:
database.type=oracle
hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
hibernate.connection.username=<user_name>
hibernate.connection.password=<urelease>
hibernate.connection.url=dbc:oracle:thin:@<db_server>:<port>:<SID>;
Database configuration is done by modifying parameters in the server.properties file that is in user_home_directory/.urbancode/urelease/conf. On UNIX, the user_home_directory is /home; on Windows it is determined by the user profile, which typically is \Users\current_user. Because IBM UrbanCode Release is deployed as a Tomcat web application, the conf file will not be created until IBM UrbanCode Release is deployed, which means that the configuration changes cannot be made until after initial deployment.
A typical hibernate.connection.url might be:
jdbc:oracle:thin:@localhost:1521:XE
Initially, the password contains an encrypted string. Overwrite the string with the new password. The first time the password is entered it will be plain text, but will be encrypted the next time IBM UrbanCode Release starts.
When you are finished, restart the Tomcat server.
Set the database schema to use as the user's default schema.