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 |
2 answers
vssinha wrote:
Hello 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 |
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
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.