Sometimes when we do loads tests on our application (cold started) we receive an NPE from the JDBC driver (trace below).
Application runs in JBoss AS5 (5.1.0GA) and MariaDB DS is configured as Local Tx Datasource with failover active.
Just restarting the load test seems to fix the problem. Possibly this could be a "cold-start-initial config-race-condition"?
CentOS 6.7, JBoss AS 5 (Managed connections)