Skip to main content

Configuring an Oracle database for use with IBM Rational Quality Manager

Manesh Kaniti (makaniti@in.ibm.com), Senior Test Engineer, IBM
Photo of Manesh         Kaniti
Manesh Kaniti is a senior software engineer at IBM, India. He has more than seven years of experience in testing and extensive experience with IBM Rational software, including Rational Quality Manager, Rational Functional Tester, Rational Performance Tester for SOA Quality, Rational Clear Quest, and Rational ClearCase.

Summary:  Learn how to configure an Oracle database server for use with IBM® Rational® Quality Manager and create a table on the Oracle database server.

Date:  30 Jul 2009
Level:  Intermediate PDF:  A4 and Letter (401KB | 9 pages)Get Adobe® Reader®
Activity:  2172 views

Follow these instructions to configure an Oracle 10 GB database for use with IBM® Rational® Quality Manager.

Points to consider:

  • Oracle can be installed on a dedicated database server or on the same machine where Rational Quality Manager is installed.
  • To ensure proper handling of Unicode content, the database character set must use UTF-8 encoding.
  • The person who performs the configuration must have system administration authority on the Oracle database.

Create an Oracle database

  1. On the Oracle server machine, start the Database Configuration Assistant and create a new database.
  2. To improve database performance, create an Oracle table space of at least 1 GB at an appropriate location on the Oracle server (see Listing 1).

Listing 1. Create an Oracle table space (example)
CREATE BIGFILE TABLESPACE oracle_tbs DATAFILE 
’c:\oracle_tbs\oracle_tbs.dbf
Size 1 GB AUTOEXTEND ON EXTENT MANAGEMENT LOCAL AUTOALLOCATE

  1. Create a special Oracle database user for Rational Quality Manager (see Listing 2).

Listing 2. Create a database user (example)
CREATE USER RQMDBUser IDENTIFIED BY RQMDBpswd DEFAULT TABLESPACE oracle_tbs

In the example in Listing 2, the user name is RQMDBUser and the password (identified in Oracle terms), is RQMDBpswd.

  1. After you create RQMDBUser, grant the user the system permissions necessary to perform the following actions:
    1. Create a session.
    2. Create, alter, and drop tables and indexes.
    3. Insert, update, and delete from the tables created.
    4. Create sequence, procedure, and trigger
  1. Copy the ojdbc14.jar file from the Oracle machine to the Rational Quality Manager server machine.
  2. Navigate to <installation_dir>/RQM/server, and create a directory called oracle.
  3. Copy the ojdbc14.jar file into the Oracle directory (C:\Program Files\IBM\RQM\server) and then create a directory called oracle (see Figure 1).

Figure 1. Oracle directory created
Screen capture of directory folders

  1. Copy the ojdbc14.jar file to the Oracle folder (see Figure 2).

Figure 2. Java™ Archive (JAR) file in the Oracle folder
File highlighted in screen capture

  1. Find the teamserver.oracle.properties file in this path: C:\Program Files\IBM\RQM\server (see Figure 3).

Figure 3. Location of the properties file
Text file icon outlined to show location

Click to enlarge

  1. Open the teamserver.oracle.properties file, and configure the Oracle properties for either non-local host or local host, as Listing 3 shows, where:
    • RQMDBUSER is a user with appropriate database access rights.
    • RQMDB is the name of the Oracle database.
    • rqm01kn02:1521 is the IP address and port number of the Oracle server.
    • RQMDB123 is the password of the Oracle user.

Listing 3. Configure the host for the Oracle properties file
# Oracle configuration
# Comment out above lines, uncomment the following three lines and customize 
  the example location to use Oracle
com.ibm.team.repository.db.vendor = ORACLE
# localhost connection strings should not include preceding //
com.ibm.team.repository.db.jdbc.location=
thin:RQMDBUSER/{password}@rqm01kn02:1521/RQMDB
# non-localhost connection strings MUST include preceding //
com.ibm.team.repository.db.jdbc.location=
thin:RQMDBUSER/{password}@//rqm01kn02:1521/RQMDB
com.ibm.team.repository.db.jdbc.password=RQMDB123

  1. Rename the teamserver.properties file located in <installation_dir>/RQM/server (Figure 4) to teamserver.properties.BAK.

Figure 4. Rename the teamserver.properties file
shows file selected

  1. Rename the teamserver.oracle.properties file (Figure 5) to teamserver.properties.

Figure 5. Rename the teamserver.oracle.properties file
Shows file selected

  1. The repotools.bat utility file is located in the Rational Quality Manager server subdirectory: <installation_dir>/RQM/server (see Figure 6).

Example: C:\Program Files\IBM\RQM\server


Figure 6. The repotools.bat file location in the subdirectory
directory listing screen output

  1. Run the repotools.bat file for creating tables in Oracle database server as Figure 7 shows. For example:
    C:\Program Files\IBM\RQM\server>repotools -createTables

Figure 7. Screen capture of command
Shows command in the example

After the repotools.bat file runs successfully, log files will be generated and display this message: ”The database tables were created successfully.”


Listing 4. The repotools batch file log
C:\Program Files\IBM\RQM\server>repotools -createTables
Repo Tools, Version 1.0.1 - I20090211-1339
Provisioning using "C:\Program Files\IBM\RQM\server\\provision_profiles".
Rational Jazz Team Server (RQM) - Standard
Loading configuration from "file:teamserver.properties".
Attempting Initial Database Connection Using
  Db Name/Location: thin:xxxxxxxx/xxxxxxxx@// rqm01kn02:1521/ RQMDB
Initial database connection successful
  Db Product Name: Oracle
  Db Product Version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
- 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
  Db URL: jdbc:oracle:thin: RQMDBUSER/ RQMDB123@// rqm01kn02:1521/ RQMDB
  Jdbc Driver Name: Oracle JDBC driver
  Jdbc Driver Version: 10.2.0.1.0
Fulltext Index Location: workitemindex\fulltext_index\
Creating the tables for the database "thin:xxxxxxxx/xxxxxxxx@// 
rqm01kn02:1521/ RQMDB " with indices.
The database tables were created successfully.


Resources

Learn

  • Check the Rational Quality Manager page on IBM® developerWorks® for links to product documentation, articles, tutorials, courses, downloads, and other useful areas.

  • Explore the Rational Quality Manager Information Center for technical guidance.

  • Learn about other applications in the IBM Rational Software Delivery Platform, including collaboration tools for parallel development and geographically dispersed teams, plus specialized software for architecture management, asset management, change and release management, integrated requirements management, process and portfolio management, and quality management.

  • Visit the Rational software area on developerWorks for technical resources and best practices for Rational Software Delivery Platform products.

  • Explore Rational computer-based, Web-based, and instructor-led online courses. Hone your skills and learn more about Rational tools with these courses, which range from introductory to advanced. The courses on this catalog are available for purchase through computer-based training or Web-based training. Additionally, some "Getting Started" courses are available free of charge.

  • Subscribe to the Rational Edge newsletter for articles on the concepts behind effective software development.

  • Subscribe to the IBM developerWorks newsletter, a weekly update on the best of developerWorks tutorials, articles, downloads, community activities, webcasts and events.

  • Browse the technology bookstore for books on these and other technical topics.

Get products and technologies

Discuss

About the author

Photo of Manesh         Kaniti

Manesh Kaniti is a senior software engineer at IBM, India. He has more than seven years of experience in testing and extensive experience with IBM Rational software, including Rational Quality Manager, Rational Functional Tester, Rational Performance Tester for SOA Quality, Rational Clear Quest, and Rational ClearCase.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=416921
ArticleTitle=Configuring an Oracle database for use with IBM Rational Quality Manager
publish-date=07302009
author1-email=makaniti@in.ibm.com
author1-email-cc=robinw@us.ibm.com

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Rate a product. Write a review.

Special offers