I found a problem with the XAPoolDataSource when using MySQL. When the
datasource pool is exhausted (due to my bug) I am not getting a SQLException
that I would have expected, but a null pointer exception.

[Default] java.lang.NullPointerException
org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:
178)
[Default]       at
net.altusi.util.RootFactory.getDataSourceConnection(Unknown Source)
[Default]       at net.altusi.util.RootFactory.getConnection(Unknown Source)
[Default]       at net.altusi.hierarchy.sql.Authority.getACL(Unknown Source)

So when a pool is exhausted, what exception should I expected to gracefully
display some information for this business exception, verses a real runtime
environment problem? Or is this a bug?

Jeremy


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to