With this much info I'd guess there is a bug in the Oracle 8i driver.
Could you please tell me which version of Oracle Driver you're using. I'm also facing a similar problem... I'm not able to get a connection object through XA datasource.. I've posted a new Subject in the following link: http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= you've got around this problem, you might be able to help me out. Thanks.