jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes XAPool throwing NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "XAPool throwing NullPointerException" Watch "XAPool throwing NullPointerException" New topic

XAPool throwing NullPointerException

Bhupinder Dhillon
Ranch Hand

Joined: Oct 12, 2000
Posts: 124
I hope someone has used this pool manager before and can help me. I'm trying to create a GenericPool for XADataSource but it's throwing NullPointerException at pool.start(). Here's what I've got so far:

It's supposed to work like this:
Create XADataSource
Create StandardXAPoolDataSource and pass the XADataSource to it
Create a GenericPool and pass the StandardXAPoolDataSource to constructor
Start the pool
That's all there should be but I can't figure out where I'm going wrong. Here's the API docs for the pool XAPool 1.3
I agree. Here's the link: http://aspose.com/file-tools
subject: XAPool throwing NullPointerException
Similar Threads
yet another question about GC... does Exceptions get g. collected?
Why I can't catch NumberFormatException in the tableModel
Lost properties
a mistake for bean