IBMStreams/streamsx.jdbc

db2 installation folder was not specified in the script

imv7 opened this issue · 3 comments

imv7 commented

Hello,

https://github.com/IBMStreams/streamsx.jdbc/wiki/How-to-setup-a-SSL-configuration-in-DB2-and-in-JDBC-toolkit

The instance had not DB2 Install folder, or any other folder with the keytool tool, in it's $PATH variable and it caused the error on line 50: keytool could not be found.

Usually, the keytool is also in:

  • <DB2INSTALL_FOLDER_VERSION>/java/jdk64/bin/keytool
  • <DB2INSTALL_FOLDER_VERSION>/java/jdk64/jre/bin/keytool

Hi Igor
The keytool is a part of JDK package.
If you have installed any JDK on your Db2 Server you can add the following line to your .bashrc file.
Add export PATH=$PATH:/path/to/jre/bin to your .bashrc file.
Or
export PATH=$PATH:$DB2INSTALL_FOLDER_VERSION/java/jdk64/bin/
I will write a hint about the path of keytool in the WiKi.
Thank you.

The documentation in wiki upgraded with a hint about the path of keytool.

https://github.com/IBMStreams/streamsx.jdbc/wiki/How-to-setup-a-SSL-configuration-in-DB2-and-in-JDBC-toolkit

The documentation in wiki upgraded with a hint about the path of keytool.

https://github.com/IBMStreams/streamsx.jdbc/wiki/How-to-setup-a-SSL-configuration-in-DB2-and-in-JDBC-toolkit