Well, using my psychic abilities to magically determine which version of jboss you are using, since you decline to provide even the most basic and obvious information about your setup, use the one you commented out. Make sure the url will specify the pointbase driver. If pointbase supports xa use their XADataSource implementation class instead.