This seems very odd. Are you using the same connection for both inserts? Does your code work OK in a standalone app? Did you get your connection from a datasource deployed from an XADataSourceLoader?
Oops....I found my problem! It is in the deployment descriptor...it should have stated that the transaction type is container instead of bean! I guess I assumed it was container. Thanks for your help.