I've gotten errors using the connection.comit() method. If I remove the commit method everything is fine.
I would greatly appreciate any information on how JBoss manages commits or a pointer to where I should be looking in the docs - I am reading the manual :)
Post the errors rather than "I've got a problem".
Most likely you are inside a JTA transaction where manual commit() is not allowed.