This is a guide for how to configure Oracle SOA Suite 11g to a JD Edwards ERP8 running on AS400 (iSeries). You will need to do these steps to setup your runtime environment.
- Download/extract IBM Toolkit for Java/JTOpen.
- Create a new directory, C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\as400
- Copy the jt400.jar to C:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\as400\jt400.jar
- Edit C:\Oracle\Middleware\wlserver_10.3\common\bin\commEnv.cmd
- Append the new jar file in step (3) to the WEBLOGIC_CLASSPATH
- Restart both AdminServer and soa_server1.
- Goto Oracle Weblogic Administration Console (http://localhost:7001/console/)
- Navigate to soa_domain > Services > JDBC > Data Sources
- Add new JDBC Data Source, Name = AS400Connection, JNDI Name = jdbc/AS400Connection, Database Type = DB2 for i5/OS
- Database Driver as JTOpen's DB2 for i5/OS Driver (Type 4) IBM Toolkit for Java; Version 8.X, 9.X
- If you choose non-XA, remember to uncheck Supports Global Transactions.
- When prompted for the database port number, put in a temporary port as 60000.
- On the Test Database Connection screen, make sure you overwrite the database URL to match your environment, ie. jdbc:as400://JDESERVER;naming=DATASOURCE;errors=full.
- Deploy to target server soa_server1.
- If test connection failed with the error message "Cannot load driver: com.ibm.as400.access.AS400JDBCDriver", then repeat step (2) - (6)
- Next, create a new Outbound Connection Pool Configuration, Interface Name = javax.resource.cci.ConnectionFactory, JNDI Name = eis/DB/AS400Connection, dataSourceName = jdbc/AS400Connection.
- Save and run Update action on DBAdapter
- Done!