Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Connecting CLM v6.0.0 to DB2 on IBM i

 Hello!
I struggle to find instructions for installation and configuration of a DB2-database set on IBM i (iSeries, AS400...).
Setup is CLM v6.0.0 on Windows 2012 R2 Server, Tomcat 7, currently Derby database.

When trying to (test) connect to "DB2 on i" for migration I get error on missing drivers for com.ibm.as400.access.AS400JDBCDriver, see below.
It should apparently be installed in a directory under JazzTeamServer/server/db2i

I choose
and use a JDBC connection string as suggested (with customer paths of course)
jdbc:as400://SERVER/COLLECTION/;user=ADMIN;password={password};metadata source=1;

I think I found a driver and I placed the jar file as indicated by error message; questions are
- what is required for it to be recognized
- what is the correct version
- are there any licenses etc that needs to be setup
?

The IBM i hosts are well established in the customers environment but the Windows 2012 R2 Server that we run Jazz on is fresh out of the box, so possibly there are some IBM i integrations missing?

The configuration test resulted in errors. Resolve the errors to continue. For information about why the configuration did not pass the validity test and how to provide a valid configuration, see the other messages that are provided with this message. For more information, open the help and search for "Running the setup wizard".ID CRJAZ1579E
hide details
The following driver could not be loaded and registered: com.ibm.as400.access.AS400JDBCDriver. This JDBC driver JAR file must be provided in a path that is configured by the server scripts. Verify that the driver is in the expected location of "C:\Program Files\IBM\JazzTeamServer\server\\db2i" or consult the product setup instructions to change the location and then restart the server.ID CRJAZ1840W
The following driver could not be loaded and registered: com.ibm.as400.access.AS400JDBCDriver. This JDBC driver JAR file must be provided in a path that is configured by the server scripts. Verify that the driver is in the expected location of "C:\Program Files\IBM\JazzTeamServer\server\\db2i" or consult the product setup instructions to change the location and then restart the server.ID CRJAZ1840W

0 votes



One answer

Permanent link
  I have tried to mitigate my issues like so:
- downloaded (latest) jt400 driver for IBM Toolbox 
Q: is this not the driver version to use? In that case, which is to be used?
- created ...\db2i-directory and placed the driver jar-file there
- restarted the server
- tried the jdbc-connection to that IBM i DB2 databases by running server configuration
Got no change compared to when the driver was not in place

To me, it looks like the server startup script should be able to find it thus - but it apparently don't:

Installed driver: ...\JazzTeamServer\server\db2i\jt400-6.7.jar
Definition in server.startup.bat:
if "%DB2I_ABSPATH%"=="" goto :default_db2i 
set DB2I_JDBC=%DB2I_ABSPATH% 
goto :after_db2i 
:default_db2i 
set DB2I_JDBC=%START_DIR%\db2i 
:after_db2i
set JAVA_OPTS=%JAVA_OPTS% -DDB2I_JDBC="%DB2I_JDBC%" 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,489
× 6,117

Question asked: Mar 17 '16, 4:34 p.m.

Question was seen: 3,367 times

Last updated: Mar 18 '16, 9:19 a.m.

Confirmation Cancel Confirm