running repotools results in JDBC driver not being found
Attempts to run repotools reults in a failure with the following error message:
"Please ensure that the driver is in the expected location of "C:\<JTS>\server\db2z\db2jcc.jar;..." The mentioned jar file actually is in this location. |
Accepted answer
CAUSE:
repotools interprets the entire path, including the file name as a directory name. The error message should explicitly say "db2jcc.jar is not a directory", but it doesn't. SOLUTION: change the value of your DB2_ABSPATH or DB2Z_ABSPATH environment variables to make sure the path given there does not include the driver jar file name at the end. Ralph Schoon selected this answer as the correct answer
Comments 1
Piotr Aniola
commented May 24 '13, 7:59 a.m.
created an enhancement to cover that:
|
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.