Problem During Update -addTable CLM6.0.4 to ELM7.0.2 Invalid database URL syntax com.ibm.db2.jcc.am.SqlSyntaxErrorException:
Greetings,
|
Accepted answer
Ian Barnard (2.3k●7●14)
| answered Jun 16 '22, 11:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 16 '22, 11:50 a.m. Not sure if this is the reason for your problem in 7.0.2, but it would be normal for teamserver.properties to use two lines to specify the connection string and the password separately, details below. Maybe the syntax checking of the connection string has been tightened up.
This is shown in the docs here https://www.ibm.com/docs/en/elm/7.0.2?topic=database-manually-configuring-db2
Example from a test environment where DB2 is in the same machine (localhost):
com.ibm.team.repository.db.jdbc.location=//localhost\:50000/JTS702\:user\=db2admin;password\={password};
com.ibm.team.repository.db.jdbc.password=[GIFiNqlEOhuqhIZHiC9JRg\=\=]
i.e. the password in the connection string is put as literally {password} and the actual password is specified on a separate line.
You can put the password in clear e.g.:
com.ibm.team.repository.db.jdbc.password=db2passwordcleartext
And the next time you start your JTS it will encrypt the password and update teamserver.properties.
Same for the all the other connection strings.
ANdrea Marchiori selected this answer as the correct answer
Comments
ANdrea Marchiori
commented Jun 16 '22, 12:21 p.m.
Thanks, it worked, in the old version everything was set on one line, we see that with the new versions they have increased the level of security, thank you very much
|
One other answer
|
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.