Thank you for your reply,
I have made connection with simple datasource,
but xa datasource it is impossible , what do you think I am using the same method for both types
jdbc:as400://122.212.243.75/mgolib;naming=sql;errors=full
I am using this for both connection, what do you think