An "int" is not a transactional resource :-)
Database and mail connections or jms sessions
are transaction resources that can be enlisted in
Why I cant see the reply as the index page shows last replied by warjot.
I face these problem very frequently.