How to Configure an ADF Application to Connecto to an AS/400 DB?

(Doc ID 464121.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.4.0
Information in this document applies to any platform.

Goal

Question 1:
With no shared library setup for JT400.jar file (third party JDBC driver to connect to AS/400 DB), application cannot be deploy.
With shared library setup, application can now be deployed, but encounters 500 run time errors.
And if jar is added to BC4J/lib folder, no further run time failures. But it is not acceptable to add non oracle jar files to an oracle installation directory.

Complete stack trace:
500 Internal Server Error

JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module
due to the following exception:

## Detail 0 ##
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)

Question 2: Application is able to use the shared library configuration provided with the JDBC code. The JDBC connection is used directly in custom java application.

The question is how to use Datadirect JDBC Drivers.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms