I am trying to use jndi for an application that currently gets server info from a properties file. The application accesses both SQL Server and db2 on as400 (iSeries). The jndi works for SQL Server but not for the as400.
When I use:
<connection-url>
jdbc:com.ibm.as400://ppcdev;date format=iso</connection-url>
<driver-class>com.ibm.as400.access.AS400JDBCDriver</driver-class>
I get as error message: apparently wrong driver class specified for URL.
These two parameters are exactly the same as what is in the properties file, which has been working for a long time.
Any ideas why this is happening? TIA.