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

Setting up local server for debugging with db2

Hello

Can I start a local server (via jetty) which uses a db2 repository ?

What would be the -Dcom.ibm.team.repository.db.jdbc.location argument in this case ?

Also, how would I specify the password in this case ?

Thanks
- Vibha

0 votes



2 answers

Permanent link
vssinha wrote:
Hello

Can I start a local server (via jetty) which uses a db2 repository ?

What would be the -Dcom.ibm.team.repository.db.jdbc.location argument
in this case ?

Also, how would I specify the password in this case ?

Thanks
- Vibha


Hi Vibha,

I have not tried this, but I think either of the following has a good
chance of working:

1) look at the teamserver.properties file and pull out the DB2 specific
properties and use them:

-Dcom.ibm.team.repository.db.vendor=DB2
-Dcom.ibm.team.repository.db.jdbc.location=//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=db2admin;password={password};
-Dcom.ibm.team.repository.db.jdbc.password=db2admin

note the values for port, userid and password need to be adjusted for
your setup.

2) reference a teamserver.properties file which has correct settings for
DB2. If I understand how the Activator class in
com.ibm.team.server.embedded.jetty.auth works, I think you can do this with:

-Dcom.ibm.team.server.configURL=.../path/to/teamserver.properties


--
Chris Daly
Jazz Component Development Team

0 votes


Permanent link
Option 2 solves the problem. With option 1 somehow it was not able to decode the password correctly.

However, I had to remove com.ibm.repository.common.transport plugin from the target platform and import it as a project in my workspace.

- Vibha

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
× 11,084

Question asked: Jun 25 '08, 9:45 a.m.

Question was seen: 8,377 times

Last updated: Jun 25 '08, 9:45 a.m.

Confirmation Cancel Confirm