It's all about the answers!

Ask a question

Setting up local server for debugging with db2


Vibha Sinha (1643610) | asked Jun 25 '08, 9:45 a.m.
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

2 answers



permanent link
Chris Daly (61651) | answered Jun 25 '08, 5:08 p.m.
JAZZ DEVELOPER
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

permanent link
Vibha Sinha (1643610) | answered Jun 26 '08, 8:25 a.m.
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

Your answer


Register or to post your answer.