Hello all,
using was, and have a datasource configured that correctly connects through the admin console. When the code tries to establish a connection through hibernate & the datasource it throws the following error:
javax.naming.NamingException: Attempted to use a 4.0 DataSource from a 2.3 (or higher) servlet. Invalid configuration.
This call was made from a bootstrap servlet to initialize the datasource, but 99% of the other calls into the datasource sit behind an ejb tier. we get the same error.
does anybody have any ideas ?
i'd prefer to stay on the v4 datasource b/c the connection works.
the dialect we're using is
<property name="dialect">org.hibernate.dialect.DB2Dialect</property>
thanks in advance.
|