It's all about the answers!

Ask a question

running repotools results in JDBC driver not being found


Piotr Aniola (3.7k11738) | asked May 24 '13, 6:52 a.m.
edited May 27 '15, 3:59 a.m.
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


permanent link
Piotr Aniola (3.7k11738) | answered May 24 '13, 6:53 a.m.
edited May 27 '15, 4:01 a.m.
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

Your answer


Register or to post 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.