All,
I'm converting an application from 4.2.3 to 7.1.1, and am having some issues related to potentially missing or deprecated elements in the -ds.xml file. Specifically, I am seeing that the local-tx-datasource appears to be deprecated. Additionally, I cannot find the equivalent to the following elements. Are there equivalents?
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml--> | |
<metadata> | |
<type-mapping>Oracle9i</type-mapping> | |
</metadata> | |
<!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool --> | |
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name> | |
<!-- Checks the Oracle error codes and messages for fatal errors --> | |
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> |
Any help would be greatly appreciated.
Mike Van
deployment of *-ds.xml files is not recommended in AS7 (except for developer environment).
You should have a look to the wiki or documentation.