Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Environment Variable on linux

 Hi

I am currently busy with a Jazz installation on Linux. I am stuck on this step:

e. Create an environment variable named SQLSERVER_JDBC_DRIVER_FILE and point to the sqljdbc4.jar JDBC driver. The location of the driver varies depending on your
installation.
i. Open a shell window.
ii. Enter the following environment variable declaration:
SQLSERVER_JDBC_DRIVER_FILE =.:Path_to_JDBC_dirver/sqljdbc4.jar

Is there any documentation on how to do this properly? 

Thanks

Leesen

0 votes



One answer

Permanent link
The location of your JDBC driver depends on which Database you're using in your backend.
So, first of all you should figure out which database you use, and obtain a JDBC driver for it.

As an example, let's say you obtained the appropriate JDBC driver for your database and it resides at
/opt/db/driver/sqljdbc4.jar

Once this is settled, setting an environment variable in Linux can be done multiple ways.
To set it permanently for the user that will run the RTC server later (For example 'rtcuser')

Edit the file:
/home/rtcuser/.bashrc
Append the line:
export SQLSERVER_JDBC_DRIVER_FILE=/opt/db/driver/sqljdbc4.jar

Make your change active for the current shell:
source /home/rtcuser/.bashrc

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 2,357
× 1,700

Question asked: Jun 18 '15, 9:05 a.m.

Question was seen: 3,797 times

Last updated: Jun 18 '15, 9:57 a.m.

Confirmation Cancel Confirm