JBoss AS 5 Datasource configuration

In order to create a DataSource (so that you can use JDBC connectivity) you need to create a file ending with -ds.xml under the “deploy” directory of your server. The default Datasource file The default data source for JBoss 5 is the HypersonicDB data source. Here’s the hsqldb-ds.xml that ships with JBoss : <?xml version=”1.0″ … Read more

Demystifying Datasource JTA and XA settings on JBoss-WildFly

One topic which is often misunderstood by middleware administrators is the configuration of JTA and XA attributes and their effect on transactions. Let’s see more in practice. Basically on a JBoss AS 6/WildFly configuration you can choose three different strategies as far as transactioons are concerned: 1) Setting jta = false and Non-XA datasource <datasource jta=”false” … Read more

Creating a Datasource on WildFly using the Web Console

Creating a Datasource for WildFly 9 is a pretty simple task thanks to the templating wizard that is included on the Web console. First of all you need to download WildFly from http://wildfly.org/downloads/ Let’s see how to configure an Oracle 12c Connection using the ojdbc7.jar Driver. There are multiple strategies for configuring a Datasource, the faster one … Read more

JBoss AS 7 deployable datasources

  JBoss AS 7.1.1 has been released and one of its appealing news is the “resurrection” of the earlier -ds.xml datasources which can now be deployed as a standalone resource or even as part of an application. We have to admit, we were missing it. Although configuring a datasource with AS7 just requires a few … Read more