Setting up local server for debugging with db2
2 answers
vssinha wrote:
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
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