I have written a custom server login module that extends AbstractServerLoginModule. I have been using it for about 6 months with no troubles. I recently added some code to write an access log row to a database table. After adding the code the module continues to perform the login without any problems however the row never appears in the database table.
After a little research and SQL profiling, I discovered that a rollback it being envoked after the login is completed and thus removing the row from the database.
The datasource is managed by a XATxConnectionManager
I am using JDK1.4.1, Jboss 3.0.0 and Opta2000 (4.18) against SQLServer 2000.
Any help will be appreciated.
Ignore the post above. Problem solved. I learned a lot more about XADataSources.