0 Replies Latest reply on Jul 13, 2005 11:30 PM by David Carraher

    Upgrading from 2.4.4 to 4.0.x - JDBC connections

    David Carraher Newbie

      I've been giving the project of upgrading our current JBOSS version from 2.4.4 to 4.0.x. Our current configuration uses servlets that use JDBC connections (a couple to a local MSSQL server, and one to an AS/400 using IBM Client Access).

      In 2.4.4, jboss.jcml contains an entry for an XADataSourceLoader, that provides a DefaultDomain, DataSourceClass, PoolName, URL, etc. From what I've read, it appears that in 4.0.x, the database connections are done through defining DataSources, using -ds.xml files in deploy, and the appropriate jdbc.rar driver in lib.

      What isn't clear (to me, as a beginner) is how the original PoolName, URL, etc. translates into a JNDI, etc., so that the servlet can still use the data connection w/o modification to the servlet. If that is even possible.

      Can anyone point me to an example, or some documentation that spells out how this is done?